diff --git a/src/webui/www/private/index.html b/src/webui/www/private/index.html index 95262b825..8c2855988 100644 --- a/src/webui/www/private/index.html +++ b/src/webui/www/private/index.html @@ -136,9 +136,10 @@ QBT_TR(Alternative speed limits)QBT_TR - + - + + diff --git a/src/webui/www/public/css/Layout.css b/src/webui/www/public/css/Layout.css index c9d8bf7a4..b533fc2b0 100644 --- a/src/webui/www/public/css/Layout.css +++ b/src/webui/www/public/css/Layout.css @@ -420,9 +420,14 @@ div.toolbox.divider { /* Have to specify div here for IE6's sake */ background: url(../images/skin/spinner.gif) no-repeat; width: 16px; height: 16px; -} +} #desktopFooter td { vertical-align: top; - text-align: center; + text-align: left; } + +td.speedLabel { + cursor:pointer; + min-width: 18em; +} \ No newline at end of file diff --git a/src/webui/www/public/scripts/client.js b/src/webui/www/public/scripts/client.js index 2498ceeae..58caa7767 100644 --- a/src/webui/www/public/scripts/client.js +++ b/src/webui/www/public/scripts/client.js @@ -373,17 +373,15 @@ window.addEvent('load', function () { } var processServerState = function () { - var transfer_info = ""; + var transfer_info = friendlyUnit(serverState.dl_info_speed, true); if (serverState.dl_rate_limit > 0) - transfer_info += "[" + friendlyUnit(serverState.dl_rate_limit, true) + "] "; - transfer_info += friendlyUnit(serverState.dl_info_speed, true); - transfer_info += " (" + friendlyUnit(serverState.dl_info_data, false) + ")" + transfer_info += " [" + friendlyUnit(serverState.dl_rate_limit, true) + "]"; + transfer_info += " (" + friendlyUnit(serverState.dl_info_data, false) + ")"; $("DlInfos").set('html', transfer_info); - transfer_info = ""; + transfer_info = friendlyUnit(serverState.up_info_speed, true); if (serverState.up_rate_limit > 0) - transfer_info += "[" + friendlyUnit(serverState.up_rate_limit, true) + "] "; - transfer_info += friendlyUnit(serverState.up_info_speed, true) - transfer_info += " (" + friendlyUnit(serverState.up_info_data, false) + ")" + transfer_info += " [" + friendlyUnit(serverState.up_rate_limit, true) + "]"; + transfer_info += " (" + friendlyUnit(serverState.up_info_data, false) + ")"; $("UpInfos").set('html', transfer_info); if (speedInTitle) { document.title = "QBT_TR([D:%1 U:%2])QBT_TR".replace("%1", friendlyUnit(serverState.dl_info_speed, true)).replace("%2", friendlyUnit(serverState.up_info_speed, true));