From d13e3d95d3f38e8d2baee68401e33de8d6db8d57 Mon Sep 17 00:00:00 2001 From: z3d <z3d@mail.i2p> Date: Mon, 13 Jul 2009 20:30:16 +0000 Subject: [PATCH] The taming of the textarea. Part 1. --- apps/routerconsole/jsp/configupdate.jsp | 8 ++++---- installer/resources/themes/console/dark/console.css | 3 ++- installer/resources/themes/console/light/console.css | 4 +++- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/apps/routerconsole/jsp/configupdate.jsp b/apps/routerconsole/jsp/configupdate.jsp index 16baad6e3a..ae4a9c1433 100644 --- a/apps/routerconsole/jsp/configupdate.jsp +++ b/apps/routerconsole/jsp/configupdate.jsp @@ -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> diff --git a/installer/resources/themes/console/dark/console.css b/installer/resources/themes/console/dark/console.css index 21ea8e24cf..eb702fa103 100644 --- a/installer/resources/themes/console/dark/console.css +++ b/installer/resources/themes/console/dark/console.css @@ -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 {} \ No newline at end of file diff --git a/installer/resources/themes/console/light/console.css b/installer/resources/themes/console/light/console.css index 12d311a0b9..fc90014df1 100644 --- a/installer/resources/themes/console/light/console.css +++ b/installer/resources/themes/console/light/console.css @@ -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 {} \ No newline at end of file -- GitLab