From 2772a0e5e48cf3a37ba3f977059362932fe8fd60 Mon Sep 17 00:00:00 2001
From: z3d <z3d@mail.i2p>
Date: Fri, 17 Jul 2009 13:09:05 +0000
Subject: [PATCH] More I2Ptunnels page surgery. Not out of the woods yet!

---
 apps/i2ptunnel/jsp/index.jsp                          |  9 +++++----
 installer/resources/themes/console/light/default.css  | 11 +++++++----
 .../resources/themes/console/light/i2ptunnel.css      | 10 +++++++---
 3 files changed, 19 insertions(+), 11 deletions(-)

diff --git a/apps/i2ptunnel/jsp/index.jsp b/apps/i2ptunnel/jsp/index.jsp
index 4c26bd3da8..dd3bde8f1b 100644
--- a/apps/i2ptunnel/jsp/index.jsp
+++ b/apps/i2ptunnel/jsp/index.jsp
@@ -74,7 +74,7 @@ p-equiv="Content-Type" content="text/html; charset=UTF-8" />
         </div>
         <div class="statusHeaderField rowItem">
             <label>Status:</label>
-<hr />        </div>
+       </div>
         
         <%
         for (int curServer = 0; curServer < indexBean.getTunnelCount(); curServer++) {
@@ -118,7 +118,8 @@ p-equiv="Content-Type" content="text/html; charset=UTF-8" />
             <%
             switch (indexBean.getTunnelStatus(curServer)) {
                 case IndexBean.STARTING:
-          %><div class="statusStarting text">Starting...</div>    
+          %><div class="separator"></div>
+		  <div class="statusStarting text">Starting...</div>    
             <a class="control" title="Stop this Tunnel" href="index.jsp?nonce=<%=indexBean.getNextNonce()%>&amp;action=stop&amp;tunnel=<%=curServer%>">Stop</a>
         <%
                 break;
@@ -194,7 +195,6 @@ p-equiv="Content-Type" content="text/html; charset=UTF-8" />
         </div>
 
         <div class="separator">
-            <hr />
         </div>
         <%
         for (int curClient = 0; curClient < indexBean.getTunnelCount(); curClient++) {
@@ -221,7 +221,7 @@ p-equiv="Content-Type" content="text/html; charset=UTF-8" />
             <%
             switch (indexBean.getTunnelStatus(curClient)) {
                 case IndexBean.STARTING:
-          %><div class="statusStarting text">Starting...</div>
+          %><div class="statusStarting text">Starting...</div> <div class="separator></div>
             <a class="control" title="Stop this Tunnel" href="index.jsp?nonce=<%=indexBean.getNextNonce()%>&amp;action=stop&amp;tunnel=<%=curClient%>">Stop</a>
         <%
                 break;
@@ -291,5 +291,6 @@ p-equiv="Content-Type" content="text/html; charset=UTF-8" />
     </div>
     <div id="pageFooter">
     </div>
+	</div>
 </body>
 </html>
diff --git a/installer/resources/themes/console/light/default.css b/installer/resources/themes/console/light/default.css
index 2411bdca7b..d4d4603a9f 100644
--- a/installer/resources/themes/console/light/default.css
+++ b/installer/resources/themes/console/light/default.css
@@ -29,7 +29,7 @@ label {
      height: 28px;
      font-weight: normal;
      text-align: right;
-     font-size: 7pt;
+     font-size: 8pt;
      font-style: italic;
      -moz-box-sizing: border-box;
      box-sizing: border-box;
@@ -122,8 +122,11 @@ hr {
 .separator, .subdivider {
      clear: both;
      height: 1px;
-     margin: 3px 0px 3px 0px;
+     margin: 1px 0px 1px 0px;
      border-bottom: 1px solid #225;
+/*
+     display: none;
+*/
 }
 
 .subdivider {
@@ -150,7 +153,7 @@ hr {
 }
 
 .control {
-     margin: 4px 0 0 0 !important;
+     margin: 4px 0 0 4px !important;
      padding: 2px;
      overflow: hidden;
 /*
@@ -171,7 +174,7 @@ hr {
 }
 
 .control:active {
-     border: 2px inset;
+     border: 1px inset;
      background-color: #003;
      color: #ff6600;
 }
diff --git a/installer/resources/themes/console/light/i2ptunnel.css b/installer/resources/themes/console/light/i2ptunnel.css
index 5df715e016..8b3a9aee31 100644
--- a/installer/resources/themes/console/light/i2ptunnel.css
+++ b/installer/resources/themes/console/light/i2ptunnel.css
@@ -83,10 +83,14 @@
      height: 100px;
      padding: 0 0 0 4px;
      margin: 1px 0 4px 0;
-     background-color: #000088;
+     background-color: #005;
      color: #fff;
-     font-family: "Lucida Console", "Andale Mono", "Courier New", Courier, mono;
-     border: 1px inset #002;
+     font-family: "Lucida Console", "DejaVu Sans Mono", "Andale Mono", "Courier New", Courier, mono;
+     border: 2px inset #002;
+     font-size: 10pt !important;
+     font-weight: bold;
+     text-align: justify !important;
+     background: url(images/darkbluetile.png);
 }
 
 #tunnelListPage .footer .control {
-- 
GitLab