mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-29 05:48:47 +03:00
WebUI: Fix transferlist.html indentation.
This commit is contained in:
parent
d938643c38
commit
8ff03d162d
1 changed files with 46 additions and 44 deletions
|
@ -20,48 +20,50 @@
|
|||
|
||||
<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);
|
||||
//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>
|
||||
|
|
Loading…
Reference in a new issue