- Non-default theme cleanups

- Theme and translate home page logo
This commit is contained in:
zzz
2012-04-12 17:54:44 +00:00
parent f2b228561f
commit 2d24f01831
6 changed files with 432 additions and 87 deletions

View File

@@ -26,8 +26,7 @@
<div class="routersummaryouter" id="appsummary"> <div class="routersummaryouter" id="appsummary">
<div class="routersummary"> <div class="routersummary">
<div style="height: 36px;"> <div style="height: 36px;">
<!-- fixme theme, translation --> <a href="/console"><img src="<%=intl.getTheme(request.getHeader("User-Agent"))%>images/i2plogo.png" alt="<%=intl._("I2P Router Console")%>" title="<%=intl._("I2P Router Console")%>"></a>
<a href="/console"><img src="/themes/console/light/images/i2plogo.png" alt="I2P Router Console" title="I2P Router Console"></a>
</div> </div>
<hr> <hr>
<div id="xhr"> <div id="xhr">

View File

@@ -1,3 +1,12 @@
2012-04-12 zzz
* Console:
- Try again to fix console on Windows w/o IPv6
by starting connectors individually
- Fix whitespace issues on several pages
- Prevent rare early NPE
- Non-default theme cleanups
- Theme and translate home page logo
2012-03-28 zzz 2012-03-28 zzz
* RouterInfo: Fix fatal NPE in last checkin * RouterInfo: Fix fatal NPE in last checkin

View File

