[c944648b] | 1 | <%@page contentType="text/html"%> |
---|
| 2 | <%@page pageEncoding="UTF-8"%> |
---|
| 3 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
---|
| 4 | |
---|
| 5 | <html><head> |
---|
| 6 | <title>I2P Router Console - config UI</title> |
---|
| 7 | <%@include file="css.jsp" %> |
---|
| 8 | </head><body> |
---|
| 9 | |
---|
| 10 | <%@include file="summary.jsp" %> |
---|
| 11 | |
---|
| 12 | <jsp:useBean class="net.i2p.router.web.ConfigUIHelper" id="uihelper" scope="request" /> |
---|
| 13 | <jsp:setProperty name="uihelper" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" /> |
---|
| 14 | |
---|
| 15 | <h1>I2P UI Configuration</h1> |
---|
| 16 | <div class="main" id="main"> |
---|
| 17 | |
---|
| 18 | <%@include file="confignav.jsp" %> |
---|
| 19 | |
---|
| 20 | <jsp:useBean class="net.i2p.router.web.ConfigUIHandler" id="formhandler" scope="request" /> |
---|
| 21 | <jsp:setProperty name="formhandler" property="*" /> |
---|
| 22 | <jsp:setProperty name="formhandler" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" /> |
---|
| 23 | <jsp:getProperty name="formhandler" property="allMessages" /> |
---|
[56b3144c] | 24 | <div class="configure"> |
---|
[819efc1] | 25 | <h3>Router Console Theme</h3> |
---|
[c944648b] | 26 | <form action="configui.jsp" method="POST"> |
---|
| 27 | <% String prev = System.getProperty("net.i2p.router.web.ConfigUIHandler.nonce"); |
---|
| 28 | if (prev != null) System.setProperty("net.i2p.router.web.ConfigUIHandler.noncePrev", prev); |
---|
| 29 | System.setProperty("net.i2p.router.web.ConfigUIHandler.nonce", new java.util.Random().nextLong()+""); %> |
---|
| 30 | <input type="hidden" name="nonce" value="<%=System.getProperty("net.i2p.router.web.ConfigUIHandler.nonce")%>" /> |
---|
| 31 | <input type="hidden" name="action" value="blah" /> |
---|
| 32 | <jsp:getProperty name="uihelper" property="settings" /> |
---|
[56b3144c] | 33 | <hr> |
---|
[24edce3] | 34 | <input type="submit" name="shouldsave" value="Apply" /> <input type="reset" value="Cancel" /> |
---|
| 35 | </form> |
---|
[c944648b] | 36 | </div> |
---|
[56b3144c] | 37 | </div> |
---|
[c944648b] | 38 | </body> |
---|
| 39 | </html> |
---|