I2PSnark UI refinements, mostly, and some tunnels page enhancements.

This commit is contained in:
z3d
2009-07-25 05:24:37 +00:00
parent d771745981
commit 4be0af5de5
6 changed files with 89 additions and 80 deletions

View File

@ -83,8 +83,8 @@ public class I2PSnarkServlet extends HttpServlet {
out.write("<meta http-equiv=\"refresh\" content=\"60;" + req.getRequestURI() + peerString + "\">\n"); out.write("<meta http-equiv=\"refresh\" content=\"60;" + req.getRequestURI() + peerString + "\">\n");
out.write(HEADER); out.write(HEADER);
out.write("</head><body>"); 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>"); 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></table>");
out.write("<a href=\"http://forum.i2p/viewforum.php?f=21\" class=\"snarkRefresh\" target=\"_blank\">Forum</a>\n"); out.write("<div class=\"snarknavbar\"><a href=\"http://forum.i2p/viewforum.php?f=21\" class=\"snarkRefresh\" target=\"_blank\">Forum</a>\n");
Map trackers = _manager.getTrackers(); Map trackers = _manager.getTrackers();
for (Iterator iter = trackers.entrySet().iterator(); iter.hasNext(); ) { for (Iterator iter = trackers.entrySet().iterator(); iter.hasNext(); ) {
Map.Entry entry = (Map.Entry)iter.next(); Map.Entry entry = (Map.Entry)iter.next();
@ -96,7 +96,7 @@ public class I2PSnarkServlet extends HttpServlet {
baseURL = baseURL.substring(e + 1); baseURL = baseURL.substring(e + 1);
out.write("<a href=\"" + baseURL + "\" class=\"snarkRefresh\" target=\"_blank\">" + name + "</a>"); out.write("<a href=\"" + baseURL + "\" class=\"snarkRefresh\" target=\"_blank\">" + name + "</a>");
} }
out.write("</table>\n"); out.write("</div>\n");
out.write("<div class=\"mainsection\"><div class=\"snarkMessages\"><table><tr><td valign=\"top\" align=\"left\"><pre>"); out.write("<div class=\"mainsection\"><div class=\"snarkMessages\"><table><tr><td valign=\"top\" align=\"left\"><pre>");
List msgs = _manager.getMessages(); List msgs = _manager.getMessages();
for (int i = msgs.size()-1; i >= 0; i--) { for (int i = msgs.size()-1; i >= 0; i--) {

View File

@ -1,3 +1,5 @@
/* Not yet complete. Subject to flux and change. dr|z3d - 07.25.09 */
body { body {
margin: 25px 10px 0 5px; margin: 25px 10px 0 5px;
padding: 0; padding: 0;
@ -514,12 +516,14 @@ form {}
.statusnotes { .statusnotes {
font-style: italic; font-style: italic;
font-size: 8pt; font-size: 8pt;
font-color: #700; color: #eef;
text-align: center; text-align: center;
border-radius: 4px; border: 1px solid #99f !important;
-moz-border-radius: 4px; border-top: 0px !important;
-khtml-border-radius: 4px; margin: -5px 0 5px 0;
border: 0 !important; padding: 7px;
background: #004;
-moz-box-shadow: inset 0px 0px 2px 0px #99f;
} }
.joblog { .joblog {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 24 KiB

View File

@ -1,3 +1,5 @@
/* Not yet complete. Subject to flux and change. dr|z3d - 07.25.09 */
body { body {
margin: 25px 10px 0 5px; margin: 25px 10px 0 5px;
padding: 0em; padding: 0em;
@ -561,12 +563,14 @@ form {}
.statusnotes { .statusnotes {
font-style: italic; font-style: italic;
font-size: 8pt; font-size: 8pt;
font-color: #700 !important; font-color: #001 !important;
text-align: center; text-align: center;
border-radius: 4px; border: 1px solid #001 !important;
-moz-border-radius: 4px; border-top: 0 !important;
-khtml-border-radius: 4px; margin: -5px 0 5px 0;
border: 0; padding: 7px;
background: #bcf;
-moz-box-shadow: inset 0px 0px 2px 1px #eef;
} }
.joblog { .joblog {

View File

@ -1,3 +1,5 @@
/* Not yet complete. Subject to flux and change. dr|z3d - 07.25.09 */
body { body {
background-color: #eef; background-color: #eef;
color:#001; color:#001;
@ -11,65 +13,42 @@ body {
text-align: center; text-align: center;
} }
.snarkRefresh { .snarkRefresh:link, .snarkRefresh:visited {
border: 1px outset #eef; text-decoration: none !important;
padding: 2px 10px; text-transform: uppercase !important;
background: #eef; padding: 0 16px;
text-decoration: none; letter-spacing: 0.05em;
border-radius: 3px; font-weight: bold;
-moz-border-radius: 3px; font-size: 11pt;
-khtml-border-radius: 3px; color: #005;
font-size: 9pt; text-shadow: 0px 0px 1px rgba(0, 0, 148, 0.9);
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:link { .snarkRefresh:hover{
border: 1px outset #eef; text-decoration: none !important;
padding: 2px 10px; text-transform: uppercase !important;
background: #eef; padding: 0 16px;
text-decoration: none; letter-spacing: 0.05em;
border-radius: 3px; font-weight: bold;
-moz-border-radius: 3px; font-size: 11pt;
-khtml-border-radius: 3px; color: #f60;
font-size: 9pt; border-bottom: 3px solid #f60;
font-weight: bold; border-top: 3px solid #f60;
margin: 0px 3px 0px 3px !important; text-shadow: 0px 0px 1px rgba(255, 128, 0, 0.9);
text-align: center; }
vertical-align: middle;
text-transform: uppercase;
opacity: 0.7;
color: #003;
}
.snarkRefresh:hover, .snarkRefresh:hover:visited{
border: 1px solid #eef;
padding: 2px 10px;
background: #003;
text-decoration: none;
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;
color: #f60;
opacity: 1;
}
.snarkRefresh:visited { .snarkRefresh:active{
border: 1px outset #eef; text-decoration: none !important;
opacity: 0.7; text-transform: uppercase !important;
color: #003; padding: 0 16px;
background: #eef; letter-spacing: 0.05em;
} font-weight: bold;
font-size: 11pt;
color: #f30;
border-bottom: 3px solid #f30;
border-top: 3px solid #f30;
text-shadow: 0px 0px 1px rgba(255, 163, 0, 0.9);
}
.snarkMessages { .snarkMessages {
background-color: #f83; background-color: #f83;
@ -155,6 +134,7 @@ td {
.page { .page {
background-color: #fff; background-color: #fff;
color:#310; color:#310;
min-width: 700px !important;
margin: 20px; margin: 20px;
padding: 10px 20px 5px 20px; padding: 10px 20px 5px 20px;
-moz-border-radius: 4px; -moz-border-radius: 4px;
@ -226,14 +206,16 @@ select {
img { img {
border: none; border: none;
margin: 0px 5px 10px 5px; margin: 0px 5px 0px 5px;
opacity: 0.7; opacity: 1.0;
line-height: 100%
} }
img:hover{ img:hover{
border: none; border: none;
margin: 0px 5px 10px 5px; margin: 0px 5px 0px 5px;
opacity: 1; opacity: 0.5;
line-height: 100%
} }
@ -310,15 +292,34 @@ div.configsection {
padding: 10px; padding: 10px;
background: #ffe; background: #ffe;
border: 1px solid #001; border: 1px solid #001;
text-align: center;
color: #ffb; color: #ffb;
-moz-border-radius: 4px; -moz-border-radius: 4px;
-khtml-border-radius: 4px; -khtml-border-radius: 4px;
border-radius: 4px; border-radius: 4px;
-moz-box-shadow: inset 0px 0px 1px 0px #99f; -moz-box-shadow: inset 0px 0px 0px 1px #900;
word-wrap: break-word; word-wrap: break-word;
text-align: center; text-align: center;
background: #ffe url('../console/light/images/darkbluetile.png'); background: #ffe url('../console/light/images/darkbluetile.png');
font-weight: bold; /* red tile needs bold text! */ font-weight: bold; /* red tile needs bold text! */
opacity: 0.95; }
div.configsection a{
color: #f90;
}
div.configsection a:hover{
color: #f60;
text-decoration: underline;
}
.snarknavbar {
margin: 5px 0 20px 0 !important;
padding: 10px;
border: 1px solid #001;
-moz-border-radius: 4px;
-khtml-border-radius: 4px;
border-radius: 4px;
background: #eef;
-moz-box-shadow: inset 0px 0px 1px 0px #002;
background: #ddf url('../console/light/images/tabletile.png');
} }

View File

@ -18,7 +18,7 @@ public class RouterVersion {
/** deprecated */ /** deprecated */
public final static String ID = "Monotone"; public final static String ID = "Monotone";
public final static String VERSION = CoreVersion.VERSION; public final static String VERSION = CoreVersion.VERSION;
public final static long BUILD = 22; public final static long BUILD = 23;
/** for example "-test" */ /** for example "-test" */
public final static String EXTRA = "-rc"; public final static String EXTRA = "-rc";
public final static String FULL_VERSION = VERSION + "-" + BUILD + EXTRA; public final static String FULL_VERSION = VERSION + "-" + BUILD + EXTRA;