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">
|
<script type="text/javascript">
|
||||||
|
|
||||||
//create a context menu
|
//create a context menu
|
||||||
var context_menu = new ContextMenu({
|
var context_menu = new ContextMenu({
|
||||||
targets: '.menu-target',
|
targets : '.menu-target',
|
||||||
menu: 'contextmenu',
|
menu : 'contextmenu',
|
||||||
actions: {
|
actions : {
|
||||||
Delete: function(element,ref) {
|
Delete : function (element, ref) {
|
||||||
deleteFN();
|
deleteFN();
|
||||||
},
|
},
|
||||||
DeleteHD: function(element,ref) {
|
DeleteHD : function (element, ref) {
|
||||||
deleteHDFN();
|
deleteHDFN();
|
||||||
},
|
},
|
||||||
Start: function(element, ref) {
|
Start : function (element, ref) {
|
||||||
startFN();
|
startFN();
|
||||||
},
|
},
|
||||||
Pause: function(element, ref) {
|
Pause : function (element, ref) {
|
||||||
pauseFN();
|
pauseFN();
|
||||||
},
|
},
|
||||||
prioTop: function(element, ref) {
|
prioTop : function (element, ref) {
|
||||||
setPriorityFN('topPrio');
|
setPriorityFN('topPrio');
|
||||||
},
|
},
|
||||||
prioUp: function(element, ref) {
|
prioUp : function (element, ref) {
|
||||||
setPriorityFN('increasePrio');
|
setPriorityFN('increasePrio');
|
||||||
},
|
},
|
||||||
prioDown: function(element, ref) {
|
prioDown : function (element, ref) {
|
||||||
setPriorityFN('decreasePrio');
|
setPriorityFN('decreasePrio');
|
||||||
},
|
},
|
||||||
prioBottom: function(element, ref) {
|
prioBottom : function (element, ref) {
|
||||||
setPriorityFN('bottomPrio');
|
setPriorityFN('bottomPrio');
|
||||||
},
|
},
|
||||||
ForceRecheck: function(element, ref) {
|
ForceRecheck : function (element, ref) {
|
||||||
recheckFN();
|
recheckFN();
|
||||||
},
|
},
|
||||||
UploadLimit: function(element, red) {
|
UploadLimit : function (element, red) {
|
||||||
uploadLimitFN();
|
uploadLimitFN();
|
||||||
},
|
},
|
||||||
DownloadLimit: function(element, red) {
|
DownloadLimit : function (element, red) {
|
||||||
downloadLimitFN();
|
downloadLimitFN();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
offsets: { x:-15, y:2 }
|
offsets : {
|
||||||
});
|
x : -15,
|
||||||
|
y : 2
|
||||||
myTable.setup('myTable', 4, context_menu);
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
myTable.setup('myTable', 4, context_menu);
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in a new issue