The taming of the textarea. Part 1.

This commit is contained in:
z3d
2009-07-13 20:30:16 +00:00
parent 64f1fe0b51
commit d13e3d95d3
3 changed files with 9 additions and 6 deletions

View File

@ -31,7 +31,7 @@
<% 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" /><br /><br />
<input type="submit" name="action" value="Check for update now" /><hr />
<% } %>
<tr><td><td>
<tr><td><b>News URL:</b>
@ -47,11 +47,11 @@
<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="90" rows="4" wrap="off"><jsp:getProperty name="updatehelper" property="updateURL" /></textarea>
<td><textarea name="updateURL" cols="80" rows="8" wrap="off"><jsp:getProperty name="updatehelper" property="updateURL" /></textarea>
<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="80" rows="8" wrap="off"><jsp:getProperty name="updatehelper" property="trustedKeys" /></textarea>
<tr><td><td>
<tr><td><td><input type="submit" name="action" value="Save" /> <input type="reset" value="Cancel" />
<tr><td><td><hr /><input type="submit" name="action" value="Save" /> <input type="reset" value="Cancel" />
</table>
</form>
</div>

View File

@ -477,13 +477,14 @@ textarea {
background-color: #001;
color: #eef;
padding: 5px;
margin: 5px -10px;
margin: 0 0 5px 0;
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;
border: 1px solid #99f;
}
form {}

View File

@ -432,6 +432,7 @@ input:active {
color: #f60;
border: 1px solid #f60;
}
submit {
background-color: #f00;
color: #eef;
@ -461,7 +462,7 @@ select {
textarea {
padding: 5px;
margin: 5px -20px;
margin: 0 10px 5px 10px;
background-color: #eef;
color: #003;
border-radius: 4px;
@ -470,6 +471,7 @@ textarea {
font-family: "Lucida Console", "DejaVu Sans Mono", Courier, mono;
font-size: 8pt;
min-height: 128px;
border: 1px solid #001;
}
form {}