Browse Source

- Updated version to v1.3 (WebUI)

adaptive-webui-19844
Christophe Dumez 16 years ago
parent
commit
2134d404a5
  1. 2
      src/webui/index.html
  2. 8
      src/webui/scripts/client.js

2
src/webui/index.html

@ -22,7 +22,7 @@
<div id="desktop"> <div id="desktop">
<div id="desktopHeader"> <div id="desktopHeader">
<div id="desktopTitlebar"> <div id="desktopTitlebar">
<h1 class="applicationTitle">qBittorrent Web User Interface <span class="version">version 1.2</span></h1> <h1 class="applicationTitle">qBittorrent Web User Interface <span class="version">version 1.3</span></h1>
</div> </div>
<div id="desktopNavbar"> <div id="desktopNavbar">
<ul> <ul>

8
src/webui/scripts/client.js

@ -35,10 +35,10 @@ window.addEvent('domready', function(){
height: '100%' height: '100%'
}); });
// Download list // Download list
myTable = new dynamicTable('myTable', {overCls: 'over', selectCls: 'selected', altCls: 'alt'}); myTable = new dynamicTable('myTable', {overCls: 'over', selectCls: 'selected', altCls: 'alt'});
myTableUP = new dynamicTable('myTableUP', {overCls: 'over', selectCls: 'selected', altCls: 'alt'}); myTableUP = new dynamicTable('myTableUP', {overCls: 'over', selectCls: 'selected', altCls: 'alt'});
var r=0; var r=0;
var waiting=false; var waiting=false;
var stateToImg = function(state){ var stateToImg = function(state){
switch (state) switch (state)
{ {
@ -130,7 +130,7 @@ window.addEvent('domready', function(){
} }
} }
}); });
// Remove deleted torrents // Remove deleted torrents
unfinished_hashes.each(function(hash){ unfinished_hashes.each(function(hash){
if(!events_hashes.contains(hash)) { if(!events_hashes.contains(hash)) {
myTable.removeRow(hash); myTable.removeRow(hash);

Loading…
Cancel
Save