diff --git a/apps/routerconsole/jsp/nav.jsp b/apps/routerconsole/jsp/nav.jsp index 322df974e45bc05a24e7aedd4dec0a50445e5df0..35b5667b0164cec927d82f61dab6f17a8a3f086c 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>