Skip to content

Commit

Permalink
pick a better icon for hidden services manager, improve some text, an…
Browse files Browse the repository at this point in the history
…d hide some of the stuff in /monitoring
  • Loading branch information
eyedeekay committed Nov 11, 2019
1 parent 9ddb655 commit eda91af
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 15 deletions.
Expand Up @@ -85,8 +85,12 @@ protected void processForm() {
app = new App(name, "", url, "/themes/console/images/eepsite.png");
else if ("2".equals(group))
app = new App(name, "", url, "/themes/console/images/title_window.png");
else
else if ("3".equals(group))
app = new App(name, "", url, "/themes/console/images/question.png");
else if ("4".equals(group))
app = new App(name, "", url, "/themes/console/images/server.png");
else if ("5".equals(group))
app = new App(name, "", url, "/themes/console/images/chart_line.png");
apps.add(app);
addFormNotice(_t("Added") + ": " + app.name);
} else {
Expand Down
Expand Up @@ -38,7 +38,7 @@ public class HomeHelper extends HelperBase {
// No commas allowed in text strings!
static final String DEFAULT_SERVICES =
_x("Email") + S + _x("Anonymous webmail client") + S + "/webmail" + S + I + "email.png" + S +
_x("I2P Tunnel") + S + _x("Port-Forwarding to and from I2P") + S + "/i2ptunnelmgr" + S + I + "itoopie_xsm.png" + S +
_x("Hidden Services Manager") + S + _x("Control your client and server tunnels") + S + "/i2ptunnelmgr" + S + I + "server_32x32.png" + S +
_x("Torrents") + S + _x("Built-in anonymous BitTorrent Client") + S + "/torrents" + S + I + "i2psnark.png" + S +
_x("Web Server") + S + _x("Local web server for hosting your own content on I2P") + S + "http://127.0.0.1:7658/" + S + I + "server_32x32.png" + S +
_x("Addressbook") + S + _x("Manage your I2P hosts file here (I2P domain name resolution)") + S + "/dns" + S + I + "book_addresses.png" + S +
Expand Down Expand Up @@ -97,10 +97,7 @@ public class HomeHelper extends HelperBase {
// No commas allowed in text strings!
static final String DEFAULT_MONITORING =
_x("Logs") + S + _x("View the logs") + S + "/logs" + S + I + "billiard_marker.png" + S +
_x("Router Stats") + S + _x("View router stats") + S + "/stats" + S + I + "info/bandwidth.png" + S +
_x("Charts and Graphs") + S + _x("Visualize information about the router") + S + "/graphs" + S + I + "chart_line.png" + S +
_x("Network Database") + S + _x("View the NetDB") + S + "/netdb" + S + I + "support.png" + S +
_x("Peers") + S + _x("View your known peers") + S + "/peers" + S + I + "group.png" + S +
_x("Graphs") + S + _x("Visualize information about the router") + S + "/graphs" + S + I + "chart_line.png" + S +
"";

public boolean shouldShowWelcome() {
Expand Down
17 changes: 9 additions & 8 deletions apps/routerconsole/jsp/confighome.jsp
Expand Up @@ -62,12 +62,13 @@ input.default {
<%
} // shouldShowSearch()
%>
<h3 class="tabletitle"><%=intl._t("Blogs, Forums, and Web Sites")%></h3>

<h3 class="tabletitle"><%=intl._t("Applications")%></h3>
<form action="" method="POST">
<input type="hidden" name="nonce" value="<%=pageNonce%>" >
<input type="hidden" name="group" value="1">
<jsp:getProperty name="homehelper" property="configFavorites" />
<div class="formaction" id="homesites">
<input type="hidden" name="group" value="2">
<jsp:getProperty name="homehelper" property="configServices" />
<div class="formaction" id="homeapps">
<input type="submit" name="action" class="default" value="<%=intl._t("Add item")%>" >
<input type="submit" name="action" class="delete" value="<%=intl._t("Delete selected")%>" >
<input type="reset" class="cancel" value="<%=intl._t("Cancel")%>" >
Expand All @@ -76,12 +77,12 @@ input.default {
</div>
</form>

<h3 class="tabletitle"><%=intl._t("Applications")%></h3>
<h3 class="tabletitle"><%=intl._t("Websites")%></h3>
<form action="" method="POST">
<input type="hidden" name="nonce" value="<%=pageNonce%>" >
<input type="hidden" name="group" value="2">
<jsp:getProperty name="homehelper" property="configServices" />
<div class="formaction" id="homeapps">
<input type="hidden" name="group" value="1">
<jsp:getProperty name="homehelper" property="configFavorites" />
<div class="formaction" id="homesites">
<input type="submit" name="action" class="default" value="<%=intl._t("Add item")%>" >
<input type="submit" name="action" class="delete" value="<%=intl._t("Delete selected")%>" >
<input type="reset" class="cancel" value="<%=intl._t("Cancel")%>" >
Expand Down
2 changes: 1 addition & 1 deletion apps/routerconsole/jsp/home.jsp
Expand Up @@ -93,7 +93,7 @@
</div>
</div>
<div class="ag2">
<h4 class="app2"><%=intl._t("Blogs, Forums, and Web Sites")%></h4>
<h4 class="app2"><%=intl._t("Websites")%></h4>
<div class="homesites">
<jsp:getProperty name="homehelper" property="favorites" /><br>
<div class="clearer">&nbsp;</div>
Expand Down
2 changes: 2 additions & 0 deletions history.txt
@@ -1,6 +1,8 @@
2019-11-06 idk
* Router:
- Use Local Application Data(%LOCALAPPDATA%) instead of Roaming for config
* Console:
- Change home page organization, headlines, to expose more information

2019-11-02 zzz
* Router: NSR/ES fixes for proposal 144
Expand Down

0 comments on commit eda91af

Please sign in to comment.