Browse Source

WebUI: Fix transferlist.html indentation.

adaptive-webui-19844
Vladimir Golovnev (Glassez) 10 years ago
parent
commit
8ff03d162d
  1. 34
      src/webui/www/public/transferlist.html

34
src/webui/www/public/transferlist.html

@ -22,46 +22,48 @@ @@ -22,46 +22,48 @@
//create a context menu
var context_menu = new ContextMenu({
targets: '.menu-target',
menu: 'contextmenu',
actions: {
Delete: function(element,ref) {
targets : '.menu-target',
menu : 'contextmenu',
actions : {
Delete : function (element, ref) {
deleteFN();
},
DeleteHD: function(element,ref) {
DeleteHD : function (element, ref) {
deleteHDFN();
},
Start: function(element, ref) {
Start : function (element, ref) {
startFN();
},
Pause: function(element, ref) {
Pause : function (element, ref) {
pauseFN();
},
prioTop: function(element, ref) {
prioTop : function (element, ref) {
setPriorityFN('topPrio');
},
prioUp: function(element, ref) {
prioUp : function (element, ref) {
setPriorityFN('increasePrio');
},
prioDown: function(element, ref) {
prioDown : function (element, ref) {
setPriorityFN('decreasePrio');
},
prioBottom: function(element, ref) {
prioBottom : function (element, ref) {
setPriorityFN('bottomPrio');
},
ForceRecheck: function(element, ref) {
ForceRecheck : function (element, ref) {
recheckFN();
},
UploadLimit: function(element, red) {
UploadLimit : function (element, red) {
uploadLimitFN();
},
DownloadLimit: function(element, red) {
DownloadLimit : function (element, red) {
downloadLimitFN();
}
},
offsets: { x:-15, y:2 }
offsets : {
x : -15,
y : 2
}
});
myTable.setup('myTable', 4, context_menu);
</script>

Loading…
Cancel
Save