- Made transfer list sortable in Web UI

* As a default it is sorted by Name
This commit is contained in:
Christophe Dumez
2009-11-27 15:48:45 +00:00
parent 3c6635cdbe
commit 9ada7c809b
4 changed files with 114 additions and 10 deletions

View File

@@ -2,16 +2,16 @@
<thead>
<tr>
<th></th>
<th>_(Name)</th>
<th id='prioHeader'>#</th>
<th>_(Size)</th>
<th style="width: 90px;">_(Done)</th>
<th>_(Seeds)</th>
<th>_(Peers)</th>
<th>_(Down Speed)</th>
<th>_(Up Speed)</th>
<th onClick="setSortedColumn(1);" style="cursor: pointer;">_(Name)</th>
<th id='prioHeader' onClick="setSortedColumn(2);" style="cursor: pointer;">#</th>
<th onClick="setSortedColumn(3);" style="cursor: pointer;">_(Size)</th>
<th style="width: 90px;cursor: pointer;" onClick="setSortedColumn(4);">_(Done)</th>
<th onClick="setSortedColumn(5);" style="cursor: pointer;">_(Seeds)</th>
<th onClick="setSortedColumn(6);" style="cursor: pointer;">_(Peers)</th>
<th onClick="setSortedColumn(7);" style="cursor: pointer;">_(Down Speed)</th>
<th onClick="setSortedColumn(8);" style="cursor: pointer;">_(Up Speed)</th>
<th>_(ETA)</th>
<th>_(Ratio)</th>
<th onClick="setSortedColumn(10);" style="cursor: pointer;">_(Ratio)</th>
</tr>
</thead>