forked from I2P_Developers/i2p.i2p
More theme spit 'n polish. Remove redundant themes from configui.jsp
This commit is contained in:
@ -4,7 +4,7 @@ public class ConfigUIHelper extends HelperBase {
|
|||||||
public ConfigUIHelper() {}
|
public ConfigUIHelper() {}
|
||||||
|
|
||||||
public static final String PROP_THEME = "routerconsole.theme";
|
public static final String PROP_THEME = "routerconsole.theme";
|
||||||
private static final String themes[] = {"default", "classic", "dark", "defCon1", "light"};
|
private static final String themes[] = {"classic", "dark", "light"};
|
||||||
|
|
||||||
public String getSettings() {
|
public String getSettings() {
|
||||||
StringBuilder buf = new StringBuilder(512);
|
StringBuilder buf = new StringBuilder(512);
|
||||||
|
@ -27,28 +27,28 @@
|
|||||||
if (prev != null) System.setProperty("net.i2p.router.web.ConfigUpdateHandler.noncePrev", prev);
|
if (prev != null) System.setProperty("net.i2p.router.web.ConfigUpdateHandler.noncePrev", prev);
|
||||||
System.setProperty("net.i2p.router.web.ConfigUpdateHandler.nonce", new java.util.Random().nextLong()+""); %>
|
System.setProperty("net.i2p.router.web.ConfigUpdateHandler.nonce", new java.util.Random().nextLong()+""); %>
|
||||||
<input type="hidden" name="nonce" value="<%=System.getProperty("net.i2p.router.web.ConfigUpdateHandler.nonce")%>" />
|
<input type="hidden" name="nonce" value="<%=System.getProperty("net.i2p.router.web.ConfigUpdateHandler.nonce")%>" />
|
||||||
<table border="0" cellspacing="5"><tr><td valign="top"><b>News:</b><td>
|
<table border="0" cellspacing="5"><tr><td><b>News:</b><td>
|
||||||
<% if ("true".equals(System.getProperty("net.i2p.router.web.UpdateHandler.updateInProgress", "false"))) { %>
|
<% if ("true".equals(System.getProperty("net.i2p.router.web.UpdateHandler.updateInProgress", "false"))) { %>
|
||||||
<i>Update In Progress</i><br /><br />
|
<i>Update In Progress</i><br /><br />
|
||||||
<% } else { %>
|
<% } else { %>
|
||||||
<input type="submit" name="action" value="Check for update now" /><br /><br />
|
<input type="submit" name="action" value="Check for update now" /><br /><br />
|
||||||
<% } %>
|
<% } %>
|
||||||
<tr><td><td>
|
<tr><td><td>
|
||||||
<tr><td valign="top"><b>News URL:</b>
|
<tr><td><b>News URL:</b>
|
||||||
<td><input type="text" size="60" name="newsURL" value="<jsp:getProperty name="updatehelper" property="newsURL" />">
|
<td><input type="text" size="60" name="newsURL" value="<jsp:getProperty name="updatehelper" property="newsURL" />">
|
||||||
<tr><td valign="top"><b>Refresh frequency:</b>
|
<tr><td><b>Refresh frequency:</b>
|
||||||
<td><jsp:getProperty name="updatehelper" property="refreshFrequencySelectBox" />
|
<td><jsp:getProperty name="updatehelper" property="refreshFrequencySelectBox" />
|
||||||
<tr><td valign="top"><b>Update policy:</b>
|
<tr><td><b>Update policy:</b>
|
||||||
<td><jsp:getProperty name="updatehelper" property="updatePolicySelectBox" />
|
<td><jsp:getProperty name="updatehelper" property="updatePolicySelectBox" />
|
||||||
<tr><td valign="top"><b>Update through the eepProxy?</b>
|
<tr><td><b>Update through the eepProxy?</b>
|
||||||
<td><jsp:getProperty name="updatehelper" property="updateThroughProxy" />
|
<td><jsp:getProperty name="updatehelper" property="updateThroughProxy" />
|
||||||
<tr><td valign="top"><b>eepProxy host:</b>
|
<tr><td><b>eepProxy host:</b>
|
||||||
<td><input type="text" size="10" name="proxyHost" value="<jsp:getProperty name="updatehelper" property="proxyHost" />" />
|
<td><input type="text" size="10" name="proxyHost" value="<jsp:getProperty name="updatehelper" property="proxyHost" />" />
|
||||||
<tr><td valign="top"><b>eepProxy port:</b>
|
<tr><td><b>eepProxy port:</b>
|
||||||
<td><input type="text" size="4" name="proxyPort" value="<jsp:getProperty name="updatehelper" property="proxyPort" />" />
|
<td><input type="text" size="4" name="proxyPort" value="<jsp:getProperty name="updatehelper" property="proxyPort" />" />
|
||||||
<tr><td valign="top"><b>Update URLs:</b>
|
<tr><td><b>Update URLs:</b>
|
||||||
<td><textarea name="updateURL" cols="90" rows="4" wrap="off"><jsp:getProperty name="updatehelper" property="updateURL" /></textarea>
|
<td><textarea name="updateURL" cols="90" rows="4" wrap="off"><jsp:getProperty name="updatehelper" property="updateURL" /></textarea>
|
||||||
<tr><td valign="top"><b>Trusted keys:</b>
|
<tr><td><b>Trusted keys:</b>
|
||||||
<td><textarea name="trustedKeys" cols="90" rows="4" wrap="off"><jsp:getProperty name="updatehelper" property="trustedKeys" /></textarea>
|
<td><textarea name="trustedKeys" cols="90" rows="4" wrap="off"><jsp:getProperty name="updatehelper" property="trustedKeys" /></textarea>
|
||||||
<tr><td><td>
|
<tr><td><td>
|
||||||
<tr><td><td><input type="submit" name="action" value="Save" /> <input type="reset" value="Cancel" />
|
<tr><td><td><input type="submit" name="action" value="Save" /> <input type="reset" value="Cancel" />
|
||||||
|
@ -151,10 +151,12 @@ div.news {
|
|||||||
}
|
}
|
||||||
|
|
||||||
div.news li {
|
div.news li {
|
||||||
text-align: left;
|
text-align: justify;
|
||||||
list-style-type: square;
|
font-weight: bold;
|
||||||
margin: 2px 20px 0px 30px;
|
list-style-image: url(images/info_dark.png);
|
||||||
padding: 10px 20px 1px 0px;
|
margin: 0 10px 0 30px;
|
||||||
|
padding: 5px;
|
||||||
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.confignav {
|
div.confignav {
|
||||||
@ -201,6 +203,7 @@ div.messages li {
|
|||||||
margin: 0 0 0 30px !important;
|
margin: 0 0 0 30px !important;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
border: 0px !important;
|
border: 0px !important;
|
||||||
|
text-align: justify !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
table {
|
table {
|
||||||
@ -382,6 +385,7 @@ button {
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
margin: 2px 3px;
|
margin: 2px 3px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
min-width: 76px;
|
||||||
}
|
}
|
||||||
|
|
||||||
button:hover{
|
button:hover{
|
||||||
@ -390,6 +394,11 @@ button:hover{
|
|||||||
color: #ff6600;
|
color: #ff6600;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
button:active {
|
||||||
|
border: 1px inset #f60;
|
||||||
|
background-color: #f60;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
.underline {
|
.underline {
|
||||||
border-bottom: 1px solid #eeeeff;
|
border-bottom: 1px solid #eeeeff;
|
||||||
padding: 5px 0px 5px 0px;
|
padding: 5px 0px 5px 0px;
|
||||||
@ -440,8 +449,10 @@ input:hover {
|
|||||||
border: 1px solid #f60;
|
border: 1px solid #f60;
|
||||||
}
|
}
|
||||||
|
|
||||||
input:btn {
|
input:active {
|
||||||
background-color: #f00 !important;
|
background-color: #002;
|
||||||
|
color: #fff;
|
||||||
|
border: 1px solid #f60;
|
||||||
}
|
}
|
||||||
|
|
||||||
select {
|
select {
|
||||||
|
@ -23,7 +23,7 @@ div {
|
|||||||
|
|
||||||
h4, label {
|
h4, label {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 4px 2px 2px 0px;
|
padding: 4px;
|
||||||
float: left;
|
float: left;
|
||||||
width: 150px;
|
width: 150px;
|
||||||
/* height : 24px; */
|
/* height : 24px; */
|
||||||
@ -41,6 +41,7 @@ h4 {
|
|||||||
border: 1px solid #99f;
|
border: 1px solid #99f;
|
||||||
margin: 5px 0 15px 0;
|
margin: 5px 0 15px 0;
|
||||||
background: url(images/tabletitledark.png);
|
background: url(images/tabletitledark.png);
|
||||||
|
background-repeat: x;
|
||||||
background-color: #002;
|
background-color: #002;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
text-shadow: 0px 0px 2px rgba(255, 255, 255, 0.9);
|
text-shadow: 0px 0px 2px rgba(255, 255, 255, 0.9);
|
||||||
@ -162,12 +163,12 @@ hr {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.control {
|
.control {
|
||||||
margin: 0 0 0 4px;
|
margin: 0 2px 0 2px;
|
||||||
padding: 0 0 2px 0;
|
padding: 0 0 2px 0;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
width: 60px;
|
min-width: 60px;
|
||||||
font-weight: normal;
|
font-weight: bold;
|
||||||
background-color: #bbbbff;
|
background-color: #bbbbff;
|
||||||
color: black;
|
color: black;
|
||||||
border: 1px outset #ddddc0;
|
border: 1px outset #ddddc0;
|
||||||
@ -175,6 +176,8 @@ hr {
|
|||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
-moz-border-radius: 4px;
|
-moz-border-radius: 4px;
|
||||||
margin-top: 8px;
|
margin-top: 8px;
|
||||||
|
background: url(images/tabletitlelight.png);
|
||||||
|
background-repeat: x;
|
||||||
}
|
}
|
||||||
|
|
||||||
.control:link {
|
.control:link {
|
||||||
@ -185,6 +188,7 @@ hr {
|
|||||||
border: 1px solid #eeeeff;
|
border: 1px solid #eeeeff;
|
||||||
background-color: #003;
|
background-color: #003;
|
||||||
color: #ff6600;
|
color: #ff6600;
|
||||||
|
background: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.control:active {
|
.control:active {
|
||||||
@ -254,7 +258,7 @@ hr {
|
|||||||
|
|
||||||
.header {
|
.header {
|
||||||
-moz-border-radius: 4px 4px 4px 4px;
|
-moz-border-radius: 4px 4px 4px 4px;
|
||||||
border: 1px solid #ff0000;
|
border: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
a:link{
|
a:link{
|
||||||
|
BIN
installer/resources/themes/console/dark/images/help_dark.png
Normal file
BIN
installer/resources/themes/console/dark/images/help_dark.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 825 B |
BIN
installer/resources/themes/console/dark/images/info_dark.png
Normal file
BIN
installer/resources/themes/console/dark/images/info_dark.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 804 B |
Binary file not shown.
After Width: | Height: | Size: 227 B |
@ -145,6 +145,15 @@ div.news {
|
|||||||
line-height: 140%;
|
line-height: 140%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div.news li {
|
||||||
|
text-align: justify;
|
||||||
|
font-weight: bold;
|
||||||
|
list-style-image: url(images/info.png);
|
||||||
|
margin: 0 10px 0 30px;
|
||||||
|
padding: 5px;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
div.confignav {
|
div.confignav {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
margin: 0 0px 25px 0;
|
margin: 0 0px 25px 0;
|
||||||
@ -209,6 +218,10 @@ th {
|
|||||||
font-size: 8pt;
|
font-size: 8pt;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tr {
|
||||||
|
vertical-align: middle !important;
|
||||||
|
}
|
||||||
|
|
||||||
tr:nth-child ( even ) {
|
tr:nth-child ( even ) {
|
||||||
background-image: url('images/tabletile.png');
|
background-image: url('images/tabletile.png');
|
||||||
background-color: #99f;
|
background-color: #99f;
|
||||||
@ -355,8 +368,9 @@ button {
|
|||||||
-webkit-border-radius: 4px;
|
-webkit-border-radius: 4px;
|
||||||
font-size: 8pt;
|
font-size: 8pt;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
margin: 2px 3px;
|
margin: 0 1px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
min-width: 80px;
|
||||||
}
|
}
|
||||||
|
|
||||||
button:hover{
|
button:hover{
|
||||||
@ -404,6 +418,7 @@ input {
|
|||||||
border: 1px solid #001;
|
border: 1px solid #001;
|
||||||
padding: 0px 2px 1px 2px;
|
padding: 0px 2px 1px 2px;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
min-width: 110px;
|
||||||
}
|
}
|
||||||
|
|
||||||
input:hover {
|
input:hover {
|
||||||
@ -426,9 +441,6 @@ submit {
|
|||||||
border: 1px solid #001;
|
border: 1px solid #001;
|
||||||
padding: 0px 2px 1px 2px;
|
padding: 0px 2px 1px 2px;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
border-radius: 4px;
|
|
||||||
-moz-border-radius: 4px;
|
|
||||||
-webkit-border-radius: 4px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
select {
|
select {
|
||||||
@ -437,11 +449,12 @@ select {
|
|||||||
margin: 5px 10px 5px 10px;
|
margin: 5px 10px 5px 10px;
|
||||||
font-family: "Lucida Sans Unicode", "Bitstream Vera Sans", Verdana, Tahoma, Helvetica, sans-serif;
|
font-family: "Lucida Sans Unicode", "Bitstream Vera Sans", Verdana, Tahoma, Helvetica, sans-serif;
|
||||||
border: 1px solid #001;
|
border: 1px solid #001;
|
||||||
|
min-width: 110px;
|
||||||
}
|
}
|
||||||
|
|
||||||
textarea {
|
textarea {
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
margin: 5px 0;
|
margin: 5px -20px;
|
||||||
background-color: #eef;
|
background-color: #eef;
|
||||||
color: #003;
|
color: #003;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
|
@ -132,7 +132,7 @@ hr {
|
|||||||
.freetext {
|
.freetext {
|
||||||
width: 150px;
|
width: 150px;
|
||||||
height: 22px;
|
height: 22px;
|
||||||
border: 1px solid #9999ff;
|
border: 1px solid #003;
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
margin: 4px 0 2px 4px;
|
margin: 4px 0 2px 4px;
|
||||||
}
|
}
|
||||||
@ -143,7 +143,7 @@ hr {
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
height: 22px;
|
height: 22px;
|
||||||
width: 60px;
|
width: 60px;
|
||||||
font-weight: normal;
|
font-weight: bold;
|
||||||
background-color: #bbbbff;
|
background-color: #bbbbff;
|
||||||
color: black;
|
color: black;
|
||||||
border: 1px outset #ddddc0;
|
border: 1px outset #ddddc0;
|
||||||
|
BIN
installer/resources/themes/console/light/images/help.png
Normal file
BIN
installer/resources/themes/console/light/images/help.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 852 B |
BIN
installer/resources/themes/console/light/images/info.png
Normal file
BIN
installer/resources/themes/console/light/images/info.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 780 B |
Reference in New Issue
Block a user