Console: Fix HTML errors on /configservice w/o wrapper

This commit is contained in:
zzz
2018-07-16 18:09:54 +00:00
parent 63f4e04624
commit 2a68a01a35
3 changed files with 17 additions and 7 deletions

View File

@ -39,9 +39,11 @@
<hr><div class="formaction" id="restart"> <hr><div class="formaction" id="restart">
<input type="submit" class="reload" name="action" value="<%=intl._t("Graceful restart")%>" > <input type="submit" class="reload" name="action" value="<%=intl._t("Graceful restart")%>" >
<input type="submit" class="reload" name="action" value="<%=intl._t("Hard restart")%>" > <input type="submit" class="reload" name="action" value="<%=intl._t("Hard restart")%>" >
<% } %></div> </div>
<%
<% if (formhandler.shouldShowSystray()) { %> }
if (formhandler.shouldShowSystray()) {
%>
<h3 class="ptitle" id="systray"><%=intl._t("Systray integration")%></h3> <h3 class="ptitle" id="systray"><%=intl._t("Systray integration")%></h3>
<p class="infohelp"><%=intl._t("Control the system tray icon")%></p> <p class="infohelp"><%=intl._t("Control the system tray icon")%></p>
<hr><div class="formaction" id="systray"> <hr><div class="formaction" id="systray">
@ -69,11 +71,14 @@
<% } %> <% } %>
<h3 class="ptitle" id="servicedebug"><%=intl._t("Debugging")%>&nbsp;<a href="/jobs">[<%=intl._t("View the job queue")%>]</a></h3> <h3 class="ptitle" id="servicedebug"><%=intl._t("Debugging")%>&nbsp;<a href="/jobs">[<%=intl._t("View the job queue")%>]</a></h3>
<% if (System.getProperty("wrapper.version") != null) { %>
<p class="infohelp"> <p class="infohelp">
<%=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> <% if (System.getProperty("wrapper.version") != null) { %>
<hr> <%=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>.")%>
<% } else { // hack to make layout work for non-wrapper %>
&nbsp;
<% } %> <% } %>
</p>
<hr>
<div class="formaction" id="dumpthreads"> <div class="formaction" id="dumpthreads">
<input type="submit" class="reload" name="action" value="<%=intl._t("Force GC")%>" > <input type="submit" class="reload" name="action" value="<%=intl._t("Force GC")%>" >
<% if (System.getProperty("wrapper.version") != null) { %> <% if (System.getProperty("wrapper.version") != null) { %>

View File

@ -1,5 +1,10 @@
2018-07-16 zzz
* Console: Fix HTML error on /configservice w/o wrapper
2018-07-15 zzz 2018-07-15 zzz
* I2CP: Add option for forcing gzip on/off per-message
* NTCP: Increase failsafe sleep threshold (ticket #2251) * NTCP: Increase failsafe sleep threshold (ticket #2251)
* Router: Add CLI tool to generate family keys
2018-07-14 zzz 2018-07-14 zzz
* i2psnark: Recreate deleted files on recheck/reopen (ticket #2125) * i2psnark: Recreate deleted files on recheck/reopen (ticket #2125)

View File

@ -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 = "";