@@ -620,61 +620,85 @@ th {
border-bottom: 1px solid #89f; border-bottom: 1px solid #89f;
} }
/***********************************************************************************/ /* begin home page */
#appsummary { #appsummary {
margin-top: 53px; clear: none;
float: none;
left: 10px;
margin: 0;
position: absolute;
top: 10px;
}
#homemain {
left: 217px;
margin: 0 10px 10px 0;
position: absolute;
text-align: center;
top: 10px;
}
#homenews {
margin: 0 10px 5px 0;
} }
h2.app { h2.app {
margin: 15px 10px 15px 0 !important; border-radius: 8px;
margin: 1px 10px 15px 0 !important;
} }
h4.app { h4.app {
margin: 0 10px 2px 10px;
padding: 10px 0 8px 0;
}
h4.app2 {
clear: left; clear: left;
margin: 12px 4px; margin: 0 4px 2px 0;
padding: 20px 0 8px 0; padding: 16px 0 8px 0;
text-align:center; }
div.ag2 {
margin: 0;
} }
div.app { div.app {
float: left; float: left;
padding: 8px; padding: 2px;
height: 100px; height: 84px;
width: 112px; width: 112px;
text-align:center;
} }
div.appgroup { div.appgroup {
clear: left; margin: 0;
margin: 4px 20px;
padding: 16px 8px; padding: 16px 8px;
width: auto; width: auto;
} }
div.search { div.search {
margin: 20px 20px 20px 240px; margin: 10px 10px 0 0;
padding: 8px; padding: 8px 8px 0 8px;
width: auto; width: auto;
} }
table.search { table.search {
background: none; background: none;
padding: 8px;
width: auto;
margin-left:auto; margin-left:auto;
margin-right:auto; margin-right:auto;
padding: 8px;
width: auto;
} }
img.app { img.app {
height: 40px; height: 32px;
width: 40px; width: 32px;
padding: 8px; padding: 6px;
} }
img.app2p { img.app2p {
height: 48px; height: 40px;
padding: 3px 8px; padding: 3px 6px 0 6px;
} }
table.app { table.app {
@@ -709,7 +733,7 @@ div.applabel {
text-align: center; text-align: center;
} }
/***********************************************************************************/ /* end home page */
tt { tt {
font-size: 8pt; font-size: 8pt;

View File

@@ -756,12 +756,72 @@ button, button:visited {
color: #494; color: #494;
} }
button.accept {
background: #ffe url('../images/accept.png') no-repeat 2px center;
padding: 2px 3px 2px 20px;
min-height: 22px;
}
button.add {
background: #ffe url('../images/add.png') no-repeat 2px center;
padding: 2px 3px 2px 20px;
min-height: 22px;
}
button.cancel {
background: #ffe url('../images/cancel.png') no-repeat 2px center;
padding: 2px 3px 2px 20px;
min-height: 22px;
}
button.check {
background: #ffe url('../images/tick.png') no-repeat 2px center;
padding: 2px 3px 2px 20px;
min-height: 22px;
}
button.delete {
background: #ffe url('../images/delete.png') no-repeat 2px center;
padding: 2px 3px 2px 20px;
min-height: 22px;
}
button.download {
background: #ffe url('../images/arrow_down.png') no-repeat 2px center;
padding: 2px 3px 2px 20px;
min-height: 22px;
}
button.go {
background: #ffe url('../images/arrow_right.png') no-repeat 2px center;
padding: 2px 3px 2px 20px;
min-height: 22px;
}
button.reload {
background: #ffe url('../images/arrow_refresh.png') no-repeat 2px center;
padding: 2px 3px 2px 20px;
min-height: 22px;
}
button.search {
background: #ffe url('../images/magnifier.png') no-repeat 2px center;
padding: 2px 3px 2px 20px;
min-height: 22px;
}
button.stop {
background: #ffe url('../images/stop.png') no-repeat 2px center;
padding: 2px 3px 2px 20px;
min-height: 22px;
}
button:hover { button:hover {
border: 1px solid #f60; border: 1px solid #f60;
-moz-box-shadow: inset 0px 1px 1px 0px #EE9; -moz-box-shadow: inset 0px 1px 1px 0px #EE9;
-khtml-box-shadow: inset 0px 1px 1px 0px #EE9; -khtml-box-shadow: inset 0px 1px 1px 0px #EE9;
box-shadow: inset 0px 1px 1px 0px #EE9; box-shadow: inset 0px 1px 1px 0px #EE9;
background: #000; background-color: #000;
color: #f60; color: #f60;
} }
@@ -834,8 +894,68 @@ input {
-khtml-border-radius: 4px; -khtml-border-radius: 4px;
} }
input.accept {
background: #ffe url('../images/accept.png') no-repeat 2px center;
padding: 2px 3px 2px 20px;
min-height: 22px;
}
input.add {
background: #ffe url('../images/add.png') no-repeat 2px center;
padding: 2px 3px 2px 20px;
min-height: 22px;
}
input.cancel {
background: #ffe url('../images/cancel.png') no-repeat 2px center;
padding: 2px 3px 2px 20px;
min-height: 22px;
}
input.check {
background: #ffe url('../images/tick.png') no-repeat 2px center;
padding: 2px 3px 2px 20px;
min-height: 22px;
}
input.delete {
background: #ffe url('../images/delete.png') no-repeat 2px center;
padding: 2px 3px 2px 20px;
min-height: 22px;
}
input.download {
background: #ffe url('../images/arrow_down.png') no-repeat 2px center;
padding: 2px 3px 2px 20px;
min-height: 22px;
}
input.go {
background: #ffe url('../images/arrow_right.png') no-repeat 2px center;
padding: 2px 3px 2px 20px;
min-height: 22px;
}
input.reload {
background: #ffe url('../images/arrow_refresh.png') no-repeat 2px center;
padding: 2px 3px 2px 20px;
min-height: 22px;
}
input.search[type="text"] {
background: #001 url('../images/magnifier.png') no-repeat 2px center;
padding: 2px 3px 2px 24px;
min-height: 22px;
}
input.stop {
background: #ffe url('../images/stop.png') no-repeat 2px center;
padding: 2px 3px 2px 20px;
min-height: 22px;
}
input:hover { input:hover {
background: #000; background-color: #000;
color: #f60; color: #f60;
border: 1px solid #f60; border: 1px solid #f60;
-moz-box-shadow: inset 0px 1px 1px 0px #9e9; -moz-box-shadow: inset 0px 1px 1px 0px #9e9;
@@ -843,12 +963,6 @@ input:hover {
box-shadow: inset 0px 1px 1px 0px #9e9; box-shadow: inset 0px 1px 1px 0px #9e9;
} }
input:active {
background: #000;
color: #f30;
border: 1px solid #f30;
}
input:active { input:active {
border: 1px inset #f60; border: 1px inset #f60;
background: #f60; background: #f60;
@@ -871,10 +985,6 @@ input[type=text], input[type=password] {
box-shadow: inset 1px 1px 1px 0px #000; box-shadow: inset 1px 1px 1px 0px #000;
} }
input[type=text]:active, input[type=text]:hover, input[type=password]:active, input[type=password]:hover {
background: #000;
}
fieldset { fieldset {
overflow: hidden; overflow: hidden;
position: relative; position: relative;
@@ -1068,39 +1178,65 @@ div.footnote hr{
margin-bottom: -5px; margin-bottom: -5px;
margin-right: 5px; margin-right: 5px;
} }
/***********************************************************************************/
/* begin home page */
#appsummary { #appsummary {
margin-top: 53px; clear: none;
float: none;
left: 10px;
margin: 0;
position: absolute;
top: 10px;
}
#homemain {
left: 217px;
margin: 0 10px 10px 0;
position: absolute;
top: 10px;
}
#homenews {
margin: 0 10px 5px 0;
} }
h2.app { h2.app {
margin: 15px 10px 15px 0 !important; border-radius: 8px;
margin: 1px 10px 15px 0 !important;
} }
h4.app { h4.app {
margin: 0 10px 2px 10px;
padding: 10px 0 8px 0;
}
h4.app2 {
clear: left; clear: left;
margin: 12px 4px; margin: 0 4px 2px 0;
padding: 20px 0 8px 0; padding: 16px 0 8px 0;
}
div.ag2 {
margin: 0;
} }
div.app { div.app {
float: left; float: left;
padding: 8px; padding: 2px;
height: 100px; height: 84px;
width: 112px; width: 112px;
} }
div.appgroup { div.appgroup {
clear: left; margin: 0;
margin: 4px 20px;
padding: 16px 8px; padding: 16px 8px;
width: auto; width: auto;
} }
div.search { div.search {
margin: 20px 20px 20px 240px; margin: 10px 10px 0 0;
padding: 8px; padding: 8px 8px 0 8px;
width: auto; width: auto;
} }
@@ -1113,14 +1249,14 @@ table.search {
} }
img.app { img.app {
height: 40px; height: 32px;
width: 40px; width: 32px;
padding: 8px; padding: 6px;
} }
img.app2p { img.app2p {
height: 48px; height: 40px;
padding: 3px 8px; padding: 3px 6px 0 6px;
} }
table.app { table.app {
@@ -1155,4 +1291,4 @@ div.applabel {
text-align: center; text-align: center;
} }
/***********************************************************************************/ /* end home page */

View File

@@ -628,61 +628,85 @@ th {
font-size: 8pt !important; font-size: 8pt !important;
} }
/***********************************************************************************/ /* begin home page */
#appsummary { #appsummary {
margin-top: 53px; clear: none;
float: none;
left: 10px;
margin: 0;
position: absolute;
top: 10px;
}
#homemain {
left: 217px;
margin: 0 10px 10px 0;
position: absolute;
text-align: center;
top: 10px;
}
#homenews {
margin: 0 10px 5px 0;
} }
h2.app { h2.app {
margin: 15px 10px 15px 0 !important; border-radius: 8px;
margin: 1px 10px 15px 0 !important;
} }
h4.app { h4.app {
margin: 0 10px 2px 10px;
padding: 10px 0 8px 0;
}
h4.app2 {
clear: left; clear: left;
margin: 12px 4px; margin: 0 4px 2px 0;
padding: 20px 0 8px 0; padding: 16px 0 8px 0;
text-align:center; }
div.ag2 {
margin: 0;
} }
div.app { div.app {
float: left; float: left;
padding: 8px; padding: 2px;
height: 100px; height: 84px;
width: 112px; width: 112px;
text-align:center;
} }
div.appgroup { div.appgroup {
clear: left; margin: 0;
margin: 4px 20px;
padding: 16px 8px; padding: 16px 8px;
width: auto; width: auto;
} }
div.search { div.search {
margin: 20px 20px 20px 240px; margin: 10px 10px 0 0;
padding: 8px; padding: 8px 8px 0 8px;
width: auto; width: auto;
} }
table.search { table.search {
background: none; background: none;
margin-left: auto; margin-left:auto;
margin-right:auto; margin-right:auto;
padding: 8px; padding: 8px;
width: auto; width: auto;
} }
img.app { img.app {
height: 40px; height: 32px;
width: 40px; width: 32px;
padding: 8px; padding: 6px;
} }
img.app2p { img.app2p {
height: 48px; height: 40px;
padding: 3px 8px; padding: 3px 6px 0 6px;
} }
table.app { table.app {
@@ -717,21 +741,7 @@ div.applabel {
text-align: center; text-align: center;
} }
/* end home page */
button.search {
background: #ffe url('../images/magnifier.png') no-repeat 2px center;
padding: 2px 3px 2px 20px;
min-height: 22px;
}
input.search[type="text"] {
background: #ffe url('../images/magnifier.png') no-repeat 2px center;
padding: 2px 3px 2px 24px;
min-height: 22px;
}
/***********************************************************************************/
tt { tt {
font-size: 8pt; font-size: 8pt;
@@ -834,11 +844,178 @@ div.joblog ol {
margin-bottom: 0px; margin-bottom: 0px;
} }
button, button:visited {
font: bold 9pt "Lucida Sans Unicode", "Bitstream Vera Sans", Verdana, Tahoma, Helvetica, sans-serif;
border: 1px outset #66a;
padding: 1px 3px;
background: #ffe;
text-decoration: none;
border-radius: 4px;
-moz-border-radius: 4px;
-khtml-border-radius: 4px;
font-size: 8pt;
font-weight: bold;
margin: 2px;
text-align: center;
min-width: 60px;
-moz-box-shadow: inset 0px 0px 2px 1px #fff;
-khtml-box-shadow: inset 0px 2px 8px 0px #fff;
box-shadow: inset 0px 2px 8px 0px #fff;
color: #316;
}
button.accept {
background: #ffe url('../images/accept.png') no-repeat 2px center;
padding: 2px 3px 2px 20px;
min-height: 22px;
}
button.add {
background: #ffe url('../images/add.png') no-repeat 2px center;
padding: 2px 3px 2px 20px;
min-height: 22px;
}
button.cancel {
background: #ffe url('../images/cancel.png') no-repeat 2px center;
padding: 2px 3px 2px 20px;
min-height: 22px;
}
button.check {
background: #ffe url('../images/tick.png') no-repeat 2px center;
padding: 2px 3px 2px 20px;
min-height: 22px;
}
button.delete {
background: #ffe url('../images/delete.png') no-repeat 2px center;
padding: 2px 3px 2px 20px;
min-height: 22px;
}
button.download {
background: #ffe url('../images/arrow_down.png') no-repeat 2px center;
padding: 2px 3px 2px 20px;
min-height: 22px;
}
button.go {
background: #ffe url('../images/arrow_right.png') no-repeat 2px center;
padding: 2px 3px 2px 20px;
min-height: 22px;
}
button.reload {
background: #ffe url('../images/arrow_refresh.png') no-repeat 2px center;
padding: 2px 3px 2px 20px;
min-height: 22px;
}
button.search {
background: #ffe url('../images/magnifier.png') no-repeat 2px center;
padding: 2px 3px 2px 20px;
min-height: 22px;
}
button.stop {
background: #ffe url('../images/stop.png') no-repeat 2px center;
padding: 2px 3px 2px 20px;
min-height: 22px;
}
button:hover {
border: 1px solid #f60;
background-color: #f60 !important;
color: #fff;
-moz-box-shadow: inset 0px 0px 0px 1px #fff;
-khtml-box-shadow: inset 0px 0px 0px 1px #fff;
box-shadow: inset 0px 0px 0px 1px #fff;
}
button:active {
border: 1px solid #f60;
background: #202 !important;
color: #f60;
-moz-box-shadow: inset 0px 0px 0px 1px #f60;
box-shadow: inset 0px 0px 0px 1px #f60;
-khtml-box-shadow: inset 0px 0px 0px 1px #f60;
}
input { input {
margin: 3px 5px 3px 0; margin: 3px 5px 3px 0;
vertical-align: middle; vertical-align: middle;
} }
input.accept {
background: #ffe url('../images/accept.png') no-repeat 2px center;
padding: 2px 3px 2px 20px;
min-height: 22px;
}
input.add {
background: #ffe url('../images/add.png') no-repeat 2px center;
padding: 2px 3px 2px 20px;
min-height: 22px;
}
input.cancel {
background: #ffe url('../images/cancel.png') no-repeat 2px center;
padding: 2px 3px 2px 20px;
min-height: 22px;
}
input.check {
background: #ffe url('../images/tick.png') no-repeat 2px center;
padding: 2px 3px 2px 20px;
min-height: 22px;
}
input.delete {
background: #ffe url('../images/delete.png') no-repeat 2px center;
padding: 2px 3px 2px 20px;
min-height: 22px;
}
input.download {
background: #ffe url('../images/arrow_down.png') no-repeat 2px center;
padding: 2px 3px 2px 20px;
min-height: 22px;
}
input.go {
background: #ffe url('../images/arrow_right.png') no-repeat 2px center;
padding: 2px 3px 2px 20px;
min-height: 22px;
}
input.reload {
background: #ffe url('../images/arrow_refresh.png') no-repeat 2px center;
padding: 2px 3px 2px 20px;
min-height: 22px;
}
input.search[type="text"] {
background: #001 url('../images/magnifier.png') no-repeat 2px center;
padding: 2px 3px 2px 24px;
min-height: 22px;
}
input.stop {
background: #ffe url('../images/stop.png') no-repeat 2px center;
padding: 2px 3px 2px 20px;
min-height: 22px;
}
input:hover {
background-color: #f60;
color: #fff;
border: 1px solid #f60;
opacity: 1.0;
-moz-box-shadow: inset 0px 0px 0px 1px #fff;
}
input[type=text], input[type=password] { input[type=text], input[type=password] {
margin: 3px 5px 3px 5px; margin: 3px 5px 3px 5px;
vertical-align: middle; vertical-align: middle;

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 = 25; public final static long BUILD = 26;
/** for example "-test" */ /** for example "-test" */
public final static String EXTRA = ""; public final static String EXTRA = "";