Browse Source

Remove icon (ugly), fix localization

adaptive-webui-19844
Nikolas Garofil 12 years ago
parent
commit
6711c58ff1
  1. 2
      src/webui/html/index.html
  2. 2
      src/webui/scripts/mocha-init.js

2
src/webui/html/index.html

@ -66,7 +66,7 @@ @@ -66,7 +66,7 @@
<li><a id="aboutLink"><img class="MyMenuIcon" src="theme/help-about" width="16" height="16" onload="fixPNG(this)"/>_(&About)</a></li>
</ul>
</li>
<li><a class="returnFalse" id="shutdownLink"><!--TODO Can someone with artistic skills put a shutdown-icon here-->_(&Shutdown)</a></li>
<li><a class="returnFalse" id="shutdownLink">_(&Shutdown)</a></li>
</ul>
</div>
<div id="mochaToolbar">

2
src/webui/scripts/mocha-init.js

@ -286,7 +286,7 @@ initializeWindows = function(){ @@ -286,7 +286,7 @@ initializeWindows = function(){
addClickEvent('shutdown', function(e){
new Event(e).stop();
new Request({url: 'command/shutdown'}).send();
document.write("<?xml version=\"1.0\" encoding=\"UTF-8\"?><!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\"><html xmlns=\"http://www.w3.org/1999/xhtml\"><head><title>qBittorrent-nox has been shutdown.</title><style type=\"text/css\">body { text-align: center; }</style></head><body><h1>qBittorrent-nox has been shutdown.</h1></body></html>"); //TODO Can someone with artistic skills put a pretty webpage here
document.write("<?xml version=\"1.0\" encoding=\"UTF-8\"?><!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\"><html xmlns=\"http://www.w3.org/1999/xhtml\"><head><title>_(qBittorrent has been shutdown.)</title><style type=\"text/css\">body { text-align: center; }</style></head><body><h1>_(qBittorrent has been shutdown.)</h1></body></html>"); //TODO Can someone with artistic skills put a pretty webpage here
stop();
});

Loading…
Cancel
Save