I2P

Invisible Internet Project


root/apps/routerconsole/jsp/nowebapp.jsp @ fb4425cd3e38762f211f73d91c7a173972e7145c

Revision fb4425cd3e38762f211f73d91c7a173972e7145c, 0.9 KB (checked in by str4d@…, 12 months ago)

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

Line 
1<%@page contentType="text/html"%>
2<%@page trimDirectiveWhitespaces="true"%>
3<%@page pageEncoding="UTF-8"%>
4<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
5<%
6    response.setStatus(404, "Not Found");
7%>
8<html><head>
9<%@include file="css.jsi" %>
10<%=intl.title("WebApp Not Found")%>
11<script src="/js/ajax.js" type="text/javascript"></script>
12<script type="text/javascript">
13  var failMessage = "<hr><b><%=intl._("Router is down")%><\/b>";
14  function requestAjax1() { ajax("/xhr1.jsp", "xhr", <%=intl.getRefresh()%>000); }
15  function initAjax() { setTimeout(requestAjax1, <%=intl.getRefresh()%>000);  }
16</script>
17</head><body onload="initAjax()">
18<%@include file="summary.jsi" %>
19<h1><%=intl._("Web Application Not Running")%></h1>
20<div class="sorry" id="warning">
21<%=intl._("The requested web application is not running.")%>
22<%=intl._("Please visit the <a href=\"/configclients.jsp#webapp\">config clients page</a> to start it.")%>
23</div></body></html>
Note: See TracBrowser for help on using the browser.