diff --git a/apps/routerconsole/jsp/css.jsi b/apps/routerconsole/jsp/css.jsi index 6bdafa20c..2687e532e 100644 --- a/apps/routerconsole/jsp/css.jsi +++ b/apps/routerconsole/jsp/css.jsi @@ -28,12 +28,10 @@ i2pcontextId = (String) session.getAttribute("i2p.contextId"); } } catch (IllegalStateException ise) {} -%> - +%> -images/favicon.ico"> -<% +images/favicon.ico"><% response.setHeader("Accept-Ranges", "none"); // clickjacking @@ -53,25 +51,20 @@ intl.setLang(request.getParameter("lang")); intl.setNews(request.getParameter("news")); } -%> -console.css?<%=net.i2p.CoreVersion.VERSION%>" rel="stylesheet" type="text/css"> +%>console.css?<%=net.i2p.CoreVersion.VERSION%>" rel="stylesheet" type="text/css"> <% if (intl.getLang().equals("zh")) { // make the fonts bigger for chinese -%> -console_big.css?<%=net.i2p.CoreVersion.VERSION%>" rel="stylesheet" type="text/css"> +%>console_big.css?<%=net.i2p.CoreVersion.VERSION%>" rel="stylesheet" type="text/css"> <% } else if (intl.getLang().equals("ar")) { // Use RTL theme for Arabic -%> -console_ar.css?<%=net.i2p.CoreVersion.VERSION%>" rel="stylesheet" type="text/css"> +%>console_ar.css?<%=net.i2p.CoreVersion.VERSION%>" rel="stylesheet" type="text/css"> <% } if (!intl.allowIFrame(request.getHeader("User-Agent"))) { -%> - +%> mobile.css?<%=net.i2p.CoreVersion.VERSION%>" rel="stylesheet" type="text/css"> <% } -%> - +%> diff --git a/apps/routerconsole/jsp/xhr1.jsi b/apps/routerconsole/jsp/xhr1.jsi index 572e497d8..31071edcc 100644 --- a/apps/routerconsole/jsp/xhr1.jsi +++ b/apps/routerconsole/jsp/xhr1.jsi @@ -1,41 +1,32 @@ -<%@page import="net.i2p.router.web.helpers.SummaryHelper" %> -<% +<%@page import="net.i2p.router.web.helpers.SummaryHelper" %><% /* * Note: * This is included on every refresh, so keep whitespace etc. to a minimum. */ -%> - +%> " /> " /> -" /> -<% +" /><% String reqURI = request.getRequestURI(); if (reqURI.contains("/xhr1")) reqURI = request.getParameter("requestURI"); helper.setRequestURI(reqURI); -%> -<% helper.storeWriter(out); %> -<% helper.storeNewsHelper(newshelper); %> -<% + helper.storeWriter(out); + helper.storeNewsHelper(newshelper); /* * The following is required for the reseed button to work, although we probably * only need the reseedNonce property. */ -%> - - -<% +%> +<% /* * The following is required for the update buttons to work, although we probably * only need the updateNonce property. */ -%> - +%> - -<% +<% // moved to java for ease of translation helper.renderSummaryBar(); %>