Changeset 62437ac


Ignore:
Timestamp:
May 23, 2016 5:41:24 AM (4 years ago)
Author:
str4d <str4d@…>
Branches:
master
Children:
bbc2454
Parents:
9cbcf5b
Message:

More ids and classes

Location:
apps
Files:
30 edited

Legend:

Unmodified
Added
Removed
  • apps/routerconsole/java/src/net/i2p/router/web/JobQueueHelper.java

    r9cbcf5b r62437ac  
    4848       
    4949        StringBuilder buf = new StringBuilder(32*1024);
    50         buf.append("<div class=\"wideload\"><div class=\"joblog\">")
     50        buf.append("<div class=\"joblog\">")
    5151           .append("<h3 id=\"jobrunners\">")
    5252           .append(_t("Job runners")).append(": ").append(numRunners)
     
    149149     */
    150150    private void getJobStats(StringBuilder buf) {
    151         buf.append("<table id=\"jobstats\">\n" +
     151        buf.append("<div class=\"widescroll\"><table id=\"jobstats\">\n" +
    152152                   "<tr><th>").append(_t("Job")).append("</th><th>").append(_t("Runs")).append("</th>" +
    153153                   "<th>").append(_t("Dropped")).append("</th>" +
  • apps/routerconsole/java/src/net/i2p/router/web/SummaryBarRenderer.java

    r9cbcf5b r62437ac  
    140140           .append("</a></h3>\n" +
    141141
    142                    "<hr class=\"b\"><table id=\"services\"><tr><td>" +
     142                   "<hr class=\"b\"><table id=\"sb_services\"><tr><td>" +
    143143
    144144                   "<a href=\"/susimail/susimail\" target=\"_blank\" title=\"")
     
    178178           .append("</a></h3><hr class=\"b\">\n" +
    179179
    180                    "<table><tr><td>\n" +
     180                   "<table id=\"sb_internals\"><tr><td>\n" +
    181181
    182182                   "<a href=\"/tunnels\" target=\"_top\" title=\"")
     
    260260           .append("</a></h3><hr class=\"b\">\n" +
    261261
    262                    "<table><tr>" +
     262                   "<table id=\"sb_localid\"><tr>" +
    263263                   "<td align=\"left\"><b title=\"")
    264264           .append(_t("Your Local Identity is your unique I2P router identity, similar to an ip address but tailored to I2P. "))
     
    278278           .append("</a></td></tr>\n" +
    279279
    280                    "</table><table>" + // fix for some rows with a big left side and some with a big right side
     280                   "</table><table id=\"sb_version\">" + // fix for some rows with a big left side and some with a big right side
    281281                   "<tr title=\"")
    282282           .append(_t("The version of the I2P software we are running"))
     
    289289           .append("</td></tr>\n" +
    290290
    291                    "</table><table>" + // fix for some rows with a big left side and some with a big right side
     291                   "</table><table id=\"sb_uptime\">" + // fix for some rows with a big left side and some with a big right side
    292292                   "<tr title=\"")
    293293           .append(_t("How long we've been running for this session"))
     
    305305        if (_helper == null) return "";
    306306        StringBuilder buf = new StringBuilder(512);
    307         buf.append("<table>" +
     307        buf.append("<table id=\"sb_shortgeneral\">" +
    308308                   "<tr title=\"")
    309309           .append(_t("The version of the I2P software we are running"))
     
    388388           .append("</a></h3><hr class=\"b\">\n" +
    389389
    390                    "<table>\n" +
     390                   "<table id=\"sb_peers\">\n" +
    391391
    392392                   "<tr title=\"")
     
    457457           .append(_t("Bandwidth in/out"))
    458458           .append("</a></h3><hr class=\"b\">" +
    459                    "<table id=\"bandwidth\">\n" +
     459                   "<table id=\"sb_bandwidth\">\n" +
    460460
    461461                   "<tr><td align=\"left\"><b>")
     
    501501           .append(_t("Tunnels"))
    502502           .append("</a></h3><hr class=\"b\">" +
    503                    "<table>\n" +
     503                   "<table id=\"sb_tunnels\">\n" +
    504504
    505505                   "<tr title=\"")
     
    551551           .append(_t("Congestion"))
    552552           .append("</a></h3><hr class=\"b\">" +
    553                    "<table>\n" +
     553                   "<table id=\"sb_queue\">\n" +
    554554
    555555                   "<tr title=\"")
  • apps/routerconsole/java/src/net/i2p/router/web/SummaryHelper.java

    r9cbcf5b r62437ac  
    438438           .append(_t("Add/remove/edit &amp; control your client and server tunnels"))
    439439           .append("\">").append(_t("Local Tunnels"))
    440            .append("</a></h3><hr class=\"b\"><div class=\"tunnels\">");
     440           .append("</a></h3><hr class=\"b\">");
    441441        if (!clients.isEmpty()) {
    442442            Collections.sort(clients, new AlphaComparator());
    443             buf.append("<table>");
     443            buf.append("<table id=\"sb_localtunnels\">");
    444444           
    445445            for (Destination client : clients) {
     
    479479            buf.append("<center><i>").append(_t("none")).append("</i></center>");
    480480        }
    481         buf.append("</div>\n");
    482481        return buf.toString();
    483482    }
     
    698697        boolean needSpace = false;
    699698        if (status.length() > 0) {
    700             buf.append("<h4>").append(status).append("</h4>\n");
     699            buf.append("<h4 class=\"sb_info\">").append(status).append("</h4>\n");
    701700            needSpace = true;
    702701        }
     
    714713            else
    715714                needSpace = true;
    716             buf.append("<h4><b>").append(_t("Update downloaded")).append("<br>");
     715            buf.append("<h4 class=\"sb_info\"><b>").append(_t("Update downloaded")).append("<br>");
    717716            if (_context.hasWrapper())
    718717                buf.append(_t("Click Restart to install"));
     
    735734            else
    736735                needSpace = true;
    737             buf.append("<h4><b>").append(_t("Update available")).append(":<br>");
     736            buf.append("<h4 class=\"sb_info\"><b>").append(_t("Update available")).append(":<br>");
    738737            buf.append(_t("Version {0}", getUpdateVersion())).append("<br>");
    739738            buf.append(constraint).append("</b></h4>");
     
    747746            else
    748747                needSpace = true;
    749             buf.append("<h4><b>").append(_t("Update available")).append(":<br>");
     748            buf.append("<h4 class=\"sb_info\"><b>").append(_t("Update available")).append(":<br>");
    750749            buf.append(_t("Version {0}", getUnsignedUpdateVersion())).append("<br>");
    751750            buf.append(unsignedConstraint).append("</b></h4>");
     
    759758            else
    760759                needSpace = true;
    761             buf.append("<h4><b>").append(_t("Update available")).append(":<br>");
     760            buf.append("<h4 class=\"sb_info\"><b>").append(_t("Update available")).append(":<br>");
    762761            buf.append(_t("Version {0}", getDevSU3UpdateVersion())).append("<br>");
    763762            buf.append(devSU3Constraint).append("</b></h4>");
     
    822821        StringBuilder buf = new StringBuilder(256);
    823822        if (showFirewallWarning()) {
    824             buf.append("<h4><a href=\"/confignet\" target=\"_top\" title=\"")
     823            buf.append("<h4 id=\"sb_warning\"><a href=\"/confignet\" target=\"_top\" title=\"")
    825824               .append(_t("Help with firewall configuration"))
    826825               .append("\">")
  • apps/routerconsole/jsp/certs.jsp

    r9cbcf5b r62437ac  
    1010</head><body onload="initAjax()">
    1111<%@include file="summary.jsi" %><h1><%=intl._t("Certificates")%></h1>
    12 <div class="main" id="main">
     12<div class="main" id="certs">
    1313<jsp:useBean class="net.i2p.router.web.CertHelper" id="certhelper" scope="request" />
    1414<jsp:setProperty name="certhelper" property="contextId" value="<%=(String)session.getAttribute(\"i2p.contextId\")%>" />
  • apps/routerconsole/jsp/config.jsp

    r9cbcf5b r62437ac  
    1616<jsp:setProperty name="nethelper" property="contextId" value="<%=(String)session.getAttribute(\"i2p.contextId\")%>" />
    1717<h1><%=intl._t("I2P Bandwidth Configuration")%></h1>
    18 <div class="main" id="help">
     18<div class="main" id="config_bandwidth">
    1919 <%@include file="confignav.jsi" %>
    2020
  • apps/routerconsole/jsp/configadvanced.jsp

    r9cbcf5b r62437ac  
    1717
    1818<h1><%=intl._t("I2P Advanced Configuration")%></h1>
    19 <div class="main" id="main">
     19<div class="main" id="config_advanced">
    2020
    2121 <%@include file="confignav.jsi" %>
  • apps/routerconsole/jsp/configclients.jsp

    r9cbcf5b r62437ac  
    2222<jsp:setProperty name="clientshelper" property="edit" value="<%=request.getParameter(\"edit\")%>" />
    2323<h1><%=intl._t("I2P Client Configuration")%></h1>
    24 <div class="main" id="main">
     24<div class="main" id="config_clients">
    2525 <%@include file="confignav.jsi" %>
    2626
  • apps/routerconsole/jsp/configfamily.jsp

    r9cbcf5b r62437ac  
    1515<jsp:setProperty name="familyHelper" property="contextId" value="<%=(String)session.getAttribute(\"i2p.contextId\")%>" />
    1616<h1><%=intl._t("I2P Router Family Configuration")%></h1>
    17 <div class="main" id="main">
     17<div class="main" id="config_family">
    1818<%@include file="confignav.jsi" %>
    1919
  • apps/routerconsole/jsp/confighome.jsp

    r9cbcf5b r62437ac  
    1919<%@include file="summary.jsi" %>
    2020<h1><%=intl._t("I2P Home Page Configuration")%></h1>
    21 <div class="main" id="main">
     21<div class="main" id="config_homepage">
    2222<%@include file="confignav.jsi" %>
    2323
  • apps/routerconsole/jsp/configkeyring.jsp

    r9cbcf5b r62437ac  
    1212<%@include file="summary.jsi" %>
    1313<h1><%=intl._t("I2P Keyring Configuration")%></h1>
    14 <div class="main" id="main">
     14<div class="main" id="config_keyring">
    1515 <%@include file="confignav.jsi" %>
    1616
  • apps/routerconsole/jsp/configlogging.jsp

    r9cbcf5b r62437ac  
    1515<%@include file="summary.jsi" %>
    1616<h1><%=intl._t("I2P Logging Configuration")%></h1>
    17 <div class="main" id="main">
     17<div class="main" id="config_logging">
    1818 <%@include file="confignav.jsi" %>
    1919
  • apps/routerconsole/jsp/confignet.jsp

    r9cbcf5b r62437ac  
    1515<jsp:setProperty name="nethelper" property="contextId" value="<%=(String)session.getAttribute(\"i2p.contextId\")%>" />
    1616<h1><%=intl._t("I2P Network Configuration")%></h1>
    17 <div class="main" id="main">
     17<div class="main" id="config_network">
    1818 <%@include file="confignav.jsi" %>
    1919
  • apps/routerconsole/jsp/configpeer.jsp

    r9cbcf5b r62437ac  
    1212<%@include file="summary.jsi" %>
    1313<h1><%=intl._t("I2P Peer Configuration")%></h1>
    14 <div class="main" id="main">
     14<div class="main" id="config_peers">
    1515 <%@include file="confignav.jsi" %>
    1616
  • apps/routerconsole/jsp/configreseed.jsp

    r9cbcf5b r62437ac  
    1515<jsp:setProperty name="reseedHelper" property="contextId" value="<%=(String)session.getAttribute(\"i2p.contextId\")%>" />
    1616<h1><%=intl._t("I2P Reseeding Configuration")%></h1>
    17 <div class="main" id="main">
     17<div class="main" id="config_reseed">
    1818<%@include file="confignav.jsi" %>
    1919
  • apps/routerconsole/jsp/configservice.jsp

    r9cbcf5b r62437ac  
    1212<%@include file="summary.jsi" %>
    1313<h1><%=intl._t("I2P Service Configuration")%></h1>
    14 <div class="main" id="main">
     14<div class="main" id="config_service">
    1515 <%@include file="confignav.jsi" %>
    1616
  • apps/routerconsole/jsp/configsidebar.jsp

    r9cbcf5b r62437ac  
    1919<%@include file="summary.jsi" %>
    2020<h1><%=intl._t("I2P Summary Bar Configuration")%></h1>
    21 <div class="main" id="main">
     21<div class="main" id="config_summarybar">
    2222<%@include file="confignav.jsi" %>
    2323
  • apps/routerconsole/jsp/configstats.jsp

    r9cbcf5b r62437ac  
    6363<%@include file="summary.jsi" %>
    6464<h1><%=intl._t("I2P Stats Configuration")%></h1>
    65 <div class="main" id="main">
     65<div class="main" id="config_stats">
    6666 <%@include file="confignav.jsi" %>
    6767
  • apps/routerconsole/jsp/configtunnels.jsp

    r9cbcf5b r62437ac  
    1515<jsp:setProperty name="tunnelshelper" property="contextId" value="<%=(String)session.getAttribute(\"i2p.contextId\")%>" />
    1616<h1><%=intl._t("I2P Tunnel Configuration")%></h1>
    17 <div class="main" id="main">
     17<div class="main" id="config_tunnels">
    1818 <%@include file="confignav.jsi" %>
    1919 <jsp:useBean class="net.i2p.router.web.ConfigTunnelsHandler" id="formhandler" scope="request" />
  • apps/routerconsole/jsp/configui.jsp

    r9cbcf5b r62437ac  
    2424
    2525<h1><%=uihelper._t("I2P UI Configuration")%></h1>
    26 <div class="main" id="main">
     26<div class="main" id="config_ui">
    2727
    2828 <%@include file="confignav.jsi" %>
  • apps/routerconsole/jsp/configupdate.jsp

    r9cbcf5b r62437ac  
    1313<%@include file="summary.jsi" %>
    1414<h1><%=intl._t("I2P Update Configuration")%></h1>
    15 <div class="main" id="main">
     15<div class="main" id="config_update">
    1616 <%@include file="confignav.jsi" %>
    1717
  • apps/routerconsole/jsp/debug.jsp

    r9cbcf5b r62437ac  
    1515<%@include file="summary.jsi" %>
    1616<h1>Router Debug</h1>
    17 <div class="main" id="main">
     17<div class="main" id="debug">
    1818<%
    1919    /*
  • apps/routerconsole/jsp/logs.jsp

    r9cbcf5b r62437ac  
    5858<tr><td><b>Charset:</b></td><td><%=java.nio.charset.Charset.defaultCharset().name()%></td></tr></tbody></table>
    5959
    60 <h3 class="tabletitle"><%=intl._t("Critical Logs")%></h3><a name="criticallogs"> </a>
     60<h3 class="tabletitle"><%=intl._t("Critical Logs")%></h3>
    6161<table id="criticallogs" class="logtable"><tbody>
    6262<tr><td>
     
    7979</tbody></table>
    8080
    81 <h3 class="tabletitle"><%=intl._t("Service (Wrapper) Logs")%></h3><a name="servicelogs"> </a>
     81<h3 class="tabletitle" id="servicelogs"><%=intl._t("Service (Wrapper) Logs")%></h3>
    8282<table id="wrapperlogs" class="logtable"><tbody>
    8383<tr><td>
  • apps/routerconsole/jsp/oldconsole.jsp

    r9cbcf5b r62437ac  
    1818<% conhelper.storeWriter(out); %>
    1919 <h1>I2P Router &raquo; Old Console</h1>
    20 <div class="main" id="main"><p id="oldconsole">
     20<div class="main" id="oldconsole"><p>
    2121 <jsp:getProperty name="conhelper" property="console" />
    2222</p></div></body></html>
  • apps/routerconsole/jsp/peers.jsp

    r9cbcf5b r62437ac  
    1212<%@include file="summary.jsi" %>
    1313<h1><%=intl._t("I2P Network Peers")%></h1>
    14 <div class="main" id="main">
     14<div class="main" id="peers">
    1515 <jsp:useBean class="net.i2p.router.web.PeerHelper" id="peerHelper" scope="request" />
    1616 <jsp:setProperty name="peerHelper" property="contextId" value="<%=(String)session.getAttribute(\"i2p.contextId\")%>" />
  • apps/routerconsole/jsp/profiles.jsp

    r9cbcf5b r62437ac  
    1212<%@include file="summary.jsi" %>
    1313<h1><%=intl._t("I2P Network Peer Profiles")%></h1>
    14 <div class="main" id="main"><div class="wideload">
     14<div class="main" id="profiles"><div class="wideload">
    1515 <jsp:useBean class="net.i2p.router.web.ProfilesHelper" id="profilesHelper" scope="request" />
    1616 <jsp:setProperty name="profilesHelper" property="contextId" value="<%=(String)session.getAttribute(\"i2p.contextId\")%>" />
  • apps/routerconsole/jsp/proof.jsp

    r9cbcf5b r62437ac  
    1010</head><body onload="initAjax()">
    1111<%@include file="summary.jsi" %><h1>Proof of Ownership</h1>
    12 <div class="main" id="main"><p id="proof">
     12<div class="main" id="proof"><p>
    1313<jsp:useBean class="net.i2p.router.web.ProofHelper" id="proofHelper" scope="request" />
    1414<jsp:setProperty name="proofHelper" property="contextId" value="<%=(String)session.getAttribute(\"i2p.contextId\")%>" />
  • apps/routerconsole/jsp/torrents.jsp

    r9cbcf5b r62437ac  
    3232
    3333<h1><%=intl._t("I2P Torrent Downloader")%> <span class="newtab"><a href="/i2psnark/" target="_blank" title="<%=intl._t("Open in new tab")%>"><img src="<%=intl.getTheme(request.getHeader("User-Agent"))%>images/newtab.png" /></a></span></h1>
    34 <div class="main" id="main">
     34<div class="main" id="torrents">
    3535<iframe src="/i2psnark/" width="100%" height="100%" frameborder="0" border="0" name="i2psnarkframe" id="i2psnarkframe" onload="setupFrame()" allowtransparency="true">
    3636<%=intl._t("Your browser does not support iFrames.")%>
  • apps/routerconsole/jsp/tunnels.jsp

    r9cbcf5b r62437ac  
    1111</head><body onload="initAjax()">
    1212<%@include file="summary.jsi" %><h1><%=intl._t("I2P Tunnel Summary")%></h1>
    13 <div class="main" id="main">
     13<div class="main" id="tunnels">
    1414 <jsp:useBean class="net.i2p.router.web.TunnelHelper" id="tunnelHelper" scope="request" />
    1515 <jsp:setProperty name="tunnelHelper" property="contextId" value="<%=(String)session.getAttribute(\"i2p.contextId\")%>" />
  • apps/routerconsole/jsp/webmail.jsp

    r9cbcf5b r62437ac  
    3232
    3333<h1><%=intl._t("I2P Webmail")%> <span class="newtab"><a href="/susimail/susimail" target="_blank" title="<%=intl._t("Open in new tab")%>"><img src="<%=intl.getTheme(request.getHeader("User-Agent"))%>images/newtab.png" /></a></span></h1>
    34 <div class="main" id="main">
     34<div class="main" id="webmail">
    3535<iframe src="/susimail/susimail" width="100%" height="100%" frameborder="0" border="0" name="susimailframe" id="susimailframe" onload="setupFrame()" allowtransparency="true">
    3636<%=intl._t("Your browser does not support iFrames.")%>
  • apps/susimail/src/src/i2p/susi/webmail/WebMail.java

    r9cbcf5b r62437ac  
    23572357                //      out.println(button( RELOAD, _t("Reload Config") ) + spacer);
    23582358                //out.println(button( LOGOUT, _t("Logout") ) );
    2359                 out.println( "<table cellspacing=\"0\" cellpadding=\"5\">\n");
     2359                out.println( "<div id=\"viewmail\"><table id=\"message_full\" cellspacing=\"0\" cellpadding=\"5\">\n");
    23602360                if( mail != null ) {
    23612361                        out.println("<tr><td colspan=\"2\"><table id=\"mailhead\">\n" +
     
    23742374                        }
    23752375                        else {
    2376                                 out.println( "<tr class=\"mailbody\"><td colspan=\"2\" align=\"center\"><p class=\"error\">" + _t("Could not fetch mail body.") + "</p></td></tr>" );
     2376                                out.println( "<tr class=\"mailbody\"><td colspan=\"2\" align=\"center\"><p class=\"error\">" + _t("Could not fetch mail body.") + "</p></td></tr>\n" );
    23772377                        }
    23782378                }
    23792379                else {
    2380                         out.println( "<tr class=\"mailbody\"><td colspan=\"2\" align=\"center\"><p class=\"error\">" + _t("Could not fetch mail.") + "</p></td></tr>" );
    2381                 }
    2382                 out.println( "<tr><td colspan=\"2\" align=\"center\"><hr></td></tr>\n</table>" );
     2380                        out.println( "<tr class=\"mailbody\"><td colspan=\"2\" align=\"center\"><p class=\"error\">" + _t("Could not fetch mail.") + "</p></td></tr>\n" );
     2381                }
     2382                out.println( "</table></div>" );
    23832383        }
    23842384
     
    24112411                }
    24122412                out.println("</textarea>");
    2413                 out.println("<div id=\"bottombuttons\">");
    2414                 out.println("<br>");
     2413                out.println("<div id=\"prefsave\">");
    24152414                out.println(button(SAVE, _t("Save Configuration")));
    24162415                out.println(button(CANCEL, _t("Cancel")));
Note: See TracChangeset for help on using the changeset viewer.