mirror of
https://github.com/i2p/i2p.i2p.git
synced 2024-12-06 19:27:00 +01:00
Console: Move jar dump link from summary bar to debug page tab
This commit is contained in:
@@ -531,6 +531,7 @@ class SummaryBarRenderer {
|
||||
.append("</a>\n");
|
||||
svcs.put(tx, rbuf.toString());
|
||||
|
||||
/* moved to /debug tab
|
||||
tx = _t("Jars");
|
||||
rbuf.setLength(0);
|
||||
rbuf.append("<a title=\"")
|
||||
@@ -539,6 +540,7 @@ class SummaryBarRenderer {
|
||||
.append(nbsp(tx))
|
||||
.append("</a>\n");
|
||||
svcs.put(tx, rbuf.toString());
|
||||
*/
|
||||
|
||||
File javadoc = new File(_context.getBaseDir(), "docs/javadoc/index.html");
|
||||
if (javadoc.exists()) {
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
<span class="tab"><a href="/debug?d=4">Client Session Key Managers</a></span>
|
||||
<span class="tab"><a href="/debug?d=5">Router DHT</a></span>
|
||||
<span class="tab"><a href="/debug?d=6">Translation Status</a></span>
|
||||
<span class="tab"><a href="/debug?d=7">Jars</a></span>
|
||||
</div>
|
||||
|
||||
<%
|
||||
@@ -138,6 +139,13 @@ if (dd == null || dd.equals("0")) {
|
||||
if (br != null) try { br.close(); } catch (java.io.IOException ioe) {}
|
||||
}
|
||||
}
|
||||
} else if (dd.equals("7")) {
|
||||
%>
|
||||
<h2>Jar File Dump</h2>
|
||||
<jsp:useBean class="net.i2p.router.web.helpers.FileDumpHelper" id="dumpHelper" scope="request" />
|
||||
<jsp:setProperty name="dumpHelper" property="contextId" value="<%=i2pcontextId%>" />
|
||||
<jsp:getProperty name="dumpHelper" property="fileSummary" />
|
||||
<%
|
||||
}
|
||||
|
||||
%>
|
||||
|
||||
@@ -1,14 +1,5 @@
|
||||
<%@page contentType="text/html"%>
|
||||
<%@page pageEncoding="UTF-8"%>
|
||||
<!DOCTYPE html>
|
||||
<html><head>
|
||||
<%@include file="css.jsi" %>
|
||||
<%=intl.title("Jar File Dump")%>
|
||||
<%@include file="summaryajax.jsi" %>
|
||||
</head><body>
|
||||
<%@include file="summary.jsi" %><h1>Jar File Dump</h1>
|
||||
<div class="main" id="jardump">
|
||||
<jsp:useBean class="net.i2p.router.web.helpers.FileDumpHelper" id="dumpHelper" scope="request" />
|
||||
<jsp:setProperty name="dumpHelper" property="contextId" value="<%=i2pcontextId%>" />
|
||||
<jsp:getProperty name="dumpHelper" property="fileSummary" />
|
||||
</div></body></html>
|
||||
<%
|
||||
// moved to a debug page tab
|
||||
response.setStatus(301);
|
||||
response.setHeader("Location", "/debug?d=7");
|
||||
%>
|
||||
|
||||
Reference in New Issue
Block a user