source: apps/routerconsole/jsp/configclients.jsp @ b80cbbdd

Last change on this file since b80cbbdd was b80cbbdd, checked in by z3d <z3d@…>, 12 years ago

Return of the mia <hr>'s.

  • Property mode set to 100644
File size: 3.2 KB
1<%@page contentType="text/html"%>
2<%@page pageEncoding="UTF-8"%>
3<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
5<html><head><title>I2P Router Console - config clients</title>
6<%@include file="css.jsp" %>
7<style type='text/css'>
8button span.hide{
9    display:none;
13<%@include file="summary.jsp" %>
15<jsp:useBean class="net.i2p.router.web.ConfigClientsHelper" id="clientshelper" scope="request" />
16<jsp:setProperty name="clientshelper" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
17<h1>I2P Client Configuration</h1>
18<div class="main" id="main">
19 <%@include file="confignav.jsp" %>
21 <jsp:useBean class="net.i2p.router.web.ConfigClientsHandler" id="formhandler" scope="request" />
22 <jsp:setProperty name="formhandler" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
23 <jsp:setProperty name="formhandler" property="action" value="<%=request.getParameter("action")%>" />
24 <jsp:setProperty name="formhandler" property="nonce" value="<%=request.getParameter("nonce")%>" />
25 <jsp:setProperty name="formhandler" property="settings" value="<%=request.getParameterMap()%>" />
26 <jsp:getProperty name="formhandler" property="allMessages" />
27 <div class="configure"><form action="configclients.jsp" method="POST">
28 <% String prev = System.getProperty("net.i2p.router.web.ConfigClientsHandler.nonce");
29    if (prev != null) System.setProperty("net.i2p.router.web.ConfigClientsHandler.noncePrev", prev);
30    System.setProperty("net.i2p.router.web.ConfigClientsHandler.nonce", new java.util.Random().nextLong()+""); %>
31 <input type="hidden" name="nonce" value="<%=System.getProperty("net.i2p.router.web.ConfigClientsHandler.nonce")%>" />
32 <h3>Client Configuration</h3><p>
33 The Java clients listed below are started by the router and run in the same JVM.
34 </p><div class="wideload">
35 <p><jsp:getProperty name="clientshelper" property="form1" />
36 </p><p><i>All changes require restart to take effect. To change other client options, edit the clients.config file.</i>
37 </p><hr><div class="formaction">
38 <input type="submit" name="action" value="Save Client Configuration" />
39</div></div><h3>WebApp Configuration</h3><p>
40 The Java web applications listed below are started by the webConsole client and run in the same JVM as the router.
41 They are usually web applications accessible through the router console.
42 They may be complete applications (e.g. i2psnark),
43 front-ends to another client or application which must be separately enabled (e.g. susidns, i2ptunnel),
44 or have no web interface at all (e.g. addressbook).
45 </p><p>
46 A web app may also be disabled by removing the .war file from the webapps directory;
47 however the .war file and web app will reappear when you update your router to a newer version,
48 so disabling the web app here is the preferred method.
49 </p>
50 <div class="wideload"><p>
51 <jsp:getProperty name="clientshelper" property="form2" />
52 </p><p>
53 <i>All changes require restart to take effect. To change other webapp options, edit the webapps.config file.</i>
54 </p><hr><div class="formaction">
55 <input type="submit" name="action" value="Save WebApp Configuration" />
56 </div></div></form></div></div></body></html>
Note: See TracBrowser for help on using the repository browser.