mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-31 04:38:04 -06:00
- Started work on program preferences in Web UI
This commit is contained in:
@@ -23,7 +23,7 @@ initializeWindows = function(){
|
||||
new Event(e).stop();
|
||||
new MochaUI.Window({
|
||||
id: 'downloadPage',
|
||||
title: "(Download from URL)",
|
||||
title: "_(Download from URL)",
|
||||
loadMethod: 'iframe',
|
||||
contentURL:'download.html',
|
||||
scrollbars: false,
|
||||
@@ -37,6 +37,24 @@ initializeWindows = function(){
|
||||
});
|
||||
});
|
||||
|
||||
addClickEvent('preferences', function(e) {
|
||||
new Event(e).stop();
|
||||
new MochaUI.Window({
|
||||
id: 'preferencesPage',
|
||||
title: "_(Preferences)",
|
||||
loadMethod: 'iframe',
|
||||
contentURL:'preferences.html',
|
||||
scrollbars: false,
|
||||
resizable: false,
|
||||
maximizable: false,
|
||||
closable: true,
|
||||
paddingVertical: 0,
|
||||
paddingHorizontal: 0,
|
||||
width: 500,
|
||||
height: 270
|
||||
});
|
||||
});
|
||||
|
||||
addClickEvent('upload', function(e){
|
||||
new Event(e).stop();
|
||||
new MochaUI.Window({
|
||||
|
||||
Reference in New Issue
Block a user