* Console:

- Add link to jobs.jsp on configservice.jsp
      - Add plugin disableStop support
This commit is contained in:
zzz
2010-03-02 22:54:32 +00:00
parent ca9f174171
commit 26aebe6a0f
5 changed files with 19 additions and 6 deletions

View File

@@ -146,9 +146,10 @@ public class ConfigClientsHelper extends HelperBase {
.append("<a href=\"").append(updateURL).append("\">").append(_("Update link")).append("</a><td>&nbsp;");
}
desc.append("</table>");
boolean enableStop = !Boolean.valueOf(appProps.getProperty("disableStop")).booleanValue();
renderForm(buf, app, app, false,
"true".equals(val), false, desc.toString(), false, false,
updateURL != null, true, true);
updateURL != null, enableStop, true);
}
}
buf.append("</table>\n");

View File

@@ -240,8 +240,6 @@ public class PluginUpdateHandler extends UpdateHandler {
return;
}
// todo compare sud version with property version
String minVersion = ConfigClientsHelper.stripHTML(props, "min-i2p-version");
if (minVersion != null &&
(new VersionComparator()).compare(CoreVersion.VERSION, minVersion) < 0) {

View File

@@ -59,12 +59,14 @@
<%=intl._("You may want to consider shutting down gracefully, as above, then running uninstall_i2p_service_winnt.bat.")%></p>
<% } %>
<% if (System.getProperty("wrapper.version") != null) { %>
<h3><%=intl._("Debugging")%></h3>
<p><a href="/jobs.jsp"><%=intl._("View the job queue")%></a>
<% if (System.getProperty("wrapper.version") != null) { %>
<p><%=intl._("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>
<hr><div class="formaction">
<input type="submit" name="action" value="<%=intl._("Dump threads")%>" >
<% } %></div>
</div>
<% } %>
<h3><%=intl._("Launch browser on router startup?")%></h3>
<p><%=intl._("I2P's main configuration interface is this web console, so for your convenience I2P can launch a web browser on startup pointing at")%>