Browse Source

Web UI: Minor changes in style

adaptive-webui-19844
ngosang 10 years ago
parent
commit
7129ad47f4
  1. 4
      src/webui/www/private/index.html
  2. 5
      src/webui/www/public/addtrackers.html
  3. 4
      src/webui/www/public/css/Layout.css
  4. 21
      src/webui/www/public/css/style.css
  5. 2
      src/webui/www/public/download.html
  6. 10
      src/webui/www/public/preferences_content.html
  7. 11
      src/webui/www/public/properties_content.html

4
src/webui/www/private/index.html

@ -126,9 +126,9 @@ @@ -126,9 +126,9 @@
<td style="width: 2px;margin:0;"><img src="images/skin/toolbox-divider.gif" alt="" style="height: 18px; padding-left: 10px; padding-right: 10px; margin-bottom: -2px;"/></td>
<td style="cursor:pointer;"><img id="alternativeSpeedLimits" alt="QBT_TR(Alternative speed limits)QBT_TR" src="images/slow_off.png" /></td>
<td style="width: 2px;margin:0;"><img src="images/skin/toolbox-divider.gif" alt="" style="height: 18px; padding-left: 10px; padding-right: 10px; margin-bottom: -2px;"/></td>
<td id="DlInfos" style="cursor:pointer; min-width: 200px"></td>
<td style="cursor:pointer; min-width: 200px"><img src="images/skin/download.png" alt="" style="padding-right: 5px; margin-bottom: -4px;"><span id="DlInfos"></span></td>
<td style="width: 2px;margin:0;"><img src="images/skin/toolbox-divider.gif" alt="" style="height: 18px; padding-left: 10px; padding-right: 10px; margin-bottom: -2px;"/></td>
<td id="UpInfos" style="cursor:pointer; min-width: 200px"></td></tr>
<td style="cursor:pointer; min-width: 200px"><img src="images/skin/seeding.png" alt="" style="padding-right: 5px; margin-bottom: -3px;"><span id="UpInfos"></span></td></tr>
</table>
</div>
</div>

5
src/webui/www/public/addtrackers.html

@ -23,10 +23,11 @@ @@ -23,10 +23,11 @@
</head>
<body>
<center>
<h1 class="vcenter">QBT_TR(List of trackers to add (one per line):)QBT_TR</h1><br/>
<br/>
<h2 class="vcenter">QBT_TR(List of trackers to add (one per line):)QBT_TR</h2>
<textarea name="list" id="trackersUrls" rows="10" cols="1"></textarea>
<br/>
<a id="addTrackersButton">QBT_TR(Add)QBT_TR</a>
<input type="button" value="QBT_TR(Add)QBT_TR" id="addTrackersButton"/>
</center>
</body>
</html>

4
src/webui/www/public/css/Layout.css

