Cosmetic tweaks to configui and config pages.

This commit is contained in:
z3d
2009-07-16 01:44:56 +00:00
parent dad4bef70c
commit 56b3144c56
2 changed files with 8 additions and 2 deletions

View File

@ -82,6 +82,7 @@
<p>
<b>The default settings will work for most people. There is <a href="#chelp">help below</a>.</b>
</p><p>
<div class="configure">
<b>UPnP Configuration:</b><br />
<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>
@ -152,7 +153,9 @@
<input name ="ntcpport" type="text" size="5" maxlength="5" value="<jsp:getProperty name="nethelper" property="ntcpport" />" /><br />
</p><p><b>Note: Changing these settings will restart your router.</b>
</p>
<input type="submit" name="save" value="Save changes" /> <input type="reset" value="Cancel" /><br />
<input type="submit" name="save" value="Save changes" /> <input type="reset" value="Cancel" />
</div>
<br />
<h3><a name="chelp">Configuration Help:</a></h3>
<div align="justify">
<p>

View File

@ -23,7 +23,8 @@
<jsp:setProperty name="formhandler" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
<jsp:getProperty name="formhandler" property="allMessages" />
<h2>Router Console Theme</h2>
<h3>Router Console Theme</h3>
<div class="configure">
<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);
@ -31,10 +32,12 @@
<input type="hidden" name="nonce" value="<%=System.getProperty("net.i2p.router.web.ConfigUIHandler.nonce")%>" />
<input type="hidden" name="action" value="blah" />
<jsp:getProperty name="uihelper" property="settings" />
<hr>
<p>
<input type="submit" name="shouldsave" value="Apply" /> <input type="reset" value="Cancel" />
</p>
</form>
</div>
</div>
</body>
</html>