forked from I2P_Developers/i2p.i2p
18 lines
740 B
Plaintext
18 lines
740 B
Plaintext
<%@page contentType="text/html"%><%@page pageEncoding="UTF-8"%><jsp:useBean class="net.i2p.router.web.helpers.WizardHelper" id="wizhelper" scope="session" /><%
|
|
String i2pcontextId = request.getParameter("i2p.contextId");
|
|
try {
|
|
if (i2pcontextId != null) {
|
|
session.setAttribute("i2p.contextId", i2pcontextId);
|
|
} else {
|
|
i2pcontextId = (String) session.getAttribute("i2p.contextId");
|
|
}
|
|
} catch (IllegalStateException ise) {}
|
|
wizhelper.setContextId(i2pcontextId);
|
|
// output 1 for complete, 0 + status string for in progress
|
|
if (wizhelper.isNDTComplete()) {
|
|
%>1<%
|
|
} else {
|
|
%>0<%=wizhelper.getTestStatus()%><%
|
|
}
|
|
%>
|