UI layout cleanups and finessing.
This commit is contained in:
@ -28,7 +28,7 @@
|
||||
<h3>Bandwidth limiter</h3><p>
|
||||
<b>I2P will work best if you configure your rates to match the speed of your internet connection.</b>
|
||||
</p>
|
||||
<div class="wideload"><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 In
|
||||
<div class="wideload"><p><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 In
|
||||
</td><td>(<jsp:getProperty name="nethelper" property="inboundRateBits" />)</td>
|
||||
<!-- let's keep this simple...
|
||||
bursting up to
|
||||
@ -48,16 +48,16 @@
|
||||
</tr><tr>
|
||||
<td><jsp:getProperty name="nethelper" property="sharePercentageBox" /> Share</td>
|
||||
<td>(<jsp:getProperty name="nethelper" property="shareRateBits" />)
|
||||
</td></tr></table></div></p>
|
||||
</td></tr></table></p></div></p>
|
||||
<% int share = nethelper.getShareBandwidth();
|
||||
if (share < 12) {
|
||||
out.print("<b>NOTE</b>: You have configured I2P to share only " + share + "KBps. ");
|
||||
out.print("<p><b>NOTE</b>: You have configured I2P to share only " + share + "KBps. ");
|
||||
out.print("I2P requires at least 12KBps to enable sharing. ");
|
||||
out.print("Please enable sharing (participating in tunnels) by configuring more bandwidth. ");
|
||||
out.print("It improves your anonymity by creating cover traffic, and helps the network.<br>");
|
||||
out.print("It improves your anonymity by creating cover traffic, and helps the network.</p>");
|
||||
} else {
|
||||
out.print("You have configured I2P to share<b> " + share + "KBps</b>. ");
|
||||
out.print("The higher the share bandwidth the more you improve your anonymity and help the network.<hr>");
|
||||
out.print("<p>You have configured I2P to share<b> " + share + "KBps</b>. ");
|
||||
out.print("The higher the share bandwidth the more you improve your anonymity and help the network.</p><hr>");
|
||||
}
|
||||
%>
|
||||
<div class="formaction">
|
||||
@ -160,7 +160,7 @@
|
||||
<p>
|
||||
UPnP is used to communicate with Internet Gateway Devices (IGDs) to detect the external IP address
|
||||
and forward ports.
|
||||
UPnP support is beta, and may not work for any number of reasons:
|
||||
UPnP support is beta, and may not work for any number of reasons:
|
||||
<ul>
|
||||
<li class="tidylist">No UPnP-compatible device present
|
||||
<li class="tidylist">UPnP disabled on the device
|
||||
@ -168,9 +168,9 @@
|
||||
<li class="tidylist">Bugs in the device's UPnP implementation
|
||||
<li class="tidylist">Multiple firewall/routers in the internet connection path
|
||||
<li class="tidylist">UPnP device change, reset, or address change
|
||||
</ul><br>
|
||||
</ul></p><p>
|
||||
Reviewing the <a href="peers.jsp#upnp">UPnP status</a> may help.
|
||||
UPnP may be enabled or disabled above, but a change requires a router restart to take effect.
|
||||
UPnP may be enabled or disabled above, but a change requires a router restart to take effect.</p>
|
||||
<p>Hostnames entered above will be published in the network database.
|
||||
They are <b>not private</b>.
|
||||
Also, <b>do not enter a private IP address</b> like 127.0.0.1 or 192.168.1.1.
|
||||
@ -233,7 +233,7 @@
|
||||
<li class="tidylist"><b>ERR - Client Manager I2CP Error - check logs</b> -
|
||||
This is usually due to a port 7654 conflict. Check the logs to verify. Do you have another I2P instance running?
|
||||
Stop the conflicting program and restart I2P.
|
||||
</ul><hr>
|
||||
</ul></p><hr>
|
||||
<!--
|
||||
<b>Dynamic Router Keys: </b>
|
||||
<input type="checkbox" class="optbox" name="dynamicKeys" value="true" <jsp:getProperty name="nethelper" property="dynamicKeysChecked" /> /><br>
|
||||
|
@ -17,9 +17,9 @@
|
||||
<jsp:getProperty name="formhandler" property="allMessages" />
|
||||
<jsp:useBean class="net.i2p.router.web.ConfigKeyringHelper" id="keyringhelper" scope="request" />
|
||||
<jsp:setProperty name="keyringhelper" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
|
||||
<div class="configure"><h2>Keyring</h2>
|
||||
<div class="configure"><h2>Keyring</h2><p>
|
||||
The router keyring is used to decrypt encrypted leaseSets.
|
||||
The keyring may contain keys for local or remote encrypted destinations.
|
||||
The keyring may contain keys for local or remote encrypted destinations.</p>
|
||||
<div class="wideload"><p>
|
||||
<jsp:getProperty name="keyringhelper" property="summary" />
|
||||
</p></div>
|
||||
@ -29,12 +29,12 @@
|
||||
if (prev != null) System.setProperty("net.i2p.router.web.ConfigKeyringHandler.noncePrev", prev);
|
||||
System.setProperty("net.i2p.router.web.ConfigKeyringHandler.nonce", new java.util.Random().nextLong()+""); %>
|
||||
<input type="hidden" name="nonce" value="<%=System.getProperty("net.i2p.router.web.ConfigKeyringHandler.nonce")%>" />
|
||||
<h3>Manual Keyring Addition</h3>
|
||||
<h3>Manual Keyring Addition</h3><p>
|
||||
Enter keys for encrypted remote destinations here.
|
||||
Keys for local destinations must be entered on the <a href="i2ptunnel/index.jsp">I2PTunnel page</a>.
|
||||
<p>
|
||||
</p>
|
||||
<div class="wideload">
|
||||
<table><tr>
|
||||
<p><table><tr>
|
||||
<td class="mediumtags" align="right">Dest. name, hash, or full key:</td>
|
||||
<td><textarea name="peer" cols="44" rows="1" style="height: 3em;" wrap="off"></textarea></td>
|
||||
</tr><tr>
|
||||
@ -43,4 +43,4 @@
|
||||
</tr><tr>
|
||||
<td align="right" colspan="2"><input type="submit" name="action" value="Add key" />
|
||||
<input type="submit" name="action" value="Delete key" /> <input type="reset" value="Cancel" /></td>
|
||||
</tr></table></div></form></div></div></body></html>
|
||||
</tr></table></p></div></form></div></div></body></html>
|
||||
|
@ -35,10 +35,10 @@
|
||||
<a name="unsh"> </a>
|
||||
<a name="bonus"> </a>
|
||||
<h2>Manual Peer Controls</h2>
|
||||
<div class="mediumtags">Router Hash:
|
||||
<input type="text" size="55" name="peer" value="<%=peer%>" /></div>
|
||||
<div class="mediumtags"><p>Router Hash:
|
||||
<input type="text" size="55" name="peer" value="<%=peer%>" /></p></div>
|
||||
<h3>Manually Ban / Unban a Peer</h3>
|
||||
Banning will prevent the participation of this peer in tunnels you create.
|
||||
<p>Banning will prevent the participation of this peer in tunnels you create.</p>
|
||||
<div class="formaction">
|
||||
<input type="submit" name="action" value="Ban peer until restart" />
|
||||
<input type="submit" name="action" value="Unban peer" />
|
||||
@ -48,20 +48,20 @@
|
||||
</div>
|
||||
|
||||
<h3>Adjust Profile Bonuses</h3>
|
||||
Bonuses may be positive or negative, and affect the peer's inclusion in Fast
|
||||
<p>Bonuses may be positive or negative, and affect the peer's inclusion in Fast
|
||||
and High Capacity tiers. Fast peers are used for client tunnels, and High
|
||||
Capacity peers are used for some exploratory tunnels. Current bonuses are
|
||||
displayed on the <a href="profiles.jsp">profiles page</a>.<br>
|
||||
displayed on the <a href="profiles.jsp">profiles page</a>.</p>
|
||||
<% long speed = 0; long capacity = 0;
|
||||
if (! "".equals(peer)) {
|
||||
// get existing bonus values?
|
||||
}
|
||||
%>
|
||||
<div class="mediumtags">Speed:
|
||||
<div class="mediumtags"><p>Speed:
|
||||
<input type="text" size="8" name="speed" value="<%=speed%>" />
|
||||
Capacity:
|
||||
<input type="text" size="8" name="capacity" value="<%=capacity%>" />
|
||||
<input type="submit" name="action" value="Adjust peer bonuses" /></div>
|
||||
<input type="submit" name="action" value="Adjust peer bonuses" /></p></div>
|
||||
</form>
|
||||
<a name="shitlist"> </a>
|
||||
<jsp:useBean class="net.i2p.router.web.ProfilesHelper" id="profilesHelper" scope="request" />
|
||||
@ -71,4 +71,4 @@
|
||||
<div class="wideload">
|
||||
<jsp:getProperty name="peerhelper" property="blocklistSummary" />
|
||||
|
||||
</div></div><br></div></body></html>
|
||||
</div><hr></div></div></body></html>
|
||||
|
@ -78,7 +78,7 @@ function toggleAll(category)
|
||||
Stat file: <input type="text" name="filename" value="<%=statshelper.getFilename()%>" /><br>
|
||||
Filter: (<a href="javascript: void(null);" onclick="toggleAll('*')">toggle all</a>)<br></p>
|
||||
<div class="wideload">
|
||||
<table>
|
||||
<p><table>
|
||||
<% while (statshelper.hasMoreStats()) {
|
||||
while (statshelper.groupRequired()) { %>
|
||||
<tr class="tablefooter">
|
||||
@ -108,4 +108,4 @@ Filter: (<a href="javascript: void(null);" onclick="toggleAll('*')">toggle all</
|
||||
<td colspan="2">Advanced filter:
|
||||
<input type="text" name="explicitFilterValue" value="<%=statshelper.getExplicitFilter()%>" size="40" /></td></tr>
|
||||
<tr class="tablefooter"><td colspan="3" align="right"><input type="submit" name="shouldsave" value="Save changes" /><input type="reset" value="Cancel" /></td></tr>
|
||||
</table></div></form></div></div></body></html>
|
||||
</table></p></div></form></div></div></body></html>
|
||||
|
@ -20,23 +20,23 @@
|
||||
<jsp:setProperty name="formhandler" property="nonce" value="<%=request.getParameter("nonce")%>" />
|
||||
<jsp:setProperty name="formhandler" property="settings" value="<%=request.getParameterMap()%>" />
|
||||
<jsp:getProperty name="formhandler" property="allMessages" />
|
||||
<div class="configure"><p><i>
|
||||
<div class="configure"><p>
|
||||
NOTE: The default settings work for most people.
|
||||
There is a fundamental tradeoff between anonymity and performance.
|
||||
Tunnels longer than 3 hops (for example 2 hops + 0-2 hops, 3 hops + 0-1 hops, 3 hops + 0-2 hops),
|
||||
or a high quantity + backup quantity, may severely reduce performance or reliability.
|
||||
High CPU and/or high outbound bandwidth usage may result.
|
||||
Change these settings with care, and adjust them if you have problems.
|
||||
</i></p><div class="wideload">
|
||||
<form action="configtunnels.jsp" method="POST">
|
||||
<div class="wideload">
|
||||
<form action="configtunnels.jsp" method="POST">
|
||||
<% String prev = System.getProperty("net.i2p.router.web.ConfigTunnelsHandler.nonce");
|
||||
if (prev != null) System.setProperty("net.i2p.router.web.ConfigTunnelsHandler.noncePrev", prev);
|
||||
System.setProperty("net.i2p.router.web.ConfigTunnelsHandler.nonce", new java.util.Random().nextLong()+""); %>
|
||||
<input type="hidden" name="nonce" value="<%=System.getProperty("net.i2p.router.web.ConfigTunnelsHandler.nonce")%>" />
|
||||
<input type="hidden" name="action" value="blah" />
|
||||
<jsp:getProperty name="tunnelshelper" property="form" />
|
||||
<i>Note - Exploratory tunnel setting changes are stored in the router.config file.</i><br>
|
||||
<i>Client tunnel changes are temporary and are not saved.</i><br>
|
||||
<i>To make permanent client tunnel changes see the </i><a href="i2ptunnel/index.jsp">i2ptunnel page</a>.<br>
|
||||
Note: Exploratory tunnel setting changes are stored in the router.config file.
|
||||
Client tunnel changes are temporary and are not saved.
|
||||
To make permanent client tunnel changes see the <a href="i2ptunnel/index.jsp">i2ptunnel page</a>.
|
||||
<hr><div class="formaction"><input type="submit" name="shouldsave" value="Save changes" /> <input type="reset" value="Cancel" /></div>
|
||||
</form></div></div></div></body></html>
|
||||
</form></p></div></div></div></body></html>
|
||||
|
@ -25,7 +25,7 @@
|
||||
// userAgent defined in confignav
|
||||
if (userAgent == null || !userAgent.contains("MSIE")) {
|
||||
%>
|
||||
<form action="configui.jsp" method="POST">
|
||||
<form action="configui.jsp" method="POST">
|
||||
<% String prev = System.getProperty("net.i2p.router.web.ConfigUIHandler.nonce");
|
||||
if (prev != null) System.setProperty("net.i2p.router.web.ConfigUIHandler.noncePrev", prev);
|
||||
System.setProperty("net.i2p.router.web.ConfigUIHandler.nonce", new java.util.Random().nextLong()+""); %>
|
||||
|
@ -11,4 +11,4 @@
|
||||
<jsp:setProperty name="jobQueueHelper" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
|
||||
<jsp:setProperty name="jobQueueHelper" property="writer" value="<%=out%>" />
|
||||
<jsp:getProperty name="jobQueueHelper" property="jobQueueSummary" />
|
||||
</div></body></html>
|
||||
<hr></div></body></html>
|
||||
|
@ -25,4 +25,4 @@
|
||||
<jsp:getProperty name="logsHelper" property="logs" />
|
||||
<h3>Service (Wrapper) Logs</h3><a name="servicelogs"> </a>
|
||||
<jsp:getProperty name="logsHelper" property="serviceLogs" />
|
||||
</div></div></body></html>
|
||||
</div><hr></div></body></html>
|
||||
|
@ -213,7 +213,7 @@ div.tunnels {
|
||||
}
|
||||
|
||||
div.tunnels table {
|
||||
margin-top: -3px !important;
|
||||
margin: -3px 0 !important;
|
||||
}
|
||||
|
||||
div.tunnels td {
|
||||
|
Reference in New Issue
Block a user