Changeset 2bfbcf1a for apps


Ignore:
Timestamp:
Nov 13, 2018 5:48:58 PM (20 months ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
9377b57
Parents:
f8f6375
Message:

jsi whitespace removal

Location:
apps/routerconsole/jsp
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • apps/routerconsole/jsp/css.jsi

    rf8f6375 r2bfbcf1a  
    2929       }
    3030   } catch (IllegalStateException ise) {}
    31 %>
    32 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
     31%><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    3332<jsp:useBean class="net.i2p.router.web.CSSHelper" id="intl" scope="request" />
    3433<jsp:setProperty name="intl" property="contextId" value="<%=i2pcontextId%>" />
    35 <link rel="icon" href="<%=intl.getTheme(request.getHeader("User-Agent"))%>images/favicon.ico">
    36 <%
     34<link rel="icon" href="<%=intl.getTheme(request.getHeader("User-Agent"))%>images/favicon.ico"><%
    3735   response.setHeader("Accept-Ranges", "none");
    3836
     
    5452       intl.setNews(request.getParameter("news"));
    5553   }
    56 %>
    57 <link href="<%=intl.getTheme(request.getHeader("User-Agent"))%>console.css?<%=net.i2p.CoreVersion.VERSION%>" rel="stylesheet" type="text/css">
     54%><link href="<%=intl.getTheme(request.getHeader("User-Agent"))%>console.css?<%=net.i2p.CoreVersion.VERSION%>" rel="stylesheet" type="text/css">
    5855<%
    5956   if (intl.getLang().equals("zh")) {
    6057       // make the fonts bigger for chinese
    61 %>
    62 <link href="<%=intl.getTheme(request.getHeader("User-Agent"))%>console_big.css?<%=net.i2p.CoreVersion.VERSION%>" rel="stylesheet" type="text/css">
     58%><link href="<%=intl.getTheme(request.getHeader("User-Agent"))%>console_big.css?<%=net.i2p.CoreVersion.VERSION%>" rel="stylesheet" type="text/css">
    6359<%
    6460   } else if (intl.getLang().equals("ar")) {
    6561       // Use RTL theme for Arabic
    66 %>
    67 <link href="<%=intl.getTheme(request.getHeader("User-Agent"))%>console_ar.css?<%=net.i2p.CoreVersion.VERSION%>" rel="stylesheet" type="text/css">
     62%><link href="<%=intl.getTheme(request.getHeader("User-Agent"))%>console_ar.css?<%=net.i2p.CoreVersion.VERSION%>" rel="stylesheet" type="text/css">
    6863<%
    6964   }
    7065   if (!intl.allowIFrame(request.getHeader("User-Agent"))) {
    71 %>
    72 <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
     66%><meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
    7367<link href="<%=intl.getTheme(request.getHeader("User-Agent"))%>mobile.css?<%=net.i2p.CoreVersion.VERSION%>" rel="stylesheet" type="text/css">
    7468<%
    7569   }
    76 %>
    77 <!--[if IE]><link href="/themes/console/classic/ieshim.css?<%=net.i2p.CoreVersion.VERSION%>" rel="stylesheet" type="text/css" /><![endif]-->
     70%><!--[if IE]><link href="/themes/console/classic/ieshim.css?<%=net.i2p.CoreVersion.VERSION%>" rel="stylesheet" type="text/css" /><![endif]-->
  • apps/routerconsole/jsp/xhr1.jsi

    rf8f6375 r2bfbcf1a  
    1 <%@page import="net.i2p.router.web.helpers.SummaryHelper" %>
    2 <%
     1<%@page import="net.i2p.router.web.helpers.SummaryHelper" %><%
    32/*
    43 * Note:
    54 * This is included on every refresh, so keep whitespace etc. to a minimum.
    65 */
    7 %>
    8 <jsp:useBean class="net.i2p.router.web.helpers.SummaryHelper" id="helper" scope="request" />
     6%><jsp:useBean class="net.i2p.router.web.helpers.SummaryHelper" id="helper" scope="request" />
    97<jsp:setProperty name="helper" property="contextId" value="<%=i2pcontextId%>" />
    108<jsp:setProperty name="helper" property="action" value="<%=request.getParameter(\"action\")%>" />
    119<jsp:setProperty name="helper" property="updateNonce" value="<%=request.getParameter(\"updateNonce\")%>" />
    12 <jsp:setProperty name="helper" property="consoleNonce" value="<%=request.getParameter(\"consoleNonce\")%>" />
    13 <%
     10<jsp:setProperty name="helper" property="consoleNonce" value="<%=request.getParameter(\"consoleNonce\")%>" /><%
    1411    String reqURI = request.getRequestURI();
    1512    if (reqURI.contains("/xhr1"))
    1613        reqURI = request.getParameter("requestURI");
    1714    helper.setRequestURI(reqURI);
    18 %>
    19 <% helper.storeWriter(out); %>
    20 <% helper.storeNewsHelper(newshelper); %>
    21 <%
     15    helper.storeWriter(out);
     16    helper.storeNewsHelper(newshelper);
    2217/*
    2318 * The following is required for the reseed button to work, although we probably
    2419 * only need the reseedNonce property.
    2520 */
    26 %>
    27 <jsp:useBean class="net.i2p.router.web.helpers.ReseedHandler" id="reseed" scope="request" />
    28 <jsp:setProperty name="reseed" property="*" />
    29 <%
     21%><jsp:useBean class="net.i2p.router.web.helpers.ReseedHandler" id="reseed" scope="request" />
     22<jsp:setProperty name="reseed" property="*" /><%
    3023/*
    3124 * The following is required for the update buttons to work, although we probably
    3225 * only need the updateNonce property.
    3326 */
    34 %>
    35 <jsp:useBean class="net.i2p.router.web.UpdateHandler" id="update" scope="request" />
     27%><jsp:useBean class="net.i2p.router.web.UpdateHandler" id="update" scope="request" />
    3628<jsp:setProperty name="update" property="*" />
    37 <jsp:setProperty name="update" property="contextId" value="<%=i2pcontextId%>" />
    38 <%
     29<jsp:setProperty name="update" property="contextId" value="<%=i2pcontextId%>" /><%
    3930    // moved to java for ease of translation
    4031    helper.renderSummaryBar();
Note: See TracChangeset for help on using the changeset viewer.