Changeset 33a7f33


Ignore:
Timestamp:
Aug 17, 2009 1:24:08 PM (11 years ago)
Author:
z3d <z3d@…>
Branches:
master
Children:
1b63aa4
Parents:
f7af5e1
Message:

Start of validation cleanup.

Files:
8 edited

Legend:

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

    rf7af5e1 r33a7f33  
    348348            buf.append("<tr><td align=\"right\"><img src=\"/themes/console/images/");
    349349            if (_context.clientManager().shouldPublishLeaseSet(h))
    350                 buf.append("server.png\" alt=\"Server\" title=\"Server\" />");
     350                buf.append("server.png\" alt=\"Server\" title=\"Server\">");
    351351            else
    352                 buf.append("client.png\" alt=\"Client\" title=\"Client\" />");
     352                buf.append("client.png\" alt=\"Client\" title=\"Client\">");
    353353            buf.append("</td><td align=\"left\"><b><a href=\"tunnels.jsp#").append(h.toBase64().substring(0,4));
    354354            buf.append("\" target=\"_top\" title=\"Show tunnels\">");
  • apps/routerconsole/jsp/summary.jsp

    rf7af5e1 r33a7f33  
    1212        newDelay = "?refresh=" + d;
    1313    if (!"0".equals(d))
    14         out.print("<iframe src=\"summaryframe.jsp" + newDelay + "\" height=\"1500\" width=\"200\" scrolling=\"auto\" frameborder=\"0\" allowtransparency=\"true\">\n");
     14        out.print("<iframe src=\"summaryframe.jsp" + newDelay + "\" height=\"1500\" width=\"200\" scrolling=\"auto\" frameborder=\"0\" title=\"sidepanel\">\n");
    1515%>
    1616<div class="routersummary">
     
    2929    }
    3030%>
    31 </div></div>
     31</div>
  • apps/routerconsole/jsp/summaryframe.jsp

    rf7af5e1 r33a7f33  
    5555    // d and shutdownSoon defined above
    5656    if (!shutdownSoon) {
    57         out.print("<hr><p><form action=\"summaryframe.jsp\" method=\"GET\">\n");
     57        out.print("<hr><form action=\"summaryframe.jsp\" method=\"GET\">\n");
    5858        if ("0".equals(d)) {
    5959            out.print("<b>Refresh (s):<b> <input size=\"3\" type=\"text\" name=\"refresh\" value=\"60\" align=\"right\" />\n");
     
    6464            out.print("<button type=\"submit\">Disable " + d + "s Refresh</button>\n");
    6565        }
    66         out.print("</form></p><hr>\n");
     66        out.print("</form><hr>\n");
    6767    }
    6868%>
  • apps/routerconsole/jsp/summarynoframe.jsp

    rf7af5e1 r33a7f33  
    1313<jsp:setProperty name="update" property="*" />
    1414<jsp:setProperty name="update" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
    15 <a href="index.jsp" target="_top"><img src="/themes/console/images/i2plogo.png" alt="I2P Router Console" title="I2P Router Console"/></a><hr>
     15<a href="index.jsp" target="_top"><img src="/themes/console/images/i2plogo.png" alt="I2P Router Console" title="I2P Router Console"></a><hr>
    1616<% java.io.File lpath = new java.io.File(net.i2p.I2PAppContext.getGlobalContext().getBaseDir(), "docs/toolbar.html");
    1717    // you better have target="_top" for the links in there...
     
    9999            System.setProperty("net.i2p.router.web.ReseedHandler.nonce", nonce+"");
    100100            String uri = request.getRequestURI();
    101             out.print("<p><form action=\"" + uri + "\" method=\"GET\">\n");
     101            out.print("<form action=\"" + uri + "\" method=\"GET\">\n");
    102102            out.print("<input type=\"hidden\" name=\"reseedNonce\" value=\"" + nonce + "\" />\n");
    103             out.print("<button type=\"submit\" >Reseed</button></form></p>\n");
     103            out.print("<button type=\"submit\" >Reseed</button></form>\n");
    104104        }
    105105    }
  • router/java/src/net/i2p/router/Blocklist.java

    rf7af5e1 r33a7f33  
    776776                     out.write(toStr(to)); out.write("</td></tr>\n");
    777777                 } else
    778                      out.write("&nbsp</td></tr>\n");
     778                     out.write("&nbsp;</td></tr>\n");
    779779            }
    780780            out.write("</table>");
  • router/java/src/net/i2p/router/peermanager/ProfileOrganizerRenderer.java

    rf7af5e1 r33a7f33  
    150150                    buf.append(' ').append(fails).append('/').append(total).append(" Test Fails");
    151151            }
    152             buf.append("&nbsp</td>");
     152            buf.append("&nbsp;</td>");
    153153            buf.append("<td nowrap align=\"center\"><a target=\"_blank\" href=\"dumpprofile.jsp?peer=").append(peer.toBase64().substring(0,6)).append("\">profile</a>");
    154154            buf.append("&nbsp;<a href=\"configpeer.jsp?peer=").append(peer.toBase64()).append("\">+-</a></td>\n");
  • router/java/src/net/i2p/router/transport/CommSystemFacadeImpl.java

    rf7af5e1 r33a7f33  
    484484        if (found)
    485485            buf.append("</a>");
    486         buf.append("</font></tt>");
     486        buf.append("</tt>");
    487487        return buf.toString();
    488488    }
  • router/java/src/net/i2p/router/tunnel/pool/TunnelPoolManager.java

    rf7af5e1 r33a7f33  
    494494        }
    495495        out.write("</table>\n");
    496         out.write("<div class=\"statusnotes\"><center><b>Inactive participating tunnels: " + inactive + "</b></div>\n");
    497         out.write("<div class=\"statusnotes\"><b>Lifetime bandwidth usage: " + DataHelper.formatSize(processed*1024) + "B</b></center></div>\n");
     496        out.write("<div class=\"statusnotes\"><b>Inactive participating tunnels: " + inactive + "</b></div>\n");
     497        out.write("<div class=\"statusnotes\"><b>Lifetime bandwidth usage: " + DataHelper.formatSize(processed*1024) + "B</b></div>\n");
    498498        renderPeers(out);
    499499    }
     
    543543            live++;
    544544            if (info.isInbound())
    545                 out.write("<tr> <td class=\"cells\" align=\"center\"><img src=\"/themes/console/images/inbound.png\" alt=\"Inbound\" title=\"Inbound\"/></td>");
    546             else
    547                 out.write("<tr> <td class=\"cells\" align=\"center\"><img src=\"/themes/console/images/outbound.png\" alt=\"Outbound\" title=\"Outbound\"/></td>");
     545                out.write("<tr> <td class=\"cells\" align=\"center\"><img src=\"/themes/console/images/inbound.png\" alt=\"Inbound\" title=\"Inbound\"></td>");
     546            else
     547                out.write("<tr> <td class=\"cells\" align=\"center\"><img src=\"/themes/console/images/outbound.png\" alt=\"Outbound\" title=\"Outbound\"></td>");
    548548            out.write(" <td class=\"cells\" align=\"center\">" + DataHelper.formatDuration(timeLeft) + "</td>\n");
    549549            out.write(" <td class=\"cells\" align=\"center\">" + info.getProcessedMessagesCount() + "KB</td>\n");
     
    559559                if (info.getLength() < maxLength && (info.getLength() == 1 || j == info.getLength() - 2)) {
    560560                    for (int k = info.getLength(); k < maxLength; k++)
    561                         out.write(" <td class=\"cells\" align=\"center\">&nbsp</td>");
     561                        out.write(" <td class=\"cells\" align=\"center\">&nbsp;</td>");
    562562                }
    563563            }
Note: See TracChangeset for help on using the changeset viewer.