* Routerconsole build: rename include files so they aren't

compiled and bundled separately (~15KB)
This commit is contained in:
zzz
2009-11-21 13:33:57 +00:00
parent 26a71232f0
commit 88dbd7710a
30 changed files with 92 additions and 70 deletions

View File

@ -3,17 +3,17 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head>
<%@include file="css.jsp" %>
<%@include file="css.jsi" %>
<%=intl.title("config networking")%>
</head><body>
<%@include file="summary.jsp" %>
<%@include file="summary.jsi" %>
<jsp:useBean class="net.i2p.router.web.ConfigNetHelper" id="nethelper" scope="request" />
<jsp:setProperty name="nethelper" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
<h1><%=intl._("I2P Network Configuration")%></h1>
<div class="main" id="main">
<%@include file="confignav.jsp" %>
<%@include file="confignav.jsi" %>
<jsp:useBean class="net.i2p.router.web.ConfigNetHandler" id="formhandler" scope="request" />
<jsp:setProperty name="formhandler" property="*" />

View File

@ -3,11 +3,11 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head>
<%@include file="css.jsp" %>
<%@include file="css.jsi" %>
<%=intl.title("config advanced")%>
</head><body>
<%@include file="summary.jsp" %>
<%@include file="summary.jsi" %>
<jsp:useBean class="net.i2p.router.web.ConfigAdvancedHelper" id="advancedhelper" scope="request" />
<jsp:setProperty name="advancedhelper" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
@ -15,7 +15,7 @@
<h1><%=intl._("I2P Advanced Configuration")%></h1>
<div class="main" id="main">
<%@include file="confignav.jsp" %>
<%@include file="confignav.jsi" %>
<jsp:useBean class="net.i2p.router.web.ConfigAdvancedHandler" id="formhandler" scope="request" />
<jsp:setProperty name="formhandler" property="*" />

View File

@ -3,7 +3,7 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head>
<%@include file="css.jsp" %>
<%@include file="css.jsi" %>
<%=intl.title("config clients")%>
<style type='text/css'>
button span.hide{
@ -11,13 +11,13 @@ button span.hide{
}
</style></head><body>
<%@include file="summary.jsp" %>
<%@include file="summary.jsi" %>
<jsp:useBean class="net.i2p.router.web.ConfigClientsHelper" id="clientshelper" scope="request" />
<jsp:setProperty name="clientshelper" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
<h1><%=intl._("I2P Client Configuration")%></h1>
<div class="main" id="main">
<%@include file="confignav.jsp" %>
<%@include file="confignav.jsi" %>
<jsp:useBean class="net.i2p.router.web.ConfigClientsHandler" id="formhandler" scope="request" />
<jsp:setProperty name="formhandler" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />

View File

@ -3,14 +3,14 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head>
<%@include file="css.jsp" %>
<%@include file="css.jsi" %>
<%=intl.title("config keyring")%>
</head><body>
<%@include file="summary.jsp" %>
<%@include file="summary.jsi" %>
<h1><%=intl._("I2P Keyring Configuration")%></h1>
<div class="main" id="main">
<%@include file="confignav.jsp" %>
<%@include file="confignav.jsi" %>
<jsp:useBean class="net.i2p.router.web.ConfigKeyringHandler" id="formhandler" scope="request" />
<jsp:setProperty name="formhandler" property="*" />

View File

@ -3,16 +3,16 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head>
<%@include file="css.jsp" %>
<%@include file="css.jsi" %>
<%=intl.title("config logging")%>
</head><body>
<jsp:useBean class="net.i2p.router.web.ConfigLoggingHelper" id="logginghelper" scope="request" />
<jsp:setProperty name="logginghelper" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
<%@include file="summary.jsp" %>
<%@include file="summary.jsi" %>
<h1><%=intl._("I2P Logging Configuration")%></h1>
<div class="main" id="main">
<%@include file="confignav.jsp" %>
<%@include file="confignav.jsi" %>
<jsp:useBean class="net.i2p.router.web.ConfigLoggingHandler" id="formhandler" scope="request" />
<jsp:setProperty name="formhandler" property="*" />

View File

@ -3,14 +3,14 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head>
<%@include file="css.jsp" %>
<%@include file="css.jsi" %>
<%=intl.title("config peers")%>
</head><body>
<%@include file="summary.jsp" %>
<%@include file="summary.jsi" %>
<h1><%=intl._("I2P Peer Configuration")%></h1>
<div class="main" id="main">
<%@include file="confignav.jsp" %>
<%@include file="confignav.jsi" %>
<jsp:useBean class="net.i2p.router.web.ConfigPeerHandler" id="formhandler" scope="request" />
<jsp:setProperty name="formhandler" property="*" />

View File

@ -3,14 +3,14 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head>
<%@include file="css.jsp" %>
<%@include file="css.jsi" %>
<%=intl.title("config service")%>
</head><body>
<%@include file="summary.jsp" %>
<%@include file="summary.jsi" %>
<h1><%=intl._("I2P Service Configuration")%></h1>
<div class="main" id="main">
<%@include file="confignav.jsp" %>
<%@include file="confignav.jsi" %>
<jsp:useBean class="net.i2p.router.web.ConfigServiceHandler" id="formhandler" scope="request" />
<jsp:setProperty name="formhandler" property="*" />

View File

@ -3,7 +3,7 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head>
<%@include file="css.jsp" %>
<%@include file="css.jsi" %>
<%=intl.title("config stats")%>
<script type="text/javascript">
function init()
@ -52,10 +52,10 @@ function toggleAll(category)
}
</script>
</head><body onLoad="init();">
<%@include file="summary.jsp" %>
<%@include file="summary.jsi" %>
<h1><%=intl._("I2P Stats Configuration")%></h1>
<div class="main" id="main">
<%@include file="confignav.jsp" %>
<%@include file="confignav.jsi" %>
<jsp:useBean class="net.i2p.router.web.ConfigStatsHandler" id="formhandler" scope="request" />
<jsp:setProperty name="formhandler" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />

