forked from I2P_Developers/i2p.i2p
Sidepanel fixes. Bumped to -14.
This commit is contained in:
@@ -366,7 +366,7 @@ public class SummaryHelper extends HelperBase {
|
|||||||
buf.append(" ago. Rebuilding…\"></td></tr>\n");
|
buf.append(" ago. Rebuilding…\"></td></tr>\n");
|
||||||
} else {
|
} else {
|
||||||
// green light
|
// 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 {
|
} else {
|
||||||
// yellow light
|
// yellow light
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
<% // put width here too to prevent bad layout at startup %>
|
<% // put width here too to prevent bad layout at startup %>
|
||||||
|
<% // let's remove that for now since we're no longer using percentage width here %>
|
||||||
<div class="routersummaryouter" style="width: 200px;">
|
<div class="routersummaryouter">
|
||||||
<%
|
<%
|
||||||
// skip the iframe if refresh disabled
|
// skip the iframe if refresh disabled
|
||||||
String d = request.getParameter("refresh");
|
String d = request.getParameter("refresh");
|
||||||
@@ -22,10 +22,10 @@
|
|||||||
} else {
|
} else {
|
||||||
// since we don't have an iframe this will reload the base page, and
|
// since we don't have an iframe this will reload the base page, and
|
||||||
// the new delay will be passed to the iframe above
|
// 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("<b>Refresh (s):</b> <input size=\"3\" type=\"text\" name=\"refresh\" value=\"60\" />\n");
|
||||||
out.print("<button type=\"submit\">Enable</button>\n");
|
out.print("<button type=\"submit\">Enable</button>\n");
|
||||||
out.print("</form></center></p></div>\n");
|
out.print("</form></div>\n");
|
||||||
}
|
}
|
||||||
%>
|
%>
|
||||||
</div></div>
|
</div></div>
|
||||||
|
@@ -62,13 +62,13 @@
|
|||||||
if (prev != null) System.setProperty("net.i2p.router.web.UpdateHandler.noncePrev", prev);
|
if (prev != null) System.setProperty("net.i2p.router.web.UpdateHandler.noncePrev", prev);
|
||||||
System.setProperty("net.i2p.router.web.UpdateHandler.nonce", nonce+"");
|
System.setProperty("net.i2p.router.web.UpdateHandler.nonce", nonce+"");
|
||||||
String uri = request.getRequestURI();
|
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");
|
out.print("<input type=\"hidden\" name=\"updateNonce\" value=\"" + nonce + "\" />\n");
|
||||||
if (helper.updateAvailable())
|
if (helper.updateAvailable())
|
||||||
out.print("<button type=\"submit\" name=\"updateAction\" value=\"signed\" >Download " + helper.getUpdateVersion() + " Update</button>\n");
|
out.print("<button type=\"submit\" name=\"updateAction\" value=\"signed\" >Download " + helper.getUpdateVersion() + " Update</button>\n");
|
||||||
if (helper.unsignedUpdateAvailable())
|
if (helper.unsignedUpdateAvailable())
|
||||||
out.print("<button type=\"submit\" name=\"updateAction\" value=\"Unsigned\" >Download Unsigned<br>" + helper.getUnsignedUpdateVersion() + " Update</button>\n");
|
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");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
%>
|
%>
|
||||||
|
@@ -18,7 +18,7 @@ public class RouterVersion {
|
|||||||
/** deprecated */
|
/** deprecated */
|
||||||
public final static String ID = "Monotone";
|
public final static String ID = "Monotone";
|
||||||
public final static String VERSION = CoreVersion.VERSION;
|
public final static String VERSION = CoreVersion.VERSION;
|
||||||
public final static long BUILD = 13;
|
public final static long BUILD = 14;
|
||||||
/** for example "-test" */
|
/** for example "-test" */
|
||||||
public final static String EXTRA = "";
|
public final static String EXTRA = "";
|
||||||
public final static String FULL_VERSION = VERSION + "-" + BUILD + EXTRA;
|
public final static String FULL_VERSION = VERSION + "-" + BUILD + EXTRA;
|
||||||
|
Reference in New Issue
Block a user