Web UI improvements

- Optimize translation code
- Cosmetic fixes to dialogs
- Display qBittorrent version in about dialog
This commit is contained in:
Christophe Dumez
2011-09-24 21:37:34 +03:00
parent b298f9a06e
commit 246903fa0a
11 changed files with 72 additions and 432 deletions

View File

@@ -22,7 +22,7 @@
*/
window.addEvent('domready', function(){
$('urls').focus();
$('urls').focus();
$('downButton').addEvent('click', function(e){
new Event(e).stop();
new Request({url: '/command/download', method: 'post', data: {urls: $('urls').value},

View File

@@ -71,8 +71,8 @@ initializeWindows = function(){
maximizable: false,
paddingVertical: 0,
paddingHorizontal: 0,
width: 500,
height: 150
width: 600,
height: 170
});
});
@@ -275,10 +275,10 @@ initializeWindows = function(){
new MochaUI.Window({
id: 'aboutpage',
title: 'About',
loadMethod: 'iframe',
loadMethod: 'xhr',
contentURL: 'about.html',
width: 650,
height: 400,
height: 200,
padding: 10
});
});