Light, ubergine & snark changes.
This commit is contained in:
@ -352,14 +352,24 @@ public class I2PSnarkServlet extends Default {
|
|||||||
out.write(" ");
|
out.write(" ");
|
||||||
// out.write(ngettext("1 connected peer", "{0} connected peers", (int) stats[4]));
|
// out.write(ngettext("1 connected peer", "{0} connected peers", (int) stats[4]));
|
||||||
|
|
||||||
out.write("<img border=\"0\" src=\"/themes/snark/" + _manager.getTheme() + "/images/head_peers.png\">");
|
out.write("<img border=\"0\" src=\"/themes/snark/" + _manager.getTheme() + "/images/head_peers.png\"");
|
||||||
|
out.write(" title=\"");
|
||||||
|
out.write(ngettext("1 connected peer", "{0} connected peers", (int) stats[4]));
|
||||||
|
out.write("\"> ");
|
||||||
out.write(ngettext("1", "{0}", (int) stats[4]));
|
out.write(ngettext("1", "{0}", (int) stats[4]));
|
||||||
out.write(" ");
|
out.write(" ");
|
||||||
// out.write(ngettext("1 torrent", "{0} torrents", snarks.size()));
|
// out.write(ngettext("1 torrent", "{0} torrents", snarks.size()));
|
||||||
out.write("<img border=\"0\" src=\"/themes/snark/" + _manager.getTheme() + "/images/head_snarks.png\">");
|
out.write("<img border=\"0\" src=\"/themes/snark/" + _manager.getTheme() + "/images/head_snarks.png\"");
|
||||||
|
out.write(" title=\"");
|
||||||
|
out.write(ngettext("1 torrent loaded", "{0} torrents loaded", snarks.size()));
|
||||||
|
out.write("\"> ");
|
||||||
out.write(ngettext("1", "{0}", snarks.size()));
|
out.write(ngettext("1", "{0}", snarks.size()));
|
||||||
out.write(" ");
|
out.write(" ");
|
||||||
out.write("<img border=\"0\" src=\"/themes/snark/" + _manager.getTheme() + "/images/head_loaded.png\">");
|
out.write("<img border=\"0\" src=\"/themes/snark/" + _manager.getTheme() + "/images/head_loaded.png\"");
|
||||||
|
out.write(" title=\"");
|
||||||
|
out.write(_("Total download size (pre-allocated): "));
|
||||||
|
out.write(DataHelper.formatSize2(stats[5]) + "B");
|
||||||
|
out.write("\"> ");
|
||||||
out.write(DataHelper.formatSize2(stats[5]) + "B");
|
out.write(DataHelper.formatSize2(stats[5]) + "B");
|
||||||
out.write("</th>\n" +
|
out.write("</th>\n" +
|
||||||
" <th> </th>\n" +
|
" <th> </th>\n" +
|
||||||
|
@ -637,10 +637,11 @@ div.main li:first-child {
|
|||||||
.tidylist code {
|
.tidylist code {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
font: 9pt "Lucida Console", "DejaVu Sans Mono", Courier, mono;
|
font: 9pt "Lucida Console", "DejaVu Sans Mono", Courier, mono;
|
||||||
color: #390;
|
color: #910;
|
||||||
padding: 2px 3px;
|
padding: 2px 3px;
|
||||||
background: #eeb;
|
background: #fff;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
background: #ffb url('images/magic.png') center bottom;
|
||||||
}
|
}
|
||||||
|
|
||||||
ol {
|
ol {
|
||||||
|
@ -170,7 +170,7 @@ tfoot td:first-child {
|
|||||||
}
|
}
|
||||||
|
|
||||||
th:first-child img {
|
th:first-child img {
|
||||||
margin: 1px 1px 3px 1px !important;
|
margin: 1px 1px 3px 3px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
th:nth-child(2) img {
|
th:nth-child(2) img {
|
||||||
@ -273,7 +273,7 @@ td:first-child {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.snarkTorrentStatus {
|
.snarkTorrentStatus {
|
||||||
padding: 2px 0 2px;
|
padding: 2px 2px 2px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.snarkTorrentStatus:first-child {
|
.snarkTorrentStatus:first-child {
|
||||||
@ -288,6 +288,7 @@ td:first-child {
|
|||||||
|
|
||||||
.snarkTorrentStatus:first-child img {
|
.snarkTorrentStatus:first-child img {
|
||||||
margin-right: 8px !important;
|
margin-right: 8px !important;
|
||||||
|
margin-left: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.snarkTorrentRateUp, .snarkTorrentRateDown, .snarkTorrentDownloaded, .snarkTorrentUploaded {
|
.snarkTorrentRateUp, .snarkTorrentRateDown, .snarkTorrentDownloaded, .snarkTorrentUploaded {
|
||||||
|
Reference in New Issue
Block a user