Browse Source

Merge pull request #6818 from naikel/webui_fix

Cosmetic fixes for WebUI upload and download windows
adaptive-webui-19844
Eugene Shalygin 7 years ago committed by GitHub
parent
commit
47960b2592
  1. 4
      src/webui/www/public/download.html
  2. 4
      src/webui/www/public/scripts/mocha-init.js
  3. 4
      src/webui/www/public/upload.html

4
src/webui/www/public/download.html

@ -31,12 +31,12 @@ @@ -31,12 +31,12 @@
</div>
<div class="formRow">
<label for="start_torrent" class="leftLabelLarge">QBT_TR(Start torrent)QBT_TR[CONTEXT=AddNewTorrentDialog]</label>
<input type="checkbox" id="start_torrent" checked="checked" style="width: 16em;"/>
<input type="checkbox" id="start_torrent" checked="checked"/>
<input type="hidden" id="add_paused" name="paused" value="true" disabled="disabled"/>
</div>
<div class="formRow">
<label for="skip_checking" class="leftLabelLarge">QBT_TR(Skip hash check)QBT_TR[CONTEXT=AddNewTorrentDialog]</label>
<input type="checkbox" name="skip_checking" value="true" style="width: 16em;"/>
<input type="checkbox" name="skip_checking" value="true"/>
</div>
<div id="submitbutton" style="margin-top: 12px; text-align: center;">
<button type="submit" id="submitButton">QBT_TR(Download)QBT_TR[CONTEXT=downloadFromURL]</button>

4
src/webui/www/public/scripts/mocha-init.js

@ -57,7 +57,7 @@ initializeWindows = function() { @@ -57,7 +57,7 @@ initializeWindows = function() {
paddingVertical: 0,
paddingHorizontal: 0,
width: 500,
height: 360
height: 400
});
updateMainData();
});
@ -97,7 +97,7 @@ initializeWindows = function() { @@ -97,7 +97,7 @@ initializeWindows = function() {
paddingVertical: 0,
paddingHorizontal: 0,
width: 500,
height: 220
height: 240
});
updateMainData();
});

4
src/webui/www/public/upload.html

@ -27,12 +27,12 @@ @@ -27,12 +27,12 @@
</div>
<div class="formRow">
<label for="start_torrent" class="leftLabelLarge">QBT_TR(Start torrent)QBT_TR[CONTEXT=AddNewTorrentDialog]</label>
<input type="checkbox" id="start_torrent" checked="checked" style="width: 16em;"/>
<input type="checkbox" id="start_torrent" checked="checked"/>
<input type="hidden" id="add_paused" name="paused" value="true" disabled="disabled"/>
</div>
<div class="formRow">
<label for="skip_checking" class="leftLabelLarge">QBT_TR(Skip hash check)QBT_TR[CONTEXT=AddNewTorrentDialog]</label>
<input type="checkbox" name="skip_checking" value="true" style="width: 16em;"/>
<input type="checkbox" name="skip_checking" value="true"/>
</div>
<div id="submitbutton" style="margin-top: 30px; text-align: center;">
<button type="submit" style="font-size: 1em;">QBT_TR(Upload Torrents)QBT_TR[CONTEXT=HttpServer]</button>

Loading…
Cancel
Save