From 168c21328872ea45ee29a6824f440bf9a830d2e7 Mon Sep 17 00:00:00 2001
From: z3d <z3d@mail.i2p>
Date: Tue, 17 Nov 2009 19:55:51 +0000
Subject: [PATCH] Some string mods and tagging and so forth; "midnight" console
 theme futzage.

---
 apps/routerconsole/java/strings/Strings.java           |  9 ++++++++-
 installer/resources/clients.config                     |  8 ++++----
 installer/resources/i2ptunnel.config                   |  4 ++--
 .../resources/themes/console/midnight/console.css      | 10 +++++++---
 4 files changed, 21 insertions(+), 10 deletions(-)

diff --git a/apps/routerconsole/java/strings/Strings.java b/apps/routerconsole/java/strings/Strings.java
index ce0b00649a..cddec4197b 100644
--- a/apps/routerconsole/java/strings/Strings.java
+++ b/apps/routerconsole/java/strings/Strings.java
@@ -23,9 +23,12 @@ class Dummy {
         _("SAM application bridge");
         _("Application tunnels");
         _("My eepsite web server");
+        _("I2P webserver (eepsite)");        
         _("Browser launch at startup");
         _("BOB application bridge");
-
+        _("I2P Router Console");
+        _("Open Router Console in web browser at startup");        
+        
         // tunnel nicknames, taken from i2ptunnel.config so they will display
         // nicely under 'local destinations' in the summary bar
         // note that if the wording changes in i2ptunnel.config, we have to
@@ -33,6 +36,8 @@ class Dummy {
         _("shared clients");
         _("IRC proxy");
         _("eepsite");
+        _("I2P webserver");
+        _("HTTP Proxy");        
         // older names for pre-0.7.4 installs
         _("eepProxy");
         _("ircProxy");
@@ -41,9 +46,11 @@ class Dummy {
         // hardcoded in iMule?
         _("iMule");
 
+
         // standard themes for ConfigUIHelper
         _("classic");
         _("dark");
         _("light");
+        _("midnight");        
     }
 }
diff --git a/installer/resources/clients.config b/installer/resources/clients.config
index 0c7039a8b0..85c30da7fb 100644
--- a/installer/resources/clients.config
+++ b/installer/resources/clients.config
@@ -14,26 +14,26 @@ clientApp.0.startOnLoad=true
 
 # SAM bridge
 clientApp.1.main=net.i2p.sam.SAMBridge
-clientApp.1.name=SAM Application Bridge
+clientApp.1.name=SAM application bridge
 clientApp.1.args=sam.keys 127.0.0.1 7656 i2cp.tcp.host=127.0.0.1 i2cp.tcp.port=7654
 clientApp.1.startOnLoad=false
 
 # poke the i2ptunnels defined in i2ptunnel.config
 clientApp.2.main=net.i2p.i2ptunnel.TunnelControllerGroup
-clientApp.2.name=Application Tunnels
+clientApp.2.name=Application tunnels
 clientApp.2.args=i2ptunnel.config
 clientApp.2.startOnLoad=true
 
 # run our own eepsite with a seperate jetty instance
 clientApp.3.main=org.mortbay.jetty.Server
-clientApp.3.name=Local Anonymous I2P Webserver
+clientApp.3.name=I2P webserver (eepsite)
 clientApp.3.args="eepsite/jetty.xml"
 clientApp.3.delay=30
 clientApp.3.startOnLoad=true
 
 # load a browser pointing at the web console whenever we start up
 clientApp.4.main=net.i2p.apps.systray.UrlLauncher
-clientApp.4.name=Launch web browser and load I2P Router Console at startup
+clientApp.4.name=Open Router Console in web browser at startup
 clientApp.4.args=http://127.0.0.1:7657/index.jsp
 clientApp.4.delay=15
 clientApp.4.startOnLoad=true
diff --git a/installer/resources/i2ptunnel.config b/installer/resources/i2ptunnel.config
index 6412a37e49..9d29bc1a90 100644
--- a/installer/resources/i2ptunnel.config
+++ b/installer/resources/i2ptunnel.config
@@ -6,7 +6,7 @@
 #
 
 # eepproxy
-tunnel.0.name=eepProxy
+tunnel.0.name=I2P HTTP Proxy
 tunnel.0.description=HTTP proxy for browsing eepsites and the web
 tunnel.0.type=httpclient
 tunnel.0.sharedClient=true
@@ -64,7 +64,7 @@ tunnel.2.option.i2cp.reduceQuantity=1
 tunnel.2.startOnLoad=false
 
 # local eepserver
-tunnel.3.name=eepsite
+tunnel.3.name=I2P webserver
 tunnel.3.description=My eepsite
 tunnel.3.type=httpserver
 tunnel.3.targetHost=127.0.0.1
diff --git a/installer/resources/themes/console/midnight/console.css b/installer/resources/themes/console/midnight/console.css
index 80b1cbc14f..1c89b49e69 100644
--- a/installer/resources/themes/console/midnight/console.css
+++ b/installer/resources/themes/console/midnight/console.css
@@ -535,9 +535,6 @@ h2 {
      border-top: 1px solid #99f;
      border-left: 1px solid #99f;
      background: #000008;
-     background-image: url("images/h2bg.png"); 
-     background-repeat: no-repeat; 
-     background-position: right center;
      font-variant: small-caps; 
      text-transform: capitalize; 
      letter-spacing: 0.07em;
@@ -559,6 +556,12 @@ h3 a {
      font-weight: bold !important;
 }
 
+h2, h3 {
+     background-image: url("images/h2bg.png"); 
+     background-repeat: no-repeat; 
+     background-position: right center;
+}
+
 .proxyfooter{
      font-size: 7pt;
      display: none !important;
@@ -592,6 +595,7 @@ th {
      padding: 8px 2px;
      text-align: center;
      border-bottom: 1px solid #99f;
+     font-size: 8pt !important;
 }
 
 tt {
-- 
GitLab