forked from I2P_Developers/i2p.i2p
I2PSnark: UI/theme tweaks.
This commit is contained in:
@ -254,13 +254,13 @@ public class I2PSnarkServlet extends Default {
|
||||
out.write(_("Torrent"));
|
||||
out.write("</th>\n<th align=\"center\">");
|
||||
out.write(_("ETA"));
|
||||
out.write("</th>\n<th align=\"right\">");
|
||||
out.write("</th>\n<th align=\"center\">");
|
||||
out.write(_("RX"));
|
||||
out.write("</th>\n<th align=\"right\">");
|
||||
out.write("</th>\n<th align=\"center\">");
|
||||
out.write(_("TX"));
|
||||
out.write("</th>\n<th align=\"right\">");
|
||||
out.write("</th>\n<th align=\"center\">");
|
||||
out.write(_("RX Rate"));
|
||||
out.write("</th>\n<th align=\"right\">");
|
||||
out.write("</th>\n<th align=\"center\">");
|
||||
out.write(_("TX Rate"));
|
||||
out.write("</th>\n");
|
||||
|
||||
@ -871,10 +871,10 @@ public class I2PSnarkServlet extends Default {
|
||||
out.write("<td align=\"right\" class=\"snarkTorrentStatus " + rowClass + "\">");
|
||||
if (remaining > 0) {
|
||||
if (peer.isInteresting() && !peer.isChoked()) {
|
||||
out.write("<font color=#00ee00>");
|
||||
out.write("<font color=#00ff00>");
|
||||
out.write(formatSize(peer.getDownloadRate()) + "ps</font>");
|
||||
} else {
|
||||
out.write("<font color=#ee0000><a title=\"");
|
||||
out.write("<font color=#ff0000><a title=\"");
|
||||
if (!peer.isInteresting())
|
||||
out.write(_("Uninteresting (The peer has no pieces we need)"));
|
||||
else
|
||||
@ -887,10 +887,10 @@ public class I2PSnarkServlet extends Default {
|
||||
out.write("<td align=\"right\" class=\"snarkTorrentStatus " + rowClass + "\">");
|
||||
if (pct != 100.0) {
|
||||
if (peer.isInterested() && !peer.isChoking()) {
|
||||
out.write("<font color=#00ee00>");
|
||||
out.write("<font color=#00ff00>");
|
||||
out.write(formatSize(peer.getUploadRate()) + "ps</font>");
|
||||
} else {
|
||||
out.write("<font color=#ee0000><a title=\"");
|
||||
out.write("<font color=#ff0000><a title=\"");
|
||||
if (!peer.isInterested())
|
||||
out.write(_("Uninterested (We have no pieces the peer needs)"));
|
||||
else
|
||||
|
@ -462,10 +462,11 @@ div.configsection a:hover {
|
||||
}
|
||||
|
||||
code {
|
||||
font-size: 9.5pt;
|
||||
color: #0f0;
|
||||
font-size: 9pt;
|
||||
color: #b8b;
|
||||
padding: 0 2px;
|
||||
font-weight: bold;
|
||||
font-family: "Lucida Console", "DejaVu Sans Mono", Courier, mono;
|
||||
}
|
||||
.snarknavbar {
|
||||
margin: 0 0 10px 0 !important;
|
||||
|
Reference in New Issue
Block a user