From 1724e5b49994ec02eb31079fe70ff9654cded799 Mon Sep 17 00:00:00 2001 From: zzz <zzz@mail.i2p> Date: Thu, 2 Jul 2009 19:08:55 +0000 Subject: [PATCH] Fix small textareas on Opera --- apps/i2ptunnel/jsp/editClient.jsp | 2 +- apps/i2ptunnel/jsp/editServer.jsp | 6 +++--- apps/routerconsole/jsp/configkeyring.jsp | 2 +- apps/susidns/src/jsp/addressbook.jsp | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/apps/i2ptunnel/jsp/editClient.jsp b/apps/i2ptunnel/jsp/editClient.jsp index 4f0a5a3385..188bc915b1 100644 --- a/apps/i2ptunnel/jsp/editClient.jsp +++ b/apps/i2ptunnel/jsp/editClient.jsp @@ -388,7 +388,7 @@ <label for="localDestination" accesskey="L"> <span class="accessKey">L</span>ocal destination: </label> - <textarea rows="1" cols="60" readonly="readonly" id="localDestination" title="Read Only: Local Destination (if known)" wrap="off"><%=editBean.getDestinationBase64(curTunnel)%></textarea> + <textarea rows="1" style="height: 3em;" cols="60" readonly="readonly" id="localDestination" title="Read Only: Local Destination (if known)" wrap="off"><%=editBean.getDestinationBase64(curTunnel)%></textarea> <span class="comment">(if known)</span> </div> diff --git a/apps/i2ptunnel/jsp/editServer.jsp b/apps/i2ptunnel/jsp/editServer.jsp index 3a958fd42e..3ba829bc21 100644 --- a/apps/i2ptunnel/jsp/editServer.jsp +++ b/apps/i2ptunnel/jsp/editServer.jsp @@ -148,7 +148,7 @@ <label for="localDestination" accesskey="L"> <span class="accessKey">L</span>ocal destination: </label> - <textarea rows="1" cols="60" readonly="readonly" id="localDestination" title="Read Only: Local Destination (if known)" wrap="off"><%=editBean.getDestinationBase64(curTunnel)%></textarea> + <textarea rows="1" style="height: 3em;" cols="60" readonly="readonly" id="localDestination" title="Read Only: Local Destination (if known)" wrap="off"><%=editBean.getDestinationBase64(curTunnel)%></textarea> <% if (!"".equals(editBean.getDestinationBase64(curTunnel))) { %> <a href="/susidns/addressbook.jsp?book=private&hostname=<%=editBean.getTunnelName(curTunnel)%>&destination=<%=editBean.getDestinationBase64(curTunnel)%>#add">Add to local addressbook</a> <% } %> @@ -270,7 +270,7 @@ <label for="encrypt" accesskey="e"> Encryption Key: </label> - <textarea rows="1" cols="44" id="portField" name="encryptKey" title="Encrypt Key" wrap="off"><%=editBean.getEncryptKey(curTunnel)%></textarea> + <textarea rows="1" style="height: 3em;" cols="44" id="portField" name="encryptKey" title="Encrypt Key" wrap="off"><%=editBean.getEncryptKey(curTunnel)%></textarea> </div> <div id="portField" class="rowItem"> <label for="force" accesskey="c"> @@ -299,7 +299,7 @@ <label for="accessList" accesskey="s"> Access List: </label> - <textarea rows="2" cols="60" id="hostField" name="accessList" title="Access List" wrap="off"><%=editBean.getAccessList(curTunnel)%></textarea> + <textarea rows="2" style="height: 4em;" cols="60" id="hostField" name="accessList" title="Access List" wrap="off"><%=editBean.getAccessList(curTunnel)%></textarea> <span class="comment">(Restrict to these clients only)</span> </div> diff --git a/apps/routerconsole/jsp/configkeyring.jsp b/apps/routerconsole/jsp/configkeyring.jsp index 1aa40408b2..65c0638f40 100644 --- a/apps/routerconsole/jsp/configkeyring.jsp +++ b/apps/routerconsole/jsp/configkeyring.jsp @@ -43,7 +43,7 @@ <p> <table> <tr><td>Dest. name, hash, or full key: - <td><textarea name="peer" cols="44" rows="1" wrap="off"></textarea> + <td><textarea name="peer" cols="44" rows="1" style="height: 3em;" wrap="off"></textarea> <tr><td align="right">Session Key: <td><input type="text" size="55" name="key" /> <tr><td><td><input type="submit" name="action" value="Add key" /> diff --git a/apps/susidns/src/jsp/addressbook.jsp b/apps/susidns/src/jsp/addressbook.jsp index d3cf0c3b4f..cb3eb32c5d 100644 --- a/apps/susidns/src/jsp/addressbook.jsp +++ b/apps/susidns/src/jsp/addressbook.jsp @@ -143,7 +143,7 @@ <td class="names"><a href="http://${addr.name}/">${addr.name}</a> - <span class="addrhlpr"><a href="http://${addr.name}/?i2paddresshelper=${addr.destination}">(addrhlpr)</a></span> </td> -<td class="destinations"><textarea rows="1" cols="40" wrap="off" readonly="readonly" name="dest_${addr.name}" >${addr.destination}</textarea></td> +<td class="destinations"><textarea rows="1" style="height: 3em;" cols="40" wrap="off" readonly="readonly" name="dest_${addr.name}" >${addr.destination}</textarea></td> </tr> </c:forEach> </table> @@ -168,7 +168,7 @@ <p class="add"> <h3>Add new destination:</h3> <b>Hostname:</b> <input type="text" name="hostname" value="${book.hostname}" size="20"> -<b>Destination:</b> <textarea name="destination" rows="1" cols="40" wrap="off" >${book.destination}</textarea><br/> +<b>Destination:</b> <textarea name="destination" rows="1" style="height: 3em;" cols="40" wrap="off" >${book.destination}</textarea><br/> </p><p> <input type="image" name="action" value="add" src="images/add.png" alt="Add destination" /> </p> -- GitLab