Changeset 1aa24a3


Ignore:
Timestamp:
Mar 2, 2012 6:46:34 PM (8 years ago)
Author:
kytv <kytv@…>
Branches:
master
Children:
2bff0d6b
Parents:
f62c304
Message:

Various HTML fixes

Files:
9 edited

Legend:

Unmodified
Added
Removed
  • apps/i2psnark/java/src/org/klomp/snark/web/I2PSnarkServlet.java

    rf62c304 r1aa24a3  
    16051605                   "<td align=\"left\"><input type=\"text\" size=\"40\" name=\"thurl\"></td>" +
    16061606                   "<td align=\"left\"><input type=\"text\" size=\"40\" name=\"taurl\"></td></tr>\n" +
    1607                    "<td colspan=\"2\"></td><td colspan=\"2\" align=\"left\">\n" +
     1607                   "<tr><td colspan=\"2\"></td><td colspan=\"2\" align=\"left\">\n" +
    16081608                   "<input type=\"submit\" name=\"taction\" class=\"default\" value=\"").append(_("Add tracker")).append("\">\n" +
    16091609                   "<input type=\"submit\" name=\"taction\" class=\"delete\" value=\"").append(_("Delete selected")).append("\">\n" +
  • apps/routerconsole/java/src/net/i2p/router/web/GraphHelper.java

    rf62c304 r1aa24a3  
    342342                       "<input type=\"hidden\" name=\"nonce\" value=\"" + nonce + "\" >\n");
    343343            _out.write(_("Periods") + ": <input size=\"5\" style=\"text-align: right;\" type=\"text\" name=\"periodCount\" value=\"" + _periodCount + "\"><br>\n");
    344             _out.write(_("Plot averages") + ": <input type=\"radio\" class=\"optbox\" name=\"showEvents\" value=\"false\" " + (_showEvents ? "" : "checked=\"true\" ") + "> ");
    345             _out.write(_("or")+ " " +_("plot events") + ": <input type=\"radio\" class=\"optbox\" name=\"showEvents\" value=\"true\" "+ (_showEvents ? "checked=\"true\" " : "") + "><br>\n");
     344            _out.write(_("Plot averages") + ": <input type=\"radio\" class=\"optbox\" name=\"showEvents\" value=\"false\" " + (_showEvents ? "" : "checked=\"checked\" ") + "> ");
     345            _out.write(_("or")+ " " +_("plot events") + ": <input type=\"radio\" class=\"optbox\" name=\"showEvents\" value=\"true\" "+ (_showEvents ? "checked=\"checked\" " : "") + "><br>\n");
    346346            _out.write(_("Image sizes") + ": " + _("width") + ": <input size=\"4\" style=\"text-align: right;\" type=\"text\" name=\"width\" value=\"" + _width
    347347                       + "\"> " + _("pixels") + ", " + _("height") + ": <input size=\"4\" style=\"text-align: right;\" type=\"text\" name=\"height\" value=\"" + _height 
     
    353353                _out.write("\"");
    354354                if (times[i] == _refreshDelaySeconds)
    355                     _out.write(" selected=\"true\"");
     355                    _out.write(" selected=\"selected\"");
    356356                _out.write(">");
    357357                if (times[i] > 0)
     
    366366            boolean persistent = _context.getBooleanPropertyDefaultTrue(SummaryListener.PROP_PERSISTENT);
    367367            if (persistent)
    368                 _out.write(" checked=\"true\"");
     368                _out.write(" checked=\"checked\"");
    369369            _out.write(">" +
    370370                       "<hr><div class=\"formaction\"><input type=\"submit\" class=\"acceot\" value=\"" + _("Save settings and redraw graphs") + "\"></div></form>");
  • apps/routerconsole/java/src/net/i2p/router/web/TunnelRenderer.java

    rf62c304 r1aa24a3  
    135135        out.write("<div class=\"statusnotes\"><b>" + _("Lifetime bandwidth usage") + ": " + DataHelper.formatSize2(processed*1024) + "B</b></div>\n");
    136136        //renderPeers(out);
     137        out.write("</div>");
    137138    }
    138139   
     
    223224        }
    224225        if (live <= 0)
    225             out.write("<div class=\"statusnotes\"><center><b>" + _("No tunnels; waiting for the grace period to end.") + "</center></b></div>\n");
     226            out.write("<div class=\"statusnotes\"><center><b>" + _("No tunnels; waiting for the grace period to end.") + "</b></center></div>\n");
    226227        out.write("<div class=\"statusnotes\"><center><b>" + _("Lifetime bandwidth usage") + ": " +
    227228                  DataHelper.formatSize2(processedIn*1024) + "B " + _("in") + ", " +
  • apps/routerconsole/jsp/configstats.jsp

    rf62c304 r1aa24a3  
    7777 <p><%=intl._("Enable full stats?")%>
    7878 <input type="checkbox" class="optbox" name="isFull" value="true" <%
    79  if (statshelper.getIsFull()) { %>checked="true" <% } %> >
     79 if (statshelper.getIsFull()) { %>checked="checked" <% } %> >
    8080 (<%=intl._("change requires restart to take effect")%>)<br>
    8181<%
     
    123123     <a name="<%=statshelper.getCurrentStatName()%>"></a>
    124124     <input type="checkbox" class="optbox <%=statshelper.getCurrentGroupName()%>" name="statList" value="<%=statshelper.getCurrentStatName()%>" <%
    125      if (statshelper.getCurrentIsLogged()) { %>checked="true" <% } %> ></td>
     125     if (statshelper.getCurrentIsLogged()) { %>checked="checked" <% } %> ></td>
    126126<%
    127127
     
    131131     <% if (statshelper.getCurrentCanBeGraphed()) { %>
    132132       <input type="checkbox" class="optbox <%=statshelper.getCurrentGroupName()%>" name="graphList" value="<%=statshelper.getCurrentGraphName()%>" <%
    133        if (statshelper.getCurrentIsGraphed()) { %>checked="true" <% } %> ><% } %></td>
     133       if (statshelper.getCurrentIsGraphed()) { %>checked="checked" <% } %> ><% } %></td>
    134134     <td align="left"><b><%=statshelper.getCurrentStatName()%>:</b><br>
    135135     <%=statshelper.getCurrentStatDescription()%></td></tr><%
  • apps/susidns/src/jsp/addressbook.jsp

    rf62c304 r1aa24a3  
    4343<html>
    4444<head>
    45 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
     45<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    4646<title>${book.book} <%=intl._("address book")%> - susidns</title>
    4747<link rel="stylesheet" type="text/css" href="css.css">
     
    159159<span class="addrhlpr"><a href="details?h=${addr.name}" title="<%=intl._("More information on this entry")%>"><%=intl._("details")%></a></span>
    160160</td>
    161 <td class="destinations"><textarea rows="1" style="height: 3em;" cols="40" wrap="off" readonly="readonly" name="dest_${addr.name}" >${addr.destination}</textarea></td>
     161<td class="destinations"><textarea rows="1" style="height:3em;whitespace:nowrap" cols="40" readonly="readonly" name="dest_${addr.name}" >${addr.destination}</textarea></td>
    162162</tr>
    163163</c:forEach>
     
    191191<b><%=intl._("Host Name")%></b></td><td><input type="text" name="hostname" value="${book.hostname}" size="54">
    192192</td></tr><tr><td>
    193 <b><%=intl._("Destination")%></b></td><td><textarea name="destination" rows="1" style="height: 3em;" cols="70" wrap="off" spellcheck="false">${book.destination}</textarea>
     193<b><%=intl._("Destination")%></b></td><td><textarea name="destination" rows="1" style="height:3em;whitespace:nowrap" cols="70" spellcheck="false">${book.destination}</textarea>
    194194</td></tr></table>
    195195<p class="buttons">
  • apps/susidns/src/jsp/config.jsp

    rf62c304 r1aa24a3  
    3939<html>
    4040<head>
    41 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
     41<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    4242<title><%=intl._("configuration")%> - susidns</title>
    4343<link rel="stylesheet" type="text/css" href="css.css">
  • apps/susidns/src/jsp/details.jsp

    rf62c304 r1aa24a3  
    3737<html>
    3838<head>
    39 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
     39<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    4040<title>${book.book} <%=intl._("addressbook")%> - susidns</title>
    4141<link rel="stylesheet" type="text/css" href="css.css">
     
    123123</tr><tr class="list${book.trClass}">
    124124<td><%=intl._("Destination")%></td>
    125 <td class="destinations"><textarea rows="1" style="height: 3em;" cols="70" wrap="off" readonly="readonly" ><%=addr.getDestination()%></textarea></td>
     125<td class="destinations"><textarea rows="1" style="height:3em;whitespace:nowrap" cols="70" readonly="readonly" ><%=addr.getDestination()%></textarea></td>
    126126</tr></table>
    127127</div>
  • apps/susidns/src/jsp/subscriptions.jsp

    rf62c304 r1aa24a3  
    3939<html>
    4040<head>
    41 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
     41<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    4242<title><%=intl._("subscriptions")%> - susidns</title>
    4343<link rel="stylesheet" type="text/css" href="css.css">
  • router/java/src/net/i2p/router/transport/TransportManager.java

    rf62c304 r1aa24a3  
    519519                   "<p><b id=\"def.peer\">").append(_("Peer")).append("</b>: ").append(_("The remote peer, identified by router hash")).append("<br>\n" +
    520520                   "<b id=\"def.dir\">").append(_("Dir")).append("</b>: " +
    521                    "<img src=\"/themes/console/images/inbound.png\"> ").append(_("Inbound connection")).append("<br>\n" +
     521                   "<img alt=\"Inbound\" src=\"/themes/console/images/inbound.png\"> ").append(_("Inbound connection")).append("<br>\n" +
    522522                   "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;" +
    523                    "<img src=\"/themes/console/images/outbound.png\"> ").append(_("Outbound connection")).append("<br>\n" +
     523                   "<img alt=\"Outbound\" src=\"/themes/console/images/outbound.png\"> ").append(_("Outbound connection")).append("<br>\n" +
    524524                   "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;" +
    525525                   "<img src=\"/themes/console/images/inbound.png\" alt=\"V\" height=\"8\" width=\"12\"> ").append(_("They offered to introduce us (help other peers traverse our firewall)")).append("<br>\n" +
     
    532532                   "<b id=\"def.cwnd\">CWND</b>: ").append(_("The congestion window, which is how many bytes can be sent without an acknowledgement")).append(" / <br>\n" +
    533533                   "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ").append(_("The number of sent messages awaiting acknowledgement")).append(" /<br>\n" +
    534                    "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ").append(_("The maximum number of concurrent messages to send")).append(" /<br>\n"+ 
     534                   "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ").append(_("The maximum number of concurrent messages to send")).append(" /<br>\n"+
    535535                   "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ").append(_("The number of pending sends which exceed congestion window")).append("<br>\n" +
    536536                   "<b id=\"def.ssthresh\">SST</b>: ").append(_("The slow start threshold")).append("<br>\n" +
Note: See TracChangeset for help on using the changeset viewer.