From ab8e2cf34dba8b436294b9f27bfdd23966191750 Mon Sep 17 00:00:00 2001
From: z3d <z3d@mail.i2p>
Date: Sat, 4 Jul 2009 02:39:37 +0000
Subject: [PATCH] Router console updates. Opening shots.

---
 apps/routerconsole/jsp/nav.jsp | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/apps/routerconsole/jsp/nav.jsp b/apps/routerconsole/jsp/nav.jsp
index 322df974e4..35b5667b01 100644
--- a/apps/routerconsole/jsp/nav.jsp
+++ b/apps/routerconsole/jsp/nav.jsp
@@ -1 +1,34 @@
 <%@page import="java.io.File" %>
+<div class="logo">
+ <a href="index.jsp"><img src="/themes/console/images/i2plogo.png" alt="Router Console" width="187" height="35" /></a><br />
+</div>
+<div class="toolbar">
+ <% File path = new File(net.i2p.I2PAppContext.getGlobalContext().getBaseDir(), "docs/toolbar.html");
+    if (path.exists()) { %>
+   <jsp:useBean class="net.i2p.router.web.ContentHelper" id="toolbarhelper" scope="request" />
+   <jsp:setProperty name="toolbarhelper" property="page" value="<%=path.getAbsolutePath()%>" />
+   <jsp:setProperty name="toolbarhelper" property="maxLines" value="300" />
+   <jsp:getProperty name="toolbarhelper" property="content" />
+<% } else { %>
+ <!-- Could not find docs/toolbar.html! -->
+ <a href="susimail/susimail">Susimail</a> |
+ <a href="susidns/index.jsp">SusiDNS</a> |
+ <!-- <a href="syndie/">Syndie</a> | -->
+ <a href="i2psnark/">I2PSnark</a> |
+ <a href="http://127.0.0.1:7658/">My Eepsite</a> <br>
+ <a href="i2ptunnel/index.jsp">I2PTunnel</a> |
+ <a href="tunnels.jsp">Tunnels</a> |
+ <a href="profiles.jsp">Profiles</a> |
+ <a href="netdb.jsp">NetDB</a> |
+ <a href="logs.jsp">Logs</a> |
+ <a href="jobs.jsp">Jobs</a> |
+ <a href="graphs.jsp">Graphs</a> |
+ <a href="oldstats.jsp">Stats</a> <!-- |
+ <a href="oldconsole.jsp">Internals</a> -->
+<% }
+// the following is unused and a candidate for removal
+%>
+ <jsp:useBean class="net.i2p.router.web.NavHelper" id="navhelper" scope="request" />
+ <jsp:setProperty name="navhelper" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
+ <jsp:getProperty name="navhelper" property="clientAppLinks" />
+</div>
-- 
GitLab