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

@@ -9,7 +9,13 @@
%>
<html><head><title>I2P Router Console - Debug</title>
<%@include file="css.jsi" %>
</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()">
<%@include file="summary.jsi" %>
<h1>Router SKM</h1>
<div class="main" id="main">