@ -240,7 +240,7 @@ li.divider { @@ -240,7 +240,7 @@ li.divider {
#desktopFooter {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
font-size: 11px;
height: 24px;
padding: 6px 8px 0 8px;
background: #f2f2f2;
@ -426,4 +426,4 @@ div.toolbox.divider { /* Have to specify div here for IE6's sake */ @@ -426,4 +426,4 @@ div.toolbox.divider { /* Have to specify div here for IE6's sake */
#desktopFooter td {
vertical-align: top;
text-align: center;
}
}

21
src/webui/www/public/css/style.css

@ -350,10 +350,14 @@ ul.filterList li:hover a { @@ -350,10 +350,14 @@ ul.filterList li:hover a {
line-height: 20px;
}
#trackersTable {
line-height: 25px;
}
#addTrackersPlus {
width: 16px;
cursor: pointer;
vertical-align: middle;
margin-bottom: -3px;
}
.torrentTable th {
@ -368,6 +372,19 @@ ul.filterList li:hover a { @@ -368,6 +372,19 @@ ul.filterList li:hover a {
background-color: #eee;
}
#prop_general {
padding: 2px;
}
#watched_folders_tab {
border-collapse: collapse;
}
#watched_folders_tab td, #watched_folders_tab th {
padding: 2px 4px;
border: 1px solid black;
}
/*
* Workaround to prevent the transfer list from
* disappearing when zooming in the browser.
@ -383,4 +400,4 @@ ul.filterList li:hover a { @@ -383,4 +400,4 @@ ul.filterList li:hover a {
.combo_priority {
font-size: 1em;
}
}

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

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

10
src/webui/www/public/preferences_content.html

@ -222,7 +222,7 @@ @@ -222,7 +222,7 @@
<legend>QBT_TR(IP Filtering)QBT_TR</legend>
<input type="checkbox" id="ipfilter_enabled_checkbox" onclick="updateFilterSettings();"/>
<label for="ipfilter_enabled_checkbox">QBT_TR(IP Filtering)QBT_TR</label><br/>
<label for="ipfilter_text">QBT_TR(Filter path (.dat, .p2p, .p2b):)QBT_TR</label>
<label for="ipfilter_text" style="margin-left: 20px;">QBT_TR(Filter path (.dat, .p2p, .p2b):)QBT_TR</label>
<input type="text" id="ipfilter_text"/>
</fieldset>
</div>
@ -255,11 +255,11 @@ @@ -255,11 +255,11 @@
<label for="peer_proxy_auth_checkbox">QBT_TR(Authentication)QBT_TR</label><br/>
<div class="formRow">
<label for="peer_proxy_username_text" style="margin-left: 20px;" class="leftLabelSmall">QBT_TR(Username:)QBT_TR</label>
<label for="peer_proxy_username_text" class="leftLabelLarge">QBT_TR(Username:)QBT_TR</label>
<input type="text" id="peer_proxy_username_text" />
</div>
<div class="formRow">
<label for="peer_proxy_password_text" style="margin-left: 20px;" class="leftLabelSmall">QBT_TR(Password:)QBT_TR</label>
<label for="peer_proxy_password_text" class="leftLabelLarge">QBT_TR(Password:)QBT_TR</label>
<input type="password" id="peer_proxy_password_text" />
</div>
</fieldset>
@ -321,11 +321,11 @@ @@ -321,11 +321,11 @@
<input type="checkbox" id="use_https_checkbox" onclick="updateHttpsSettings();" />
<label for="use_https_checkbox">QBT_TR(Use HTTPS instead of HTTP)QBT_TR</label><br/>
<div class="formRow">
<label for="ssl_key_textarea" style="margin-left: 20px;" class="leftLabelSmall">QBT_TR(Key:)QBT_TR</label>
<label for="ssl_key_textarea" style="margin-left: 20px;">QBT_TR(Key:)QBT_TR</label>
<textarea id="ssl_key_textarea" rows="5" cols="70"></textarea>
</div>
<div class="formRow">
<label for="ssl_cert_textarea" style="margin-left: 20px;" class="leftLabelSmall">QBT_TR(Certificate:)QBT_TR</label>
<label for="ssl_cert_textarea" style="margin-left: 20px;">QBT_TR(Certificate:)QBT_TR</label>
<textarea id="ssl_cert_textarea" rows="5" cols="70"></textarea>
</div>
<div style="padding-left: 10px;"><a href=http://httpd.apache.org/docs/2.2/ssl/ssl_faq.html#aboutcerts>Information about certificates</a></div>

11
src/webui/www/public/properties_content.html

@ -15,13 +15,8 @@ @@ -15,13 +15,8 @@
<tr><td style="text-align:right; padding: 4px;">QBT_TR(Created on:)QBT_TR</td><td id="creation_date"></td></tr>
<tr><td style="text-align:right; padding: 4px;">QBT_TR(Piece size:)QBT_TR</td><td id="piece_size"></td></tr>
<tr><td style="text-align:right; padding: 4px;">QBT_TR(Torrent hash:)QBT_TR</td><td id="torrent_hash"></td></tr>
<tr><td style="vertical-align: top; padding: 4px; text-align:right;">
<br/>
QBT_TR(Comment:)QBT_TR
</td><td>
<textarea name="comment" id="comment" rows="15" cols="80" readonly>
</textarea>
</td></tr>
<tr><td style="vertical-align: top; padding: 4px; text-align:right;">QBT_TR(Comment:)QBT_TR</td>
<td><textarea name="comment" id="comment" rows="5" cols="80" readonly></textarea></td></tr>
</table>
<br/>
</fieldset>
@ -58,4 +53,4 @@ @@ -58,4 +53,4 @@
<tbody id="filesTable"></tbody>
</table>
</div>
</div>
</div>

Loading…
Cancel
Save