I2PSnark: Revert to 60 seconds refresh, replace red panel with dark blue,
revert centering of torrents table centering; fix susimail centering issues (thanks postman!)
This commit is contained in:
@ -544,7 +544,7 @@ public class SnarkManager implements Snark.CompleteListener {
|
||||
// basic validation of url
|
||||
if ((!announce.startsWith("http://")) ||
|
||||
(announce.indexOf(".i2p/") < 0)) // need to do better than this
|
||||
return "Non-i2p tracker in " + info.getName() + ", removing it from our list of trackers!";
|
||||
return "Non-i2p tracker in " + info.getName() + ", deleting it from our list of trackers!";
|
||||
List files = info.getFiles();
|
||||
if ( (files != null) && (files.size() > MAX_FILES_PER_TORRENT) ) {
|
||||
return "Too many files in " + info.getName() + " (" + files.size() + "), deleting it!";
|
||||
|
@ -80,7 +80,7 @@ public class I2PSnarkServlet extends HttpServlet {
|
||||
PrintWriter out = resp.getWriter();
|
||||
out.write(HEADER_BEGIN);
|
||||
// we want it to go to the base URI so we don't refresh with some funky action= value
|
||||
out.write("<meta http-equiv=\"refresh\" content=\"300;" + req.getRequestURI() + peerString + "\">\n");
|
||||
out.write("<meta http-equiv=\"refresh\" content=\"60;" + req.getRequestURI() + peerString + "\">\n");
|
||||
out.write(HEADER);
|
||||
out.write("</head><body>");
|
||||
out.write("<div class=\"page\"><table border=\"0\" width=\"100%\"><tr><td align=\"center\" class=\"snarkTitle\"><a href=\"" + req.getRequestURI() + peerString + "\" title=\"I2PSnark (Manual Page Refresh)\"><img src=\"/themes/console/images/i2psnark.png\" alt=\"I2PSnark Anonymous BitTorrent Client\" border=\"0\" class=\"snarklogo\"></a><br>");
|
||||
@ -734,7 +734,7 @@ public class I2PSnarkServlet extends HttpServlet {
|
||||
out.write("Total uploader limit: <input type=\"text\" name=\"upLimit\" value=\""
|
||||
+ _manager.util().getMaxUploaders() + "\" size=\"3\" maxlength=\"3\" /> peers<br />\n");
|
||||
out.write("Up bandwidth limit: <input type=\"text\" name=\"upBW\" value=\""
|
||||
+ _manager.util().getMaxUpBW() + "\" size=\"3\" maxlength=\"3\" /> KBps <i>(Half <a href=\"http://127.0.0.1:7657/config.jsp\" target=\"blank\">available bandwidth</a> recommended.)</i><br />\n");
|
||||
+ _manager.util().getMaxUpBW() + "\" size=\"3\" maxlength=\"3\" /> KBps <i>(Half <a href=\"/config.jsp\" target=\"blank\">available bandwidth</a> recommended.)</i><br />\n");
|
||||
|
||||
out.write("Use open trackers also: <input type=\"checkbox\" name=\"useOpenTrackers\" value=\"true\" "
|
||||
+ (useOpenTrackers ? "checked " : "")
|
||||
|
@ -6,7 +6,7 @@ body {
|
||||
|
||||
li {
|
||||
|
||||
color:black;
|
||||
color:#001;
|
||||
line-height:12pt;
|
||||
font-size:10pt;
|
||||
margin-left:5mm;
|
||||
@ -14,8 +14,7 @@ li {
|
||||
}
|
||||
|
||||
p {
|
||||
|
||||
color:black;
|
||||
color:#001;
|
||||
line-height:12pt;
|
||||
margin-left:5mm;
|
||||
margin-right:5mm;
|
||||
@ -49,14 +48,15 @@ span.coloured {
|
||||
p.footer {
|
||||
margin-left:10mm;
|
||||
margin-right:10mm;
|
||||
font-size:8pt;
|
||||
line-height:10pt;
|
||||
font-size:8pt;
|
||||
line-height:10pt;
|
||||
}
|
||||
|
||||
p.mailbody {
|
||||
font-family:Courier-Fixed;
|
||||
font: 10pt "Lucida Console", "DejaVu Sans Mono", Courier, mono;
|
||||
margin-left:1cm;
|
||||
margin-right:1cm;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
a {
|
||||
@ -70,7 +70,7 @@ a:hover {
|
||||
|
||||
td {
|
||||
|
||||
color:black;
|
||||
color:#001;
|
||||
line-height:12pt;
|
||||
margin-left:5mm;
|
||||
margin-right:5mm;
|
||||
@ -92,7 +92,7 @@ table.noborder {
|
||||
}
|
||||
|
||||
pre {
|
||||
font-family:Courier-Fixed;
|
||||
font: 9pt "Lucida Console", "DejaVu Sans Mono", Courier, mono;
|
||||
margin-left:1cm;
|
||||
margin-right:1cm;
|
||||
}
|
||||
@ -113,7 +113,7 @@ pre {
|
||||
}
|
||||
|
||||
table {
|
||||
text-align: center;
|
||||
text-align: justify;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
@ -121,3 +121,12 @@ th {
|
||||
font-size: 10pt;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
form {
|
||||
line-height: 160%
|
||||
}
|
||||
|
||||
.mailhead {
|
||||
font-size: 9pt;
|
||||
font-weight: bold;
|
||||
}
|
@ -114,7 +114,7 @@ th {
|
||||
border-top: 1px outset #001;
|
||||
border-bottom: 1px inset #001;
|
||||
background: #f91 url('.../console/images/tabletitleorangealt.png') repeat-x;
|
||||
text-align: center;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.SnarkTorrents {
|
||||
@ -125,7 +125,7 @@ th {
|
||||
|
||||
td {
|
||||
padding: 5px;
|
||||
text-align: center;
|
||||
text-align: left;
|
||||
}
|
||||
.snarkTorrentEven {
|
||||
background-color: #fb1;
|
||||
@ -315,10 +315,10 @@ div.configsection {
|
||||
-moz-border-radius: 4px;
|
||||
-khtml-border-radius: 4px;
|
||||
border-radius: 4px;
|
||||
-moz-box-shadow: inset 0px 0px 1px 0px #002;
|
||||
-moz-box-shadow: inset 0px 0px 1px 0px #99f;
|
||||
word-wrap: break-word;
|
||||
text-align: center;
|
||||
background: #ffe url('../console/images/redtile.png');
|
||||
background: #ffe url('../console/light/images/darkbluetile.png');
|
||||
font-weight: bold; /* red tile needs bold text! */
|
||||
opacity: 0.95;
|
||||
}
|
Reference in New Issue
Block a user