2009-11-23 23:16:17 +03:00
|
|
|
<table class="torrentTable" cellpadding="0" cellspacing="0">
|
|
|
|
<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>_(ETA)</th>
|
|
|
|
<th>_(Ratio)</th>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody id="myTable"></tbody>
|
|
|
|
</table>
|
2009-11-24 22:41:31 +03:00
|
|
|
|
|
|
|
<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();
|
|
|
|
},
|
|
|
|
ForceRecheck: function(element, ref) {
|
|
|
|
recheckFN();
|
|
|
|
}
|
|
|
|
},
|
|
|
|
offsets: { x:-15, y:2 }
|
|
|
|
});
|
|
|
|
|
|
|
|
myTable.setup('myTable', 4, context_menu);
|
|
|
|
|
|
|
|
</script>
|