I2PSnark: Hither and yon tweaks.

This commit is contained in:
z3d
2009-07-23 17:55:26 +00:00
parent ca415376c7
commit fbb4d3a636
2 changed files with 53 additions and 15 deletions

View File

@ -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>(Router Up BW / 2 recommended)</i><br />\n");
+ _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");
out.write("Use open trackers also: <input type=\"checkbox\" name=\"useOpenTrackers\" value=\"true\" "
+ (useOpenTrackers ? "checked " : "")

View File

@ -12,29 +12,48 @@ body {
}
.snarkRefresh {
border: 1px outset #001;
padding: 1px 10px;
border: 1px outset #eef;
padding: 2px 10px;
background: #eef;
text-decoration: none;
border-radius: 4px;
-moz-border-radius: 4px;
-khtml-border-radius: 4px;
border-radius: 3px;
-moz-border-radius: 3px;
-khtml-border-radius: 3px;
font-size: 9pt;
font-weight: bold;
margin: -10px 3px 0 3px;
text-align: center;
vertical-align: middle;
text-transform: uppercase;
opacity: 0.7;
letter-spacing: 0.05em;
}
.snarkRefresh a:hover{
border: 1px inset #001;
padding: 1px 10px;
.snarkRefresh:link {
border: 1px outset #eef;
padding: 2px 10px;
background: #eef;
text-decoration: none;
border-radius: 3px;
-moz-border-radius: 3px;
-khtml-border-radius: 3px;
font-size: 9pt;
font-weight: bold;
margin: 0px 3px 0px 3px !important;
text-align: center;
vertical-align: middle;
text-transform: uppercase;
opacity: 0.7;
color: #003;
}
.snarkRefresh:hover{
border: 1px solid #eef;
padding: 2px 10px;
background: #003;
text-decoration: none;
border-radius: 4px;
-moz-border-radius: 4px;
-khtml-border-radius: 4px;
border-radius: 3px;
-moz-border-radius: 3px;
-khtml-border-radius: 3px;
font-size: 9pt;
font-weight: bold;
margin: -10px 3px 0 3px;
@ -42,6 +61,25 @@ body {
vertical-align: middle;
text-transform: uppercase;
color: #f60;
opacity: 1;
}
.snarkRefresh:visited {
border: 2px outset #eef;
padding: 1px 10px;
background: #eef;
text-decoration: none;
border-radius: 3px;
-moz-border-radius: 3px;
-khtml-border-radius: 3px;
font-size: 9pt;
font-weight: bold;
margin: 0px 3px 0px 3px !important;
text-align: center;
vertical-align: middle;
text-transform: uppercase;
opacity: 0.7;
color: #003;
}
.snarkMessages {
@ -75,7 +113,7 @@ pre {
}
table {
margin: 0px 0px 20px 0px;
margin: 0px 0px 15px 0px;
border: 0px;
padding: 0px;
border-width: 0px;
@ -198,13 +236,13 @@ select {
img {
border: none;
margin: 5px 5px 10px 5px;
margin: 5px 5px 15px 5px;
opacity: 0.6;
}
img:hover{
border: none;
margin: 5px 5px 10px 5px;
margin: 5px 5px 15px 5px;
opacity: 0.7;
}