Added Ajax script to every routerconsole page that includes summary.jsi

This commit is contained in:
str4d
2012-06-05 13:37:10 +00:00
parent 83c8233812
commit 420bf851b5
34 changed files with 240 additions and 33 deletions

View File

@@ -6,7 +6,13 @@
<html><head>
<%@include file="css.jsi" %>
<%=intl.title("config logging")%>
</head><body>
<script src="/js/ajax.js" type="text/javascript"></script>
<script type="text/javascript">
var failMessage = "<hr><b><%=intl._("Router is down")%><\/b>";
function requestAjax1() { ajax("/xhr1.jsp", "xhr", <%=intl.getRefresh()%>000); }
function initAjax() { setTimeout(requestAjax1, <%=intl.getRefresh()%>000); }
</script>
</head><body onload="initAjax()">
<jsp:useBean class="net.i2p.router.web.ConfigLoggingHelper" id="logginghelper" scope="request" />
<jsp:setProperty name="logginghelper" property="contextId" value="<%=(String)session.getAttribute(\"i2p.contextId\")%>" />