mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-01 05:08:05 -06:00
Started code reorganizing (Moved libtorrent specific files and webui files to subfolders)
This commit is contained in:
67
src/webui/html/transferlist.html
Normal file
67
src/webui/html/transferlist.html
Normal file
@@ -0,0 +1,67 @@
|
||||
<table class="torrentTable" cellpadding="0" cellspacing="0">
|
||||
<thead>
|
||||
<tr>
|
||||
<th></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 onClick="setSortedColumn(10);" style="cursor: pointer;">_(Ratio)</th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="myTable"></tbody>
|
||||
</table>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
//create a context menu
|
||||
var context_menu = new ContextMenu({
|
||||
targets: '.menu-target',
|
||||
menu: 'contextmenu',
|
||||
actions: {
|
||||
Delete: function(element,ref) {
|
||||
deleteFN();
|
||||
},
|
||||
DeleteHD: function(element,ref) {
|
||||
deleteHDFN();
|
||||
},
|
||||
Start: function(element, ref) {
|
||||
startFN();
|
||||
},
|
||||
Pause: function(element, ref) {
|
||||
pauseFN();
|
||||
},
|
||||
prioTop: function(element, ref) {
|
||||
setPriorityFN('topPrio');
|
||||
},
|
||||
prioUp: function(element, ref) {
|
||||
setPriorityFN('increasePrio');
|
||||
},
|
||||
prioDown: function(element, ref) {
|
||||
setPriorityFN('decreasePrio');
|
||||
},
|
||||
prioBottom: function(element, ref) {
|
||||
setPriorityFN('bottomPrio');
|
||||
},
|
||||
ForceRecheck: function(element, ref) {
|
||||
recheckFN();
|
||||
},
|
||||
UploadLimit: function(element, red) {
|
||||
uploadLimitFN();
|
||||
},
|
||||
DownloadLimit: function(element, red) {
|
||||
downloadLimitFN();
|
||||
}
|
||||
},
|
||||
offsets: { x:-15, y:2 }
|
||||
});
|
||||
|
||||
myTable.setup('myTable', 4, context_menu);
|
||||
|
||||
</script>
|
||||
Reference in New Issue
Block a user