forked from I2P_Developers/i2p.i2p
more config ui tweaks
This commit is contained in:
@@ -28,8 +28,10 @@
|
|||||||
<input type="hidden" name="nonce" value="<%=System.getProperty("net.i2p.router.web.ConfigNetHandler.nonce")%>" />
|
<input type="hidden" name="nonce" value="<%=System.getProperty("net.i2p.router.web.ConfigNetHandler.nonce")%>" />
|
||||||
<input type="hidden" name="action" value="blah" />
|
<input type="hidden" name="action" value="blah" />
|
||||||
|
|
||||||
<b>Bandwidth limiter</b><br />
|
<h3>Bandwidth limiter</h3>
|
||||||
<p>
|
<p>
|
||||||
|
<b>I2P will work best if you configure your rates to match the speed of your internet connection.</b>
|
||||||
|
</p><p>
|
||||||
<table>
|
<table>
|
||||||
<tr><td><input style="text-align: right; width: 5em;" name="inboundrate" type="text" size="5" maxlength="5" value="<jsp:getProperty name="nethelper" property="inboundRate" />" /> KBps
|
<tr><td><input style="text-align: right; width: 5em;" name="inboundrate" type="text" size="5" maxlength="5" value="<jsp:getProperty name="nethelper" property="inboundRate" />" /> KBps
|
||||||
In <td>(<jsp:getProperty name="nethelper" property="inboundRateBits" />)<br />
|
In <td>(<jsp:getProperty name="nethelper" property="inboundRateBits" />)<br />
|
||||||
@@ -75,7 +77,10 @@
|
|||||||
<a href="oldstats.jsp#test.rtt">test.rtt</a> and related stats.</p>
|
<a href="oldstats.jsp#test.rtt">test.rtt</a> and related stats.</p>
|
||||||
<hr />
|
<hr />
|
||||||
-->
|
-->
|
||||||
|
<h3>IP and Transport Configuration</h3>
|
||||||
<p>
|
<p>
|
||||||
|
<b>The default settings will work for most people. There is <a href="#chelp">help below</a>.</b>
|
||||||
|
</p><p>
|
||||||
<b>UPnP Configuration:</b><br />
|
<b>UPnP Configuration:</b><br />
|
||||||
<input type="checkbox" name="upnp" value="true" <jsp:getProperty name="nethelper" property="upnpChecked" /> />
|
<input type="checkbox" name="upnp" value="true" <jsp:getProperty name="nethelper" property="upnpChecked" /> />
|
||||||
Enable UPnP to open firewall ports <a href="peers.jsp#upnp">UPnP status</a>
|
Enable UPnP to open firewall ports <a href="peers.jsp#upnp">UPnP status</a>
|
||||||
@@ -108,7 +113,7 @@
|
|||||||
%>
|
%>
|
||||||
<br />
|
<br />
|
||||||
<input type="radio" name="udpAutoIP" value="hidden" <%=nethelper.getUdpAutoIPChecked(2) %> />
|
<input type="radio" name="udpAutoIP" value="hidden" <%=nethelper.getUdpAutoIPChecked(2) %> />
|
||||||
Hidden mode - do not publish IP<i>(not recommended; change restarts router)</i><br />
|
Hidden mode - do not publish IP<i>(prevents participating traffic; change restarts router)</i><br />
|
||||||
</p><p>
|
</p><p>
|
||||||
<b>UDP Configuration:</b><br />
|
<b>UDP Configuration:</b><br />
|
||||||
UDP port:
|
UDP port:
|
||||||
@@ -135,7 +140,7 @@
|
|||||||
Specify hostname or IP:
|
Specify hostname or IP:
|
||||||
<input name ="ntcphost" type="text" size="16" value="<jsp:getProperty name="nethelper" property="ntcphostname" />" /><br />
|
<input name ="ntcphost" type="text" size="16" value="<jsp:getProperty name="nethelper" property="ntcphostname" />" /><br />
|
||||||
<input type="radio" name="ntcpAutoIP" value="disabled" <%=nethelper.getTcpAutoIPChecked(4) %> />
|
<input type="radio" name="ntcpAutoIP" value="disabled" <%=nethelper.getTcpAutoIPChecked(4) %> />
|
||||||
Completely disable <i>(select only if behind a firewall that throttles or blocks outbound TCP - restart required)</i><br />
|
Completely disable <i>(select only if behind a firewall that throttles or blocks outbound TCP - change requires restart)</i><br />
|
||||||
</p><p>
|
</p><p>
|
||||||
Externally reachable TCP port:<br />
|
Externally reachable TCP port:<br />
|
||||||
<input type="radio" name="ntcpAutoPort" value="2" <%=nethelper.getTcpAutoPortChecked(2) %> />
|
<input type="radio" name="ntcpAutoPort" value="2" <%=nethelper.getTcpAutoPortChecked(2) %> />
|
||||||
|
@@ -1,3 +1,26 @@
|
|||||||
|
<center>
|
||||||
|
<h4>
|
||||||
|
<% if (request.getRequestURI().indexOf("config.jsp") != -1) {
|
||||||
|
%>Network<% }
|
||||||
|
else if (request.getRequestURI().indexOf("configservice.jsp") != -1) {
|
||||||
|
%>Service<% }
|
||||||
|
else if (request.getRequestURI().indexOf("configupdate.jsp") != -1) {
|
||||||
|
%>Update<% }
|
||||||
|
else if (request.getRequestURI().indexOf("configtunnels.jsp") != -1) {
|
||||||
|
%>Tunnels<% }
|
||||||
|
else if (request.getRequestURI().indexOf("configclients.jsp") != -1) {
|
||||||
|
%>Clients<% }
|
||||||
|
else if (request.getRequestURI().indexOf("configpeer.jsp") != -1) {
|
||||||
|
%>Peers<% }
|
||||||
|
else if (request.getRequestURI().indexOf("configkeyring.jsp") != -1) {
|
||||||
|
%>Keyring<% }
|
||||||
|
else if (request.getRequestURI().indexOf("configlogging.jsp") != -1) {
|
||||||
|
%>Logging<% }
|
||||||
|
else if (request.getRequestURI().indexOf("configstats.jsp") != -1) {
|
||||||
|
%>Stats<% }
|
||||||
|
else if (request.getRequestURI().indexOf("configadvanced.jsp") != -1) {
|
||||||
|
%>Advanced<% }%>
|
||||||
|
Configuration</h4>
|
||||||
<h4><% if (request.getRequestURI().indexOf("config.jsp") != -1) {
|
<h4><% if (request.getRequestURI().indexOf("config.jsp") != -1) {
|
||||||
%>Network | <% } else { %><a href="config.jsp">Network</a> | <% }
|
%>Network | <% } else { %><a href="config.jsp">Network</a> | <% }
|
||||||
if (request.getRequestURI().indexOf("configservice.jsp") != -1) {
|
if (request.getRequestURI().indexOf("configservice.jsp") != -1) {
|
||||||
@@ -18,3 +41,5 @@
|
|||||||
%>Stats | <% } else { %><a href="configstats.jsp">Stats</a> | <% }
|
%>Stats | <% } else { %><a href="configstats.jsp">Stats</a> | <% }
|
||||||
if (request.getRequestURI().indexOf("configadvanced.jsp") != -1) {
|
if (request.getRequestURI().indexOf("configadvanced.jsp") != -1) {
|
||||||
%>Advanced<% } else { %><a href="configadvanced.jsp">Advanced</a><% } %></h4>
|
%>Advanced<% } else { %><a href="configadvanced.jsp">Advanced</a><% } %></h4>
|
||||||
|
</center>
|
||||||
|
<hr />
|
||||||
|
Reference in New Issue
Block a user