Bash the textarea sizes about a bit and tidy configupdate.jsp table.
This commit is contained in:
@ -27,13 +27,13 @@
|
||||
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()+""); %>
|
||||
<input type="hidden" name="nonce" value="<%=System.getProperty("net.i2p.router.web.ConfigUpdateHandler.nonce")%>" />
|
||||
<table border="0" cellspacing="5"><tr><td><b>News:</b><td>
|
||||
<table border="0" cellspacing="5"><tr><td colspan="2"><td><b>News:</b><td>
|
||||
<% if ("true".equals(System.getProperty("net.i2p.router.web.UpdateHandler.updateInProgress", "false"))) { %>
|
||||
<i>Update In Progress</i><br /><br />
|
||||
<% } else { %>
|
||||
<input type="submit" name="action" value="Check for update now" /><hr />
|
||||
<input type="submit" name="action" value="Check for update now" />
|
||||
<% } %>
|
||||
<tr><td><td>
|
||||
<tr><td colspan="2"><hr /><tr>
|
||||
<tr><td><b>News URL:</b>
|
||||
<td><input type="text" size="60" name="newsURL" value="<jsp:getProperty name="updatehelper" property="newsURL" />">
|
||||
<tr><td><b>Refresh frequency:</b>
|
||||
@ -47,14 +47,13 @@
|
||||
<tr><td><b>eepProxy port:</b>
|
||||
<td><input type="text" size="4" name="proxyPort" value="<jsp:getProperty name="updatehelper" property="proxyPort" />" />
|
||||
<tr><td><b>Update URLs:</b>
|
||||
<td><textarea name="updateURL" cols="80" rows="8" wrap="off"><jsp:getProperty name="updatehelper" property="updateURL" /></textarea>
|
||||
<td><textarea name="updateURL" wrap="off"><jsp:getProperty name="updatehelper" property="updateURL" /></textarea>
|
||||
<tr><td><b>Trusted keys:</b>
|
||||
<td><textarea name="trustedKeys" cols="80" rows="8" wrap="off"><jsp:getProperty name="updatehelper" property="trustedKeys" /></textarea>
|
||||
<tr><td><td>
|
||||
<tr><td><td><hr /><input type="submit" name="action" value="Save" /> <input type="reset" value="Cancel" />
|
||||
<td><textarea name="trustedKeys" wrap="off"><jsp:getProperty name="updatehelper" property="trustedKeys" /></textarea>
|
||||
<tr><tr><td colspan="2"><hr /><tr>
|
||||
<tr><td><td><input type="submit" name="action" value="Save" /> <input type="reset" value="Cancel" />
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
@ -130,7 +130,6 @@ div.main {
|
||||
}
|
||||
|
||||
div.main textarea {
|
||||
width: 100% !important;
|
||||
background-color: #002;
|
||||
color: #fff;
|
||||
font-size: 8pt;
|
||||
@ -477,13 +476,15 @@ textarea {
|
||||
background-color: #001;
|
||||
color: #eef;
|
||||
padding: 5px;
|
||||
margin: 0 0 5px 0;
|
||||
margin: 0 5px 5px 0px;
|
||||
border-radius: 4px;
|
||||
-moz-border-radius: 4px;
|
||||
-webkit-border-radius: 4px;
|
||||
font-family: "Lucida Console", "DejaVu Sans Mono", Courier, mono;
|
||||
font-size: 9pt;
|
||||
min-height: 100px;
|
||||
min-width: 100%;
|
||||
text-align: left;
|
||||
border: 1px solid #99f;
|
||||
}
|
||||
|
||||
|
@ -129,7 +129,10 @@ div.main hr {
|
||||
}
|
||||
|
||||
div.main textarea {
|
||||
width: 100% !important;
|
||||
background-color: #eef;
|
||||
color: #001;
|
||||
font-size: 8pt;
|
||||
font-family: "Lucida Console", "DejaVu Sans Mono", Courier, mono;
|
||||
}
|
||||
|
||||
div.news {
|
||||
@ -462,7 +465,7 @@ select {
|
||||
|
||||
textarea {
|
||||
padding: 5px;
|
||||
margin: 0 10px 5px 10px;
|
||||
margin: 0 5px 5px 0px;
|
||||
background-color: #eef;
|
||||
color: #003;
|
||||
border-radius: 4px;
|
||||
@ -470,7 +473,8 @@ textarea {
|
||||
-webkit-border-radius: 4px;
|
||||
font-family: "Lucida Console", "DejaVu Sans Mono", Courier, mono;
|
||||
font-size: 8pt;
|
||||
min-height: 128px;
|
||||
min-height: 100px;
|
||||
min-width: 100%;
|
||||
border: 1px solid #001;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user