Browse Source

Web UI: Improve usability of small devices

adaptive-webui-19844
Christophe Dumez 13 years ago
parent
commit
78bb4104b0
  1. 2
      src/webui/html/download.html
  2. 2
      src/webui/scripts/client.js

2
src/webui/html/download.html

@ -11,7 +11,7 @@
<center> <center>
<br/> <br/>
<h2 class="vcenter"><img class="vcenter" title="Download from URL" src="theme/insert-link"/>_(Download Torrents from their URL or Magnet link)</h2> <h2 class="vcenter"><img class="vcenter" title="Download from URL" src="theme/insert-link"/>_(Download Torrents from their URL or Magnet link)</h2>
<textarea name="list" id="urls" rows="10" cols="1"></textarea> <textarea id="urls" rows="10"></textarea>
<p>_(Only one link per line)</p> <p>_(Only one link per line)</p>
<input type="button" value="_(Download)" id="downButton"/> <input type="button" value="_(Download)" id="downButton"/>
</center> </center>

2
src/webui/scripts/client.js

@ -317,7 +317,7 @@ window.addEvent('load', function(){
if($defined(prop_h)) if($defined(prop_h))
prop_h = prop_h.toInt(); prop_h = prop_h.toInt();
else else
prop_h = 200; prop_h = Window.getSize().y / 2.;
new MochaUI.Panel({ new MochaUI.Panel({
id: 'propertiesPanel', id: 'propertiesPanel',
title: 'Panel', title: 'Panel',

Loading…
Cancel
Save