View File

@ -3,17 +3,17 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head>
<%@include file="css.jsp" %>
<%@include file="css.jsi" %>
<%=intl.title("config tunnels")%>
</head><body>
<%@include file="summary.jsp" %>
<%@include file="summary.jsi" %>
<jsp:useBean class="net.i2p.router.web.ConfigTunnelsHelper" id="tunnelshelper" scope="request" />
<jsp:setProperty name="tunnelshelper" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
<h1><%=intl._("I2P Tunnel Configuration")%></h1>
<div class="main" id="main">
<%@include file="confignav.jsp" %>
<%@include file="confignav.jsi" %>
<jsp:useBean class="net.i2p.router.web.ConfigTunnelsHandler" id="formhandler" scope="request" />
<jsp:setProperty name="formhandler" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
<jsp:setProperty name="formhandler" property="shouldsave" value="<%=request.getParameter("shouldsave")%>" />

View File

@ -3,11 +3,11 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head>
<%@include file="css.jsp" %>
<%@include file="css.jsi" %>
<%=intl.title("config UI")%>
</head><body>
<%@include file="summary.jsp" %>
<%@include file="summary.jsi" %>
<jsp:useBean class="net.i2p.router.web.ConfigUIHelper" id="uihelper" scope="request" />
<jsp:setProperty name="uihelper" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
@ -15,7 +15,7 @@
<h1><%=uihelper._("I2P UI Configuration")%></h1>
<div class="main" id="main">
<%@include file="confignav.jsp" %>
<%@include file="confignav.jsi" %>
<jsp:useBean class="net.i2p.router.web.ConfigUIHandler" id="formhandler" scope="request" />
<jsp:setProperty name="formhandler" property="*" />

View File

@ -3,14 +3,14 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head>
<%@include file="css.jsp" %>
<%@include file="css.jsi" %>
<%=intl.title("config update")%>
</head><body>
<%@include file="summary.jsp" %>
<%@include file="summary.jsi" %>
<h1><%=intl._("I2P Update Configuration")%></h1>
<div class="main" id="main">
<%@include file="confignav.jsp" %>
<%@include file="confignav.jsi" %>
<jsp:useBean class="net.i2p.router.web.ConfigUpdateHandler" id="formhandler" scope="request" />
<jsp:setProperty name="formhandler" property="*" />

