source: apps/routerconsole/jsp/configupdate.jsp @ d598396b

Last change on this file since d598396b was d598396b, checked in by kytv <kytv@…>, 9 years ago

Add 'unsignedbuild' id

  • Property mode set to 100644
File size: 5.1 KB
RevLine 
[a2c309d]1<%@page contentType="text/html"%>
[405c24b]2<%@page trimDirectiveWhitespaces="true"%>
[a2c309d]3<%@page pageEncoding="UTF-8"%>
4<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
5
[45a59f00]6<html><head>
[88dbd77]7<%@include file="css.jsi" %>
[a5cd0bd]8<%=intl.title("config update")%>
[a2c309d]9</head><body>
10
[88dbd77]11<%@include file="summary.jsi" %>
[a5cd0bd]12<h1><%=intl._("I2P Update Configuration")%></h1>
[a2c309d]13<div class="main" id="main">
[88dbd77]14 <%@include file="confignav.jsi" %>
[35da3f3]15
[a2c309d]16 <jsp:useBean class="net.i2p.router.web.ConfigUpdateHandler" id="formhandler" scope="request" />
[2a34ea83]17 <% formhandler.storeMethod(request.getMethod()); %>
[a2c309d]18 <jsp:setProperty name="formhandler" property="*" />
[07162b5]19 <jsp:setProperty name="formhandler" property="contextId" value="<%=(String)session.getAttribute(\"i2p.contextId\")%>" />
[2f1d6e3f]20 <jsp:getProperty name="formhandler" property="allMessages" />
[a2c309d]21 <jsp:useBean class="net.i2p.router.web.ConfigUpdateHelper" id="updatehelper" scope="request" />
[07162b5]22 <jsp:setProperty name="updatehelper" property="contextId" value="<%=(String)session.getAttribute(\"i2p.contextId\")%>" />
[819efc1]23<div class="messages">
[37e3e9e]24 <jsp:getProperty name="updatehelper" property="newsStatus" /></div>
[819efc1]25<div class="configure">
[166f378]26 <form action="" method="POST">
[6b6aaab8]27 <input type="hidden" name="nonce" value="<jsp:getProperty name="formhandler" property="newNonce" />" >
[c43b16c]28 <% /* set hidden default */ %>
29 <input type="submit" name="action" value="" style="display:none" >
[4738168]30    <% if (updatehelper.canInstall()) { %>
[a5cd0bd]31      <h3><%=intl._("Check for I2P and news updates")%></h3>
[abf7296]32      <div class="wideload"><table border="0" cellspacing="5">
[35da3f3]33        <tr><td colspan="2"></tr>
[d598396b]34        <tr><td class="mediumtags" align="right"><b><%=intl._("News &amp; I2P Updates")%>:</b></td>
[4738168]35     <% } else { %>
36      <h3><%=intl._("Check for news updates")%></h3>
37      <div class="wideload"><table border="0" cellspacing="5">
38        <tr><td colspan="2"></tr>
[d598396b]39        <tr><td class="mediumtags" align="right"><b><%=intl._("News Updates")%>:</b></td>
[4738168]40     <% }   // if canInstall %>
[080cc96]41          <td> <% if ("true".equals(System.getProperty("net.i2p.router.web.UpdateHandler.updateInProgress", "false"))) { %> <i><%=intl._("Update In Progress")%></i><br> <% } else { %> <input type="submit" name="action" class="check" value="<%=intl._("Check for updates")%>" />
[35da3f3]42            <% } %></td></tr>
43        <tr><td colspan="2"><br></td></tr>
[d598396b]44        <tr><td class="mediumtags" align="right"><b><%=intl._("News URL")%>:</b></td>
[819efc1]45          <td><input type="text" size="60" name="newsURL" value="<jsp:getProperty name="updatehelper" property="newsURL" />"></td>
[d598396b]46        </tr><tr><td class="mediumtags" align="right"><b><%=intl._("Refresh frequency")%>:</b>
[6801fc6]47          <td><jsp:getProperty name="updatehelper" property="refreshFrequencySelectBox" /></td></tr>
48    <% if (updatehelper.canInstall()) { %>
[d598396b]49        <tr><td class="mediumtags" align="right"><b><%=formhandler._("Update policy")%>:</b></td>
[d5fd682]50          <td><jsp:getProperty name="updatehelper" property="updatePolicySelectBox" /></td></tr>
51    <% }   // if canInstall %>
[d598396b]52        <tr><td class="mediumtags" align="right"><b><%=intl._("Update through the eepProxy?")%></b></td>
[35da3f3]53          <td><jsp:getProperty name="updatehelper" property="updateThroughProxy" /></td>
[d598396b]54        </tr><tr><td class="mediumtags" align="right"><b><%=intl._("eepProxy host")%>:</b></td>
[35da3f3]55          <td><input type="text" size="10" name="proxyHost" value="<jsp:getProperty name="updatehelper" property="proxyHost" />" /></td>
[d598396b]56        </tr><tr><td class="mediumtags" align="right"><b><%=intl._("eepProxy port")%>:</b></td>
[0da70ca]57          <td><input type="text" size="10" name="proxyPort" value="<jsp:getProperty name="updatehelper" property="proxyPort" />" /></td></tr>
[d5fd682]58    <% if (updatehelper.canInstall()) { %>
[d598396b]59        <tr><td class="mediumtags" align="right"><b><%=intl._("Update URLs")%>:</b></td>
[2bff0d6b]60          <td><textarea cols="60" rows="6" name="updateURL" wrap="off" spellcheck="false"><jsp:getProperty name="updatehelper" property="updateURL" /></textarea></td>
[d598396b]61        </tr><tr><td class="mediumtags" align="right"><b><%=intl._("Trusted keys")%>:</b></td>
[2bff0d6b]62          <td><textarea cols="60" rows="6" name="trustedKeys" wrap="off" spellcheck="false"><jsp:getProperty name="updatehelper" property="trustedKeys" /></textarea></td>
[d598396b]63        </tr><tr><td id="unsignedbuild" class="mediumtags" align="right"><b><%=intl._("Update with unsigned development builds?")%></b></td>
[35da3f3]64          <td><jsp:getProperty name="updatehelper" property="updateUnsigned" /></td>
[d598396b]65        </tr><tr><td class="mediumtags" align="right"><b><%=intl._("Unsigned Build URL")%>:</b></td>
[6801fc6]66          <td><input type="text" size="60" name="zipURL" value="<jsp:getProperty name="updatehelper" property="zipURL" />"></td></tr>
67    <% } else { %>
[d598396b]68        <tr><td class="mediumtags" align="center" colspan="2"><b><%=intl._("Updates will be dispatched via your package manager.")%></b></td></tr>
[6801fc6]69    <% }   // if canInstall %>
70        <tr class="tablefooter"><td colspan="2">
[35da3f3]71        <div class="formaction">
[080cc96]72            <input type="reset" class="cancel" value="<%=intl._("Cancel")%>" >
73            <input type="submit" name="action" class="accept" value="<%=intl._("Save")%>" >
[35da3f3]74        </div></td></tr></table></div></form></div></div></body></html>
Note: See TracBrowser for help on using the repository browser.