Sidepanel fixes. Bumped to -14.

This commit is contained in:
z3d
2009-08-17 02:13:10 +00:00
parent 0aaacc86e2
commit 3a9a029d70
4 changed files with 8 additions and 8 deletions

View File

@ -366,7 +366,7 @@ public class SummaryHelper extends HelperBase {
buf.append(" ago. Rebuilding&hellip;\"></td></tr>\n");
} else {
// green light
buf.append("<td align=\right\"><img src=\"/themes/console/images/local_up.png\" alt=\"Ready\" title=\"Ready\"></td></tr>\n");
buf.append("<td align=\"right\"><img src=\"/themes/console/images/local_up.png\" alt=\"Ready\" title=\"Ready\"></td></tr>\n");
}
} else {
// yellow light

View File

@ -1,6 +1,6 @@
<% // put width here too to prevent bad layout at startup %>
<div class="routersummaryouter" style="width: 200px;">
<% // let's remove that for now since we're no longer using percentage width here %>
<div class="routersummaryouter">
<%
// skip the iframe if refresh disabled
String d = request.getParameter("refresh");
@ -22,10 +22,10 @@
} else {
// since we don't have an iframe this will reload the base page, and
// the new delay will be passed to the iframe above
out.print("<p><center><form action=\"" + request.getRequestURI() + "\" method=\"GET\">\n");
out.print("<form action=\"" + request.getRequestURI() + "\" method=\"GET\">\n");
out.print("<b>Refresh (s):</b> <input size=\"3\" type=\"text\" name=\"refresh\" value=\"60\" />\n");
out.print("<button type=\"submit\">Enable</button>\n");
out.print("</form></center></p></div>\n");
out.print("</form></div>\n");
}
%>
</div></div>

View File

@ -62,13 +62,13 @@
if (prev != null) System.setProperty("net.i2p.router.web.UpdateHandler.noncePrev", prev);
System.setProperty("net.i2p.router.web.UpdateHandler.nonce", nonce+"");
String uri = request.getRequestURI();
out.print("<p><form action=\"" + uri + "\" method=\"GET\">\n");
out.print("<form action=\"" + uri + "\" method=\"GET\">\n");
out.print("<input type=\"hidden\" name=\"updateNonce\" value=\"" + nonce + "\" />\n");
if (helper.updateAvailable())
out.print("<button type=\"submit\" name=\"updateAction\" value=\"signed\" >Download " + helper.getUpdateVersion() + " Update</button>\n");
if (helper.unsignedUpdateAvailable())
out.print("<button type=\"submit\" name=\"updateAction\" value=\"Unsigned\" >Download Unsigned<br>" + helper.getUnsignedUpdateVersion() + " Update</button>\n");
out.print("</form></p>\n");
out.print("</form>\n");
}
}
%>