View File

@ -7,9 +7,9 @@
*/
%>
<html><head><title>I2P Router Console - Debug</title>
<%@include file="css.jsp" %>
<%@include file="css.jsi" %>
</head><body>
<%@include file="summary.jsp" %>
<%@include file="summary.jsi" %>
<h1>Router SKM</h1>
<div class="main" id="main">
<%

View File

@ -13,10 +13,10 @@
// If it can't find the iframe or viewtheme.jsp I wonder if the whole thing blows up...
%>
<html><head>
<%@include file="css.jsp" %>
<%@include file="css.jsi" %>
<%=intl.title("Page Not Found")%>
</head><body>
<%@include file="summary.jsp" %>
<%@include file="summary.jsi" %>
<h1><%=ERROR_CODE%> <%=ERROR_MESSAGE%></h1>
<div class="sorry" id="warning">
<%=intl._("Sorry! You appear to be requesting a non-existent Router Console page or resource.")%><hr>

View File

@ -3,11 +3,11 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head>
<%@include file="css.jsp" %>
<%@include file="css.jsi" %>
<%=intl.title("graphs")%>
</head><body>
<%@include file="summary.jsp" %>
<%@include file="summary.jsi" %>
<h1><%=intl._("I2P Performance Graphs")%></h1>
<div class="main" id="main">
<div class="graphspanel">

View File

@ -7,9 +7,9 @@
*/
%>
<html><head><title>I2P Router Console - help</title>
<%@include file="css.jsp" %>
<%@include file="css.jsi" %>
</head><body>
<%@include file="summary.jsp" %>
<%@include file="summary.jsi" %>
<h1>I2P Router Help & Support</h1>
<div class="main" id="main"><p>
If you'd like to help improve or translate the documentation, or

View File

@ -3,7 +3,7 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head>
<%@include file="css.jsp" %>
<%@include file="css.jsi" %>
<%=intl.title("home")%>
</head><body>
<%
@ -12,7 +12,7 @@ if (System.getProperty("router.consoleNonce") == null) {
}
%>
<%@include file="summary.jsp" %><h1><%=intl._("I2P Router Console")%></h1>
<%@include file="summary.jsi" %><h1><%=intl._("I2P Router Console")%></h1>
<div class="news" id="news">
<jsp:useBean class="net.i2p.router.web.ContentHelper" id="newshelper" scope="request" />
<% java.io.File fpath = new java.io.File(net.i2p.I2PAppContext.getGlobalContext().getRouterDir(), "docs/news.xml"); %>

View File

@ -3,10 +3,10 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head>
<%@include file="css.jsp" %>
<%@include file="css.jsi" %>
<%=intl.title("job queue")%>
</head><body>
<%@include file="summary.jsp" %><h1><%=intl._("I2P Router Job Queue")%></h1>
<%@include file="summary.jsi" %><h1><%=intl._("I2P Router Job Queue")%></h1>
<div class="main" id="main">
<jsp:useBean class="net.i2p.router.web.JobQueueHelper" id="jobQueueHelper" scope="request" />
<jsp:setProperty name="jobQueueHelper" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />

View File

@ -3,10 +3,10 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head>
<%@include file="css.jsp" %>
<%@include file="css.jsi" %>
<%=intl.title("logs")%>
</head><body>
<%@include file="summary.jsp" %>
<%@include file="summary.jsi" %>
<h1><%=intl._("I2P Router Logs")%></h1>
<div class="main" id="main">
<div class="joblog"><h3><%=intl._("I2P Version & Running Environment")%></h3><a name="version"> </a>

View File

@ -3,10 +3,10 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head>
<%@include file="css.jsp" %>
<%@include file="css.jsi" %>
<%=intl.title("network database summary")%>
</head><body>
<%@include file="summary.jsp" %>
<%@include file="summary.jsi" %>
<h1><%=intl._("I2P Network Database Summary")%></h1>
<div class="main" id="main">
<div class="wideload">

View File

@ -7,9 +7,9 @@
*/
%>
<html><head><title>I2P Router Console - internals</title>
<%@include file="css.jsp" %>
<%@include file="css.jsi" %>
</head><body>
<%@include file="summary.jsp" %>
<%@include file="summary.jsi" %>
<jsp:useBean class="net.i2p.router.web.OldConsoleHelper" id="conhelper" scope="request" />
<jsp:setProperty name="conhelper" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
<jsp:setProperty name="conhelper" property="writer" value="<%=out%>" />

View File

@ -3,10 +3,10 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head>
<%@include file="css.jsp" %>
<%@include file="css.jsi" %>
<%=intl.title("peer connections")%>
</head><body>
<%@include file="summary.jsp" %>
<%@include file="summary.jsi" %>
<h1><%=intl._("I2P Network Peers")%></h1>
<div class="main" id="main">
<jsp:useBean class="net.i2p.router.web.PeerHelper" id="peerHelper" scope="request" />

View File

@ -3,9 +3,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head>
<%@include file="css.jsp" %>
<%@include file="css.jsi" %>
<%=intl.title("peer profiles")%>
</head><body><%@include file="summary.jsp" %>
</head><body><%@include file="summary.jsi" %>
<h1><%=intl._("I2P Network Peer Profiles")%></h1>
<div class="main" id="main"><div class="wideload">
<jsp:useBean class="net.i2p.router.web.ProfilesHelper" id="profilesHelper" scope="request" />

View File

@ -3,10 +3,10 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head>
<%@include file="css.jsp" %>
<%@include file="css.jsi" %>
<%=intl.title("statistics")%>
</head><body>
<%@include file="summary.jsp" %>
<%@include file="summary.jsi" %>
<jsp:useBean class="net.i2p.router.web.OldConsoleHelper" id="oldhelper" scope="request" />
<jsp:setProperty name="oldhelper" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
<jsp:setProperty name="oldhelper" property="writer" value="<%=out%>" />

View File

@ -14,7 +14,7 @@
out.print("<iframe src=\"summaryframe.jsp" + newDelay + "\" height=\"1500\" width=\"200\" scrolling=\"auto\" frameborder=\"0\" title=\"sidepanel\">\n");
%>
<div class="routersummary">
<%@include file="summarynoframe.jsp" %>
<%@include file="summarynoframe.jsi" %>
<%
// d defined above
if (!"0".equals(d)) {

View File

@ -8,7 +8,7 @@
*/
%>
<html><head>
<%@include file="css.jsp" %>
<%@include file="css.jsi" %>
<title>Summary Bar</title>
<%
// try hard to avoid an error page in the iframe after shutdown
@ -25,7 +25,7 @@
} else {
System.setProperty("routerconsole.summaryRefresh", d);
}
// we probably don't get here if d == "0" since caught in summary.jsp, but just
// we probably don't get here if d == "0" since caught in summary.jsi, but just
// to be sure...
if (!"0".equals(d)) {
// doesn't work for restart or shutdown with no expl. tunnels,
@ -49,7 +49,7 @@
}
%>
</head><body style="margin: 0;"><div class="routersummary">
<%@include file="summarynoframe.jsp" %>
<%@include file="summarynoframe.jsi" %>
<%
// d and shutdownSoon defined above
if (!shutdownSoon) {

View File

@ -3,10 +3,10 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head>
<%@include file="css.jsp" %>
<%@include file="css.jsi" %>
<%=intl.title("tunnel summary")%>
</head><body>
<%@include file="summary.jsp" %><h1><%=intl._("I2P Tunnel Summary")%></h1>
<%@include file="summary.jsi" %><h1><%=intl._("I2P Tunnel Summary")%></h1>
<div class="main" id="main">
<jsp:useBean class="net.i2p.router.web.TunnelHelper" id="tunnelHelper" scope="request" />
<jsp:setProperty name="tunnelHelper" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />