Changeset f95100a


Ignore:
Timestamp:
May 23, 2016 11:02:10 AM (4 years ago)
Author:
str4d <str4d@…>
Branches:
master
Children:
804011d
Parents:
bbc2454
Message:

Update links, add tooltips etc.

Location:
apps
Files:
16 edited

Legend:

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

    rbbc2454 rf95100a  
    7979            }
    8080            if (!key.equals(Hash.FAKE_HASH)) {
    81                 buf.append(" (<a href=\"configpeer?peer=").append(key.toBase64())
    82                    .append("#unsh\">").append(_t("unban now")).append("</a>)");
     81                buf.append(" <a href=\"configpeer?peer=").append(key.toBase64())
     82                   .append("#unsh\">[").append(_t("unban now")).append("]</a>");
    8383            }
    8484            buf.append("</li>\n");
  • apps/routerconsole/java/src/net/i2p/router/web/GraphHelper.java

    rbbc2454 rf95100a  
    323323
    324324            _out.write("</p><p><i>" + _t("All times are UTC.") + "</i></p>\n");
     325
     326            _out.write("<p><a href=\"graphs\">" + _t("Return to main graphs page") + "</a></p>\n");
    325327        } catch (IOException ioe) {
    326328            ioe.printStackTrace();
     
    354356        String nonce = CSSHelper.getNonce();
    355357        try {
    356             _out.write("<br><h3 id=\"graphdisplay\">" + _t("Configure Graph Display") + " [<a href=\"configstats\">" + _t("Select Stats") + "</a>]</h3>");
     358            _out.write("<br><h3 id=\"graphdisplay\">" + _t("Configure Graph Display") + " <a href=\"configstats\">[" + _t("Select Stats") + "]</a></h3>");
    357359            _out.write("<form action=\"graphs\" method=\"POST\">\n" +
    358360                       "<input type=\"hidden\" name=\"action\" value=\"save\">\n" +
  • apps/routerconsole/java/src/net/i2p/router/web/NetDbRenderer.java

    rbbc2454 rf95100a  
    153153        }
    154154        buf.append("<tr><th colspan=\"3\">Leaseset Summary</th>")
    155            .append("<th><a href=\"/configadvanced\">Configure Floodfill Participation</a></th></tr>\n")
     155           .append("<th><a href=\"/configadvanced\" title=\"").append(_t("Manually Configure Floodfill Participation")).append("\">[")
     156           .append(_t("Configure Floodfill Participation"))
     157           .append("]</a></th></tr>\n")
    156158           .append("<tr><td><b>Total Leasesets:</b></td><td colspan=\"3\">").append(leases.size()).append("</td></tr>\n");
    157159        if (debug) {
     
    218220                String host = _context.namingService().reverseLookup(dest);
    219221                if (host == null) {
    220                     buf.append("<td>").append("<a href=\"/susidns/addressbook.jsp?book=private&amp;destination=")
     222                    buf.append("<td>").append("<a title=\"").append(_t("Add to addressbook"))
     223                       .append("\" href=\"/susidns/addressbook.jsp?book=private&amp;destination=")
    221224                       .append(dest.toBase64()).append("#add\">").append(_t("Add to local addressbook")).append("</a></td>");
    222225                }
     
    231234                       .append("</tr>\n<tr>")
    232235                       .append("<td><a href=\"http://").append(b32).append("\">").append(b32).append("</a></td>\n")
    233                        .append("<td><a href=\"/susidns/addressbook.jsp?book=private&amp;destination=")
     236                       .append("<td><a title=\"").append(_t("Add to addressbook"))
     237                       .append("\" href=\"/susidns/addressbook.jsp?book=private&amp;destination=")
    234238                       .append(dest.toBase64()).append("#add\">").append(_t("Add to local addressbook")).append("</a></td>");
    235239                }
     
    479483            buf.append("<b>" + _t("Peer info for") + ":</b>&nbsp;<code>").append(hash).append("</code></th><th>");
    480484            if (!full) {
    481                 buf.append("<a class=\"viewfullentry\" href=\"netdb?r=").append(hash.substring(0, 6)).append("\" >").append(_t("Full entry")).append("</a>");
     485                buf.append("<a title=\"").append(_t("View extended router info"))
     486                   .append("\" class=\"viewfullentry\" href=\"netdb?r=").append(hash.substring(0, 6))
     487                   .append("\" >[").append(_t("Full entry")).append("]</a>");
    482488            }
    483489        }
  • apps/routerconsole/java/src/net/i2p/router/web/SummaryHelper.java

    rbbc2454 rf95100a  
    821821        StringBuilder buf = new StringBuilder(256);
    822822        if (showFirewallWarning()) {
    823             buf.append("<h4 id=\"sb_warning\"><a href=\"/confignet\" target=\"_top\" title=\"")
     823            buf.append("<h4 id=\"sb_warning\"><a href=\"/help#configurationhelp\" target=\"_top\" title=\"")
    824824               .append(_t("Help with firewall configuration"))
    825825               .append("\">")
  • apps/routerconsole/java/src/net/i2p/router/web/SybilRenderer.java

    rbbc2454 rf95100a  
    769769            buf.append("<th colspan=\"2\"><b>" + _t("Router") + ":</b> <code>").append(hash).append("</code>\n");
    770770            if (!full) {
    771                 buf.append("</th><th><a class=\"viewfullentry\" href=\"netdb?r=").append(hash.substring(0, 6)).append("\" >").append(_t("Full entry")).append("</a></th><th>");
     771                buf.append("</th><th><a title=\"View extended router info\" class=\"viewfullentry\" href=\"netdb?r=").append(hash.substring(0, 6)).append("\" >[").append(_t("Full entry")).append("]</a></th><th>");
    772772            }
    773773            buf.append("<img src=\"/imagegen/id?s=32&amp;c=" + hash.replace("=", "%3d") + "\" height=\"32\" width=\"32\"> ");
  • apps/routerconsole/java/src/net/i2p/router/web/TunnelRenderer.java

    rbbc2454 rf95100a  
    3434   
    3535    public void renderStatusHTML(Writer out) throws IOException {
    36         out.write("<h3 class=\"tabletitle\" id=\"exploratorytunnels\"><a name=\"exploratory\" ></a>" + _t("Exploratory tunnels") + " (<a href=\"/configtunnels#exploratory\">" + _t("configure") + "</a>)</h3>\n");
     36        out.write("<h3 class=\"tabletitle\" id=\"exploratorytunnels\"><a name=\"exploratory\" ></a>" + _t("Exploratory tunnels") + " <a href=\"/configtunnels#exploratory\" title=\"" + _t("Configure tunnels") + "\">[" + _t("configure") + "]</a></h3>\n");
    3737        renderPool(out, _context.tunnelManager().getInboundExploratoryPool(), _context.tunnelManager().getOutboundExploratoryPool());
    3838       
     
    5858                      + "\" ></a>" + _t("Client tunnels for") + ' ' + DataHelper.escapeHTML(_t(name)));
    5959            if (isLocal)
    60                 out.write(" (<a href=\"/configtunnels#" + client.toBase64().substring(0,4) +"\">" + _t("configure") + "</a>)</h3>\n");
     60                out.write(" <a href=\"/configtunnels#" + client.toBase64().substring(0,4) +"\" title=\"" + _t("Configure tunnels for session") + "\">[" + _t("configure") + "]</a></h3>\n");
    6161            else
    6262                out.write(" (" + _t("dead") + ")</h3>\n");
  • apps/routerconsole/jsp/config.jsp

    rbbc2454 rf95100a  
    2626 <input type="hidden" name="ratesOnly" value="1" >
    2727
    28  <h3 id="bwlimiter" class="tabletitle"><%=intl._t("Bandwidth limiter")%></h3>
     28 <h3 id="bwlimiter" class="tabletitle"><%=intl._t("Bandwidth Limiter")%>&nbsp;<a href="confignet">[<%=intl._t("Advanced Network Configuration")%>]</a></h3>
    2929 <table id="bandwidthconfig" class="configtable">
    3030 <tr><td class="infohelp" colspan="2">
     
    7777    }
    7878 %></td></tr>
    79   <tr><td colspan="2">
    80    <a href="confignet"><%=intl._t("Advanced network configuration page")%></a>
    81   </td></tr>
    8279  <tr><td class="optionsave" colspan="2">
    8380<input type="reset" class="cancel" value="<%=intl._t("Cancel")%>" >
  • apps/routerconsole/jsp/configadvanced.jsp

    rbbc2454 rf95100a  
    5757</form>
    5858
    59 <h3 id="advancedconfig" class="tabletitle"><%=intl._t("Advanced I2P Configuration")%></h3><b>
     59<h3 id="advancedconfig" class="tabletitle"><%=intl._t("Advanced I2P Configuration")%>&nbsp;<a title="Help with additional configuration settings" href="/help#advancedsettings">[Additional Options]</a></h3><b>
    6060<% if (advancedhelper.isAdvanced()) { %>
    6161 <form action="" method="POST">
  • apps/routerconsole/jsp/configlogging.jsp

    rbbc2454 rf95100a  
    2323 <input type="hidden" name="nonce" value="<%=pageNonce%>" >
    2424 <input type="hidden" name="action" value="blah" >
    25  <h3 class="tabletitle"><%=intl._t("Configure I2P Logging Options")%></h3>
     25 <h3 class="tabletitle"><%=intl._t("Configure I2P Logging Options")%>&nbsp;<a title="<%=intl._t("View Router Logs")%>" href="/logs">[<%=intl._t("View Logs")%>]</a></h3>
    2626      <table id="loggingoptions" border="0" cellspacing="5">
    2727        <tr><td class="mediumtags" align="right"><b><%=intl._t("Log file")%>:</b></td>
  • apps/routerconsole/jsp/confignet.jsp

    rbbc2454 rf95100a  
    2323 <input type="hidden" name="nonce" value="<%=pageNonce%>" >
    2424 <input type="hidden" name="action" value="blah" >
    25  <h3 id="iptransport" class="tabletitle"><%=intl._t("IP and Transport Configuration")%></h3>
     25 <h3 id="iptransport" class="tabletitle"><%=intl._t("IP and Transport Configuration")%>&nbsp;<a title="<%=intl._t("Help with router configuration")%>" href="/help#configurationhelp">[<%=intl._t("Configuration Help")%>]</a></h3>
    2626 <table id="netconfig" class="configtable">
    2727 <tr>
    2828  <td class="infohelp">
    29  <b><%=intl._t("The default settings will work for most people.")%>
    30  <a href="#chelp"><%=intl._t("There is help below.")%></a></b>
     29 <b><%=intl._t("The default settings will work for most people.")%></b>
    3130 <%=intl._t("Changing these settings will restart your router.")%>
    3231  </td>
    3332 </tr>
    3433 <tr>
    35   <td class="infowarn">
    36    <b><%=intl._t("Do not reveal your port numbers to anyone as they can be used to discover your ip address.")%></b>
    37   </td>
    38  </tr>
    39  <tr>
    40   <th id="upnpconfig"><%=intl._t("UPnP Configuration")%></th>
     34  <th id="upnpconfig"><%=intl._t("UPnP Configuration")%>&nbsp;<a href="peers#upnp">[<%=intl._t("UPnP Status")%>]</a></th>
    4135 </tr>
    4236 <tr>
    4337  <td>
    4438    <input type="checkbox" class="optbox" name="upnp" value="true" <jsp:getProperty name="nethelper" property="upnpChecked" /> >
    45     <%=intl._t("Enable UPnP to open firewall ports")%> - <a href="peers#upnp"><%=intl._t("UPnP status")%></a>
     39    <%=intl._t("Enable UPnP to open firewall ports")%>
    4640  </td>
    4741 </tr>
     
    106100 <tr>
    107101  <th id="udpconfig"><%=intl._t("UDP Configuration")%></th>
     102 </tr>
     103 <tr>
     104  <td class="infowarn">
     105   <b><%=intl._t("Do not reveal your port numbers to anyone as they can be used to discover your ip address.")%></b>
     106  </td>
    108107 </tr>
    109108 <tr>
  • apps/routerconsole/jsp/configservice.jsp

    rbbc2454 rf95100a  
    6969 <% } %>
    7070
    71  <h3 class="ptitle" id="servicedebug"><%=intl._t("Debugging")%></h3>
     71 <h3 class="ptitle" id="servicedebug"><%=intl._t("Debugging")%>&nbsp;<a href="/jobs">[<%=intl._t("View the job queue")%>]</a></h3>
    7272<% if (System.getProperty("wrapper.version") != null) { %>
    7373 <p class="infohelp">
    7474    <%=intl._t("At times, it may be helpful to debug I2P by getting a thread dump. To do so, please select the following option and review the thread dumped to <a href=\"logs.jsp#servicelogs\">wrapper.log</a>.")%></p>
    75  <p><a href="/jobs">
    76     <%=intl._t("View the job queue")%></a>
    7775 <hr>
    7876<% } %>
  • apps/routerconsole/jsp/configstats.jsp

    rbbc2454 rf95100a  
    111111  }  // shouldShowLog
    112112
    113 %>    <td align="center"><b><%=intl._t("Graph")%></b></td>
     113%>    <td align="center"><b title="<%=intl._t("Select stats for visualization on /graphs")%>"><%=intl._t("Graph")%></b></td>
    114114    <td></td></tr>
    115115        <%
  • apps/routerconsole/jsp/help.jsp

    rbbc2454 rf95100a  
    3030 <jsp:setProperty name="contenthelper" property="startAtBeginning" value="true" />
    3131 <jsp:getProperty name="contenthelper" property="textContent" />
    32 <p id="fullhistory"><a href="/history.txt">View the full change log</a></p>
     32<p id="fullhistory"><a href="/history.txt" target="_blank">View the full change log</a></p>
    3333</div>
    3434
  • apps/routerconsole/jsp/home.jsp

    rbbc2454 rf95100a  
    9898%>
    9999  <div class="search">
    100     <form action="/search.jsp" method="POST">
     100    <form action="/search.jsp" target="_blank" method="POST">
    101101      <table class="search"><tr><td align="right">
    102102        <input size="40" type="text" class="search" name="query" />
  • apps/routerconsole/jsp/logs.jsp

    rbbc2454 rf95100a  
    6565</tbody></table>
    6666
    67 <h3 class="tabletitle"><%=intl._t("Router Logs")%> (<a href="configlogging"><%=intl._t("configure")%></a>)</h3>
     67<h3 class="tabletitle"><%=intl._t("Router Logs")%>&nbsp;<a title="<%=intl._t("Configure router logging options")%>" href="configlogging">[<%=intl._t("Configure")%>]</a></h3>
    6868<table id="routerlogs" class="logtable"><tbody>
    6969<tr><td>
  • apps/susidns/src/jsp/addressbook.jsp

    rbbc2454 rf95100a  
    113113<a href="addressbook?filter=none&amp;begin=0&amp;end=49"><%=intl._t("all")%></a></p>
    114114<c:if test="${book.hasFilter}">
    115 <p><%=intl._t("Current filter")%>: ${book.filter}
    116 (<a href="addressbook?filter=none&amp;begin=0&amp;end=49"><%=intl._t("clear filter")%></a>)</p>
     115<p><%=intl._t("Current filter")%>: <b>${book.filter}</b>
     116<a href="addressbook?filter=none&amp;begin=0&amp;end=49"><%=intl._t("clear filter")%></a></p>
    117117</c:if>
    118118</div>
Note: See TracChangeset for help on using the changeset viewer.