Changeset cbde15b


Ignore:
Timestamp:
Jul 19, 2009 11:59:21 PM (11 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
e225244
Parents:
8e38047
Message:

cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/routerconsole/jsp/summarynoframe.jsp

    r8e38047 rcbde15b  
    11<%@page import="net.i2p.router.web.SummaryHelper" %>
     2<%
     3/*
     4 * Note:
     5 * This is included almost 30 times, so keep whitespace etc. to a minimum.
     6 */
     7%>
    28<jsp:useBean class="net.i2p.router.web.SummaryHelper" id="helper" scope="request" />
    39<jsp:setProperty name="helper" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
    4 
    510<jsp:useBean class="net.i2p.router.web.ReseedHandler" id="reseed" scope="request" />
    611<jsp:setProperty name="reseed" property="*" />
     
    1116<jsp:setProperty name="uhelper" property="*" />
    1217<jsp:setProperty name="uhelper" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
    13  <centre><a href="index.jsp" target="_top"><img src="/themes/console/images/i2plogo.png" alt="I2P Router Console" title="I2P Router Console"/></a></centre><hr />
    14  <centre>
    15  <% java.io.File lpath = new java.io.File(net.i2p.I2PAppContext.getGlobalContext().getBaseDir(), "docs/toolbar.html");
     18<center><a href="index.jsp" target="_top"><img src="/themes/console/images/i2plogo.png" alt="I2P Router Console" title="I2P Router Console"/></a></center><hr />
     19<center>
     20<% java.io.File lpath = new java.io.File(net.i2p.I2PAppContext.getGlobalContext().getBaseDir(), "docs/toolbar.html");
    1621    // you better have target="_top" for the links in there...
    1722    if (lpath.exists()) { %>
    18    <jsp:useBean class="net.i2p.router.web.ContentHelper" id="linkhelper" scope="request" />
    19    <jsp:setProperty name="linkhelper" property="page" value="<%=lpath.getAbsolutePath()%>" />
    20    <jsp:setProperty name="linkhelper" property="maxLines" value="100" />
    21    <jsp:getProperty name="linkhelper" property="content" />
     23<jsp:useBean class="net.i2p.router.web.ContentHelper" id="linkhelper" scope="request" />
     24<jsp:setProperty name="linkhelper" property="page" value="<%=lpath.getAbsolutePath()%>" />
     25<jsp:setProperty name="linkhelper" property="maxLines" value="100" />
     26<jsp:getProperty name="linkhelper" property="content" />
    2227<% } else { %>
    23  <u><b>I2P Services</b></u><br />
    24  <a href="susimail/susimail" target="blank">Susimail</a>
    25  <a href="susidns/index.jsp" target="_blank">SusiDNS</a>
    26  <a href="i2psnark/" target="_blank">I2PSnark</a>
    27  <a href="http://127.0.0.1:7658/" target="_blank">Eepsite</a><hr />
    28  <u><b>I2P Internals</b></u><br />
    29  <a href="i2ptunnel/index.jsp" target="_blank">I2PTunnel</a>
    30  <a href="tunnels.jsp" target="_top">Tunnels</a>
    31  <a href="profiles.jsp" target="_top">Profiles</a>
    32  <a href="netdb.jsp" target="_top">NetDB</a>
    33  <a href="logs.jsp" target="_top">Logs</a>
    34  <a href="jobs.jsp" target="_top">Jobs</a>
    35  <a href="graphs.jsp" target="_top">Graphs</a>
    36  <a href="oldstats.jsp" target="_top">Stats</a> <!--
    37  <a href="oldconsole.jsp" target="_top">Internals</a> -->
    38  <a href="config.jsp" target="_top">Configuration</a>
    39  <a href="help.jsp" target="_top">Help</a></b>
     28<u><b>I2P Services</b></u><br />
     29<a href="susimail/susimail" target="blank">Susimail</a>
     30<a href="susidns/index.jsp" target="_blank">SusiDNS</a>
     31<a href="i2psnark/" target="_blank">I2PSnark</a>
     32<a href="http://127.0.0.1:7658/" target="_blank">Eepsite</a><hr />
     33<u><b>I2P Internals</b></u><br />
     34<a href="i2ptunnel/index.jsp" target="_blank">I2PTunnel</a>
     35<a href="tunnels.jsp" target="_top">Tunnels</a>
     36<a href="profiles.jsp" target="_top">Profiles</a>
     37<a href="netdb.jsp" target="_top">NetDB</a>
     38<a href="logs.jsp" target="_top">Logs</a>
     39<a href="jobs.jsp" target="_top">Jobs</a>
     40<a href="graphs.jsp" target="_top">Graphs</a>
     41<a href="oldstats.jsp" target="_top">Stats</a>
     42<a href="config.jsp" target="_top">Configuration</a>
     43<a href="help.jsp" target="_top">Help</a></b>
    4044<% } %>
    41  </center>
    42  <hr />
    43  <u><b>General</b></u><br />
    44  <b>Ident:</b> (<a title="Your router identity is <jsp:getProperty name="helper" property="ident" />, never reveal it to anyone" href="netdb.jsp?r=." target="_top">view</a>)<br />
    45  <b>Version:</b> <jsp:getProperty name="helper" property="version" /><br />
    46  <b>Uptime:</b> <jsp:getProperty name="helper" property="uptime" /><br />
    47  <b>Now:</b> <jsp:getProperty name="helper" property="time" /><br />
    48  <b>Reachability:</b> <a href="config.jsp#help" target="_top"><jsp:getProperty name="helper" property="reachability" /></a>
    49  <%
     45</center>
     46<hr />
     47<u><b>General</b></u><br />
     48<b>Ident:</b> (<a title="Your router identity is <jsp:getProperty name="helper" property="ident" />, never reveal it to anyone" href="netdb.jsp?r=." target="_top">view</a>)<br />
     49<b>Version:</b> <jsp:getProperty name="helper" property="version" /><br />
     50<b>Uptime:</b> <jsp:getProperty name="helper" property="uptime" /><br />
     51<b>Now:</b> <jsp:getProperty name="helper" property="time" /><br />
     52<b>Reachability:</b> <a href="config.jsp#help" target="_top"><jsp:getProperty name="helper" property="reachability" /></a>
     53<%
    5054    if (helper.updateAvailable()) {
    5155        // display all the time so we display the final failure message
     
    6367        }
    6468    }
    65  %>
    66  <p><center>
    67  <%=net.i2p.router.web.ConfigRestartBean.renderStatus(request.getRequestURI(), request.getParameter("action"), request.getParameter("consoleNonce"))%>
    68  </center></p>
    69  <hr />
    70  <u><b><a href="peers.jsp" target="_top">Peers</a></b></u><br />
    71  <b>Active:</b> <jsp:getProperty name="helper" property="activePeers" />/<jsp:getProperty name="helper" property="activeProfiles" /><br />
    72  <b>Fast:</b> <jsp:getProperty name="helper" property="fastPeers" /><br />
    73  <b>High capacity:</b> <jsp:getProperty name="helper" property="highCapacityPeers" /><br />
    74  <b>Well integrated:</b> <jsp:getProperty name="helper" property="wellIntegratedPeers" /><br />
    75  <b>Known:</b> <jsp:getProperty name="helper" property="allPeers" /><br /><%
     69%>
     70<p><center>
     71<%=net.i2p.router.web.ConfigRestartBean.renderStatus(request.getRequestURI(), request.getParameter("action"), request.getParameter("consoleNonce"))%>
     72</center></p>
     73<hr />
     74<u><b><a href="peers.jsp" target="_top">Peers</a></b></u><br />
     75<b>Active:</b> <jsp:getProperty name="helper" property="activePeers" />/<jsp:getProperty name="helper" property="activeProfiles" /><br />
     76<b>Fast:</b> <jsp:getProperty name="helper" property="fastPeers" /><br />
     77<b>High capacity:</b> <jsp:getProperty name="helper" property="highCapacityPeers" /><br />
     78<b>Well integrated:</b> <jsp:getProperty name="helper" property="wellIntegratedPeers" /><br />
     79<b>Known:</b> <jsp:getProperty name="helper" property="allPeers" /><br /><%
    7680    if (helper.getActivePeers() <= 0) {
    7781        %><b><a href="config.jsp" target="_top">check your NAT/firewall</a></b><br /><%
     
    102106    }
    103107 %><hr />
    104  
    105  <u><b><a href="config.jsp" title="Configure the bandwidth limits" target="_top">Bandwidth in/out</a></b></u><br />
    106  <b>1s:</b> <jsp:getProperty name="helper" property="inboundSecondKBps" />/<jsp:getProperty name="helper" property="outboundSecondKBps" />KBps<br />
    107  <b>5m:</b> <jsp:getProperty name="helper" property="inboundFiveMinuteKBps" />/<jsp:getProperty name="helper" property="outboundFiveMinuteKBps" />KBps<br />
    108  <b>Total:</b> <jsp:getProperty name="helper" property="inboundLifetimeKBps" />/<jsp:getProperty name="helper" property="outboundLifetimeKBps" />KBps<br />
    109  <b>Used:</b> <jsp:getProperty name="helper" property="inboundTransferred" />/<jsp:getProperty name="helper" property="outboundTransferred" /><br />
    110  <hr />
    111  
    112  <u><b>Tunnels in/out</b></u><br />
    113  <b>Exploratory:</b> <jsp:getProperty name="helper" property="inboundTunnels" />/<jsp:getProperty name="helper" property="outboundTunnels" /><br />
    114  <b>Client:</b> <jsp:getProperty name="helper" property="inboundClientTunnels" />/<jsp:getProperty name="helper" property="outboundClientTunnels" /><br />
    115  <b>Participating:</b> <jsp:getProperty name="helper" property="participatingTunnels" /><br />
    116  <hr />
    117  
    118  <u><b>Congestion</b></u><br />
    119  <b>Job lag:</b> <jsp:getProperty name="helper" property="jobLag" /><br />
    120  <b>Message delay:</b> <jsp:getProperty name="helper" property="messageDelay" /><br />
    121  <b>Tunnel lag:</b> <jsp:getProperty name="helper" property="tunnelLag" /><br />
    122  <b>Handle backlog:</b> <jsp:getProperty name="helper" property="inboundBacklog" /><br />
    123  <b><jsp:getProperty name="helper" property="tunnelStatus" /></b><br />
    124  <hr />
    125  
    126  <jsp:getProperty name="helper" property="destinations" />
     108<u><b><a href="config.jsp" title="Configure the bandwidth limits" target="_top">Bandwidth in/out</a></b></u><br />
     109<b>1s:</b> <jsp:getProperty name="helper" property="inboundSecondKBps" />/<jsp:getProperty name="helper" property="outboundSecondKBps" />KBps<br />
     110<b>5m:</b> <jsp:getProperty name="helper" property="inboundFiveMinuteKBps" />/<jsp:getProperty name="helper" property="outboundFiveMinuteKBps" />KBps<br />
     111<b>Total:</b> <jsp:getProperty name="helper" property="inboundLifetimeKBps" />/<jsp:getProperty name="helper" property="outboundLifetimeKBps" />KBps<br />
     112<b>Used:</b> <jsp:getProperty name="helper" property="inboundTransferred" />/<jsp:getProperty name="helper" property="outboundTransferred" /><br />
     113<hr />
     114<u><b>Tunnels in/out</b></u><br />
     115<b>Exploratory:</b> <jsp:getProperty name="helper" property="inboundTunnels" />/<jsp:getProperty name="helper" property="outboundTunnels" /><br />
     116<b>Client:</b> <jsp:getProperty name="helper" property="inboundClientTunnels" />/<jsp:getProperty name="helper" property="outboundClientTunnels" /><br />
     117<b>Participating:</b> <jsp:getProperty name="helper" property="participatingTunnels" /><br />
     118<hr />
     119<u><b>Congestion</b></u><br />
     120<b>Job lag:</b> <jsp:getProperty name="helper" property="jobLag" /><br />
     121<b>Message delay:</b> <jsp:getProperty name="helper" property="messageDelay" /><br />
     122<b>Tunnel lag:</b> <jsp:getProperty name="helper" property="tunnelLag" /><br />
     123<b>Handle backlog:</b> <jsp:getProperty name="helper" property="inboundBacklog" /><br />
     124<b><jsp:getProperty name="helper" property="tunnelStatus" /></b><br />
     125<hr />
     126<jsp:getProperty name="helper" property="destinations" />
Note: See TracChangeset for help on using the changeset viewer.