diff --git a/apps/i2psnark/java/src/org/klomp/snark/web/I2PSnarkServlet.java b/apps/i2psnark/java/src/org/klomp/snark/web/I2PSnarkServlet.java index 5121a921fd..0606635b40 100644 --- a/apps/i2psnark/java/src/org/klomp/snark/web/I2PSnarkServlet.java +++ b/apps/i2psnark/java/src/org/klomp/snark/web/I2PSnarkServlet.java @@ -84,8 +84,8 @@ public class I2PSnarkServlet extends HttpServlet { out.write("\n"); out.write(HEADER); out.write(""); - out.write("
\"I2PSnark
"); - out.write("
Forum\n"); + out.write("
"); + out.write("
I2PSnark Forum\n"); Map trackers = _manager.getTrackers(); for (Iterator iter = trackers.entrySet().iterator(); iter.hasNext(); ) { Map.Entry entry = (Map.Entry)iter.next(); @@ -116,13 +116,13 @@ public class I2PSnarkServlet extends HttpServlet { out.write("(Show Peers)
\n"); } out.write(TABLE_HEADER2); - out.write(""); + out.write(""); if (_manager.util().connected()) out.write("Stop All"); + "\" title=\"Stop all torrents and the I2P tunnel\">Stop All"); else if (snarks.size() > 0) out.write("Start All"); + "\" title=\"Start all torrents and the I2P tunnel\">Start All"); else out.write(" "); out.write("\n"); @@ -487,7 +487,7 @@ public class I2PSnarkServlet extends HttpServlet { String rowClass = (row % 2 == 0 ? "snarkTorrentEven" : "snarkTorrentOdd"); out.write(""); - out.write(""); + out.write(""); out.write(statusString + "\n\t"); out.write(""); @@ -521,7 +521,7 @@ public class I2PSnarkServlet extends HttpServlet { } out.write("\n\t"); - out.write(""); + out.write(""); if(isRunning && remainingSeconds > 0) out.write(DataHelper.formatDuration(remainingSeconds*1000)); // (eta 6h) out.write("\n\t"); @@ -541,7 +541,7 @@ public class I2PSnarkServlet extends HttpServlet { if(isRunning) out.write(formatSize(upBps) + "ps"); out.write("\n\t"); - out.write(""); + out.write(""); String parameters = "&nonce=" + _nonce + "&torrent=" + Base64.encode(snark.meta.getInfoHash()); if (showPeers) parameters = parameters + "&p=1"; @@ -566,9 +566,9 @@ public class I2PSnarkServlet extends HttpServlet { if (!peer.isConnected()) continue; out.write(""); - out.write(""); + out.write(""); out.write("\n\t"); - out.write(""); + out.write(""); String ch = peer.toString().substring(0, 4); String client; if ("AwMD".equals(ch)) @@ -587,7 +587,7 @@ public class I2PSnarkServlet extends HttpServlet { client = "Robert"; else client = "Unknown (" + ch + ')'; - out.write("" + client + "  " + peer.toString().substring(5, 9) + ""); + out.write("" + client + "  " + peer.toString().substring(5, 9) + ""); if (showDebug) out.write(" inactive " + (peer.getInactiveTime() / 1000) + "s"); out.write("\n\t"); @@ -790,11 +790,11 @@ public class I2PSnarkServlet extends HttpServlet { private static final String TABLE_HEADER = "\n" + "\n" + - "\n" + " \n" + - " \n" + + " \n" + " \n" + " \n" + " \n" + diff --git a/installer/resources/themes/console/snark.css b/installer/resources/themes/console/snark.css index a5551156fc..31bbeea403 100644 --- a/installer/resources/themes/console/snark.css +++ b/installer/resources/themes/console/snark.css @@ -47,7 +47,7 @@ body { color: #f30; border-bottom: 3px solid #f30; border-top: 3px solid #f30; - text-shadow: 0px 0px 1px rgba(255, 163, 0, 0.9); + text-shadow: 0px 0px 1px rgba(255, 32, 0, 0.5); } .snarkMessages { @@ -95,7 +95,7 @@ th { border-top: 1px outset #001; border-bottom: 1px inset #001; background: #f60 url('/themes/console/images/tabletitleorange.png') repeat-x; - text-align: right; +/* text-align: right; */ whitespace: nowrap; } @@ -107,7 +107,7 @@ th { td { padding: 5px; - text-align: right; +/* text-align: right;*/ } .snarkTorrentEven { background-color: #fb1; @@ -139,8 +139,8 @@ td { color:#310; min-width: 800px !important; /* max-width: 800px !important; */ - margin: 20px; - padding: 10px 20px 5px 20px; + margin: 10px; + padding: 10px 10px 5px 10px; -moz-border-radius: 4px; -khtml-border-radius: 4px; border-radius: 4px; @@ -224,7 +224,7 @@ img:hover{ div.section { - margin: 0 0 20px 0; + margin: 0 0 10px 0; padding: 10px; background: #ffe; border: 1px solid #001; @@ -241,7 +241,7 @@ div.section { } div.mainsection { - margin: 0 0 20px 0; + margin: 0 0 10px 0; padding: 10px; background: #ffe; border: 1px solid #001; @@ -258,7 +258,7 @@ div.mainsection { } div.newtorrentsection { - margin: 0 0 20px 0; + margin: 0 0 10px 0; padding: 10px; background: #ffe; border: 1px solid #001; @@ -275,7 +275,7 @@ div.newtorrentsection { } div.addtorrentsection { - margin: 0 0 20px 0; + margin: 0 0 10px 0; padding: 10px; background: #ffe; border: 1px solid #001; @@ -292,7 +292,7 @@ div.addtorrentsection { } div.configsection { - margin: 0 0 20px 0; + margin: 0 0 10px 0; padding: 10px; background: #ffe; border: 1px solid #001; @@ -317,7 +317,7 @@ div.configsection a:hover{ } .snarknavbar { - margin: 5px 0 20px 0 !important; + margin: 0 0 10px 0 !important; padding: 10px; border: 1px solid #001; -moz-border-radius: 4px; @@ -326,4 +326,10 @@ div.configsection a:hover{ background: #eef; -moz-box-shadow: inset 0px 0px 1px 0px #002; background: #ddf url('../console/light/images/tabletile.png'); + text-transform: uppercase !important; + letter-spacing: 0.05em; + font-weight: bold; + font-size: 11pt; + color: #001; + text-shadow: 0px 0px 1px rgba(0, 0, 148, 0.9); }
Status \n"; + "
Status \n"; private static final String TABLE_HEADER2 = "TorrentETAETADownloadedUploadedDown Rate