2012-02-26 17:34:22 +00:00
|
|
|
<%@page contentType="text/html"%>
|
|
|
|
<%@page pageEncoding="UTF-8"%>
|
|
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
|
|
|
|
|
|
<html><head>
|
|
|
|
<%@include file="css.jsi" %>
|
|
|
|
<%=intl.title("graphs")%>
|
|
|
|
<jsp:useBean class="net.i2p.router.web.GraphHelper" id="graphHelper" scope="request" />
|
|
|
|
<jsp:setProperty name="graphHelper" property="contextId" value="<%=(String)session.getAttribute(\"i2p.contextId\")%>" />
|
|
|
|
<% /* GraphHelper sets the defaults in setContextId, so setting the properties must be after the context */ %>
|
|
|
|
<jsp:setProperty name="graphHelper" property="*" />
|
|
|
|
<%
|
|
|
|
graphHelper.storeWriter(out);
|
|
|
|
%>
|
2012-06-05 13:37:10 +00:00
|
|
|
<script src="/js/ajax.js" type="text/javascript"></script>
|
|
|
|
<script type="text/javascript">
|
|
|
|
var failMessage = "<hr><b><%=intl._("Router is down")%><\/b>";
|
2012-06-12 00:12:51 +00:00
|
|
|
function requestAjax1() { ajax("/xhr1.jsp?requestURI=<%=request.getRequestURI()%>", "xhr", <%=intl.getRefresh()%>000); }
|
2012-06-05 13:37:10 +00:00
|
|
|
function initAjax() { setTimeout(requestAjax1, <%=intl.getRefresh()%>000); }
|
|
|
|
</script>
|
|
|
|
</head><body onload="initAjax()">
|
2012-02-26 17:34:22 +00:00
|
|
|
<%@include file="summary.jsi" %>
|
|
|
|
<h1><%=intl._("I2P Performance Graphs")%></h1>
|
|
|
|
<div class="main" id="main">
|
|
|
|
<div class="graphspanel">
|
|
|
|
<div class="widepanel">
|
|
|
|
<jsp:getProperty name="graphHelper" property="singleStat" />
|
|
|
|
</div></div></div></body></html>
|