source: apps/routerconsole/jsp/configsidebar.jsp @ 9b2a85d

Last change on this file since 9b2a85d was 9b2a85d, checked in by zzz <zzz@…>, 3 years ago

Console: Split net.i2p.router.web into two packages, and move the new .helper package to the war

  • Property mode set to 100644
File size: 2.0 KB
Line 
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<%@include file="css.jsi" %>
7<%=intl.title("config summary bar")%>
8<style type='text/css'>
9input.default {
10    width: 1px;
11    height: 1px;
12    visibility: hidden;
13}
14</style>
15<script src="/js/ajax.js" type="text/javascript"></script>
16<%@include file="summaryajax.jsi" %>
17</head><body onload="initAjax()">
18
19<%@include file="summary.jsi" %>
20<h1><%=intl._t("I2P Summary Bar Configuration")%></h1>
21<div class="main" id="config_summarybar">
22<%@include file="confignav.jsi" %>
23
24<jsp:useBean class="net.i2p.router.web.helpers.ConfigSummaryHandler" id="formhandler" scope="request" />
25<%@include file="formhandler.jsi" %>
26<%
27    formhandler.setMovingAction();
28%>
29<jsp:useBean class="net.i2p.router.web.helpers.SummaryHelper" id="summaryhelper" scope="request" />
30<jsp:setProperty name="summaryhelper" property="contextId" value="<%=(String)session.getAttribute(\"i2p.contextId\")%>" />
31
32<h3 class="tabletitle"><%=intl._t("Refresh Interval")%></h3>
33<table class="configtable">
34 <tr>
35<form action="" method="POST">
36  <td>
37 <input type="hidden" name="nonce" value="<%=pageNonce%>" >
38 <input type="hidden" name="group" value="0">
39 <input type="text" name="refreshInterval" value="<jsp:getProperty name="intl" property="refresh" />" >
40 <%=intl._t("seconds")%>
41  </td>
42  <td class="optionsave">
43 <input type="submit" name="action" class="accept" value="<%=intl._t("Save")%>" >
44  </td>
45</form>
46 </tr>
47</table>
48
49<h3 class="tabletitle"><%=intl._t("Customize Summary Bar")%></h3>
50<form action="" method="POST">
51 <input type="hidden" name="nonce" value="<%=pageNonce%>" >
52 <input type="hidden" name="group" value="2">
53 <jsp:getProperty name="summaryhelper" property="configTable" />
54 <div class="formaction" id="sidebardefaults">
55  <input type="submit" class="reload" name="action" value="<%=intl._t("Restore full default")%>" >
56  <input type="submit" class="reload" name="action" value="<%=intl._t("Restore minimal default")%>" >
57 </div>
58</form>
59</div></body></html>
Note: See TracBrowser for help on using the repository browser.