From 6e29eddaa73276c3492e7910ea8914714b8227be Mon Sep 17 00:00:00 2001 From: z3d Date: Sat, 1 Aug 2009 04:14:05 +0000 Subject: [PATCH] More UI layout tweak & fixes to config page(s). --- .../src/net/i2p/router/web/ConfigTunnelsHelper.java | 8 ++++---- apps/routerconsole/jsp/configpeer.jsp | 10 +++++----- apps/routerconsole/jsp/configtunnels.jsp | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/apps/routerconsole/java/src/net/i2p/router/web/ConfigTunnelsHelper.java b/apps/routerconsole/java/src/net/i2p/router/web/ConfigTunnelsHelper.java index aa2b6a1b0..e5e0a2922 100644 --- a/apps/routerconsole/java/src/net/i2p/router/web/ConfigTunnelsHelper.java +++ b/apps/routerconsole/java/src/net/i2p/router/web/ConfigTunnelsHelper.java @@ -62,18 +62,18 @@ public class ConfigTunnelsHelper extends HelperBase { in.getLength() + in.getLengthVariance() <= 0 || out.getLength() <= 0 || out.getLength() + out.getLengthVariance() <= 0) - buf.append("ANONYMITY WARNING - Settings include 0-hop tunnels"); + buf.append("ANONYMITY WARNING - Settings include 0-hop tunnels."); else if (in.getLength() <= 1 || in.getLength() + in.getLengthVariance() <= 1 || out.getLength() <= 1 || out.getLength() + out.getLengthVariance() <= 1) - buf.append("ANONYMITY WARNING - Settings include 1-hop tunnels"); + buf.append("ANONYMITY WARNING - Settings include 1-hop tunnels."); if (in.getLength() + Math.abs(in.getLengthVariance()) >= WARN_LENGTH || out.getLength() + Math.abs(out.getLengthVariance()) >= WARN_LENGTH) - buf.append("PERFORMANCE WARNING - Settings include very long tunnels"); + buf.append("PERFORMANCE WARNING - Settings include very long tunnels."); if (in.getQuantity() + in.getBackupQuantity() >= WARN_QUANTITY || out.getQuantity() + out.getBackupQuantity() >= WARN_QUANTITY) - buf.append("PERFORMANCE WARNING - Settings include high tunnel quantities"); + buf.append("PERFORMANCE WARNING - Settings include high tunnel quantities."); buf.append("\"Inbound\"  Inbound\"Outbound  Outbound\n"); diff --git a/apps/routerconsole/jsp/configpeer.jsp b/apps/routerconsole/jsp/configpeer.jsp index a4d22c6c8..4cf9c7bdb 100644 --- a/apps/routerconsole/jsp/configpeer.jsp +++ b/apps/routerconsole/jsp/configpeer.jsp @@ -37,8 +37,8 @@

Manual Peer Controls

-
Router Hash:
- +
Router Hash: +

Manually Shitlist / Unshitlist a Router

Shitlisting will prevent the participation of this peer in tunnels you create.
@@ -62,11 +62,11 @@ } %>
-
Speed:
+
Speed: -
Capacity:
+ Capacity: - +

diff --git a/apps/routerconsole/jsp/configtunnels.jsp b/apps/routerconsole/jsp/configtunnels.jsp index 6782ea116..cc5e3389f 100644 --- a/apps/routerconsole/jsp/configtunnels.jsp +++ b/apps/routerconsole/jsp/configtunnels.jsp @@ -42,7 +42,7 @@ Note - Exploratory tunnel setting changes are stored in the router.config file.
Client tunnel changes are temporary and are not saved.
To make permanent client tunnel changes see the i2ptunnel page.
-
+