diff --git a/apps/routerconsole/java/src/net/i2p/router/web/HomeHelper.java b/apps/routerconsole/java/src/net/i2p/router/web/HomeHelper.java index 150448074f2a11909b8c81913a672a2293ff744c..9a1aae4a93461eca633e1a2f3d476cb8954f928d 100644 --- a/apps/routerconsole/java/src/net/i2p/router/web/HomeHelper.java +++ b/apps/routerconsole/java/src/net/i2p/router/web/HomeHelper.java @@ -28,15 +28,15 @@ public class HomeHelper extends HelperBase { // No commas allowed in text strings! static final String DEFAULT_SERVICES = _x("Addressbook") + S + _x("Manage your I2P hosts file here (I2P domain name resolution)") + S + "/dns" + S + I + "book_addresses.png" + S + - _x("Configure Bandwidth") + S + _x("I2P Bandwidth Configuration") + S + "/config" + S + I + "action_log.png" + S + - _x("Configure Plugins") + S + _x("Install and configure plugins") + S + "/configplugins" + S + I + "plugin.png" + S + - _x("Configure UI") + S + _x("Select console theme & language & set optional console password") + S + "/configui" + S + I + "wrench_orange.png" + S + + _x("Configure Bandwidth") + S + _x("I2P Bandwidth Configuration") + S + "/config" + S + I + "info/bandwidth.png" + S + + _x("Configure UI") + S + _x("Select console theme & language & set optional console password") + S + "/configui" + S + I + "info/ui.png" + S + _x("Customize Home Page") + S + _x("I2P Home Page Configuration") + S + "/confighome" + S + I + "home_page.png" + S + _x("Email") + S + _x("Anonymous webmail client") + S + "/susimail/susimail" + S + I + "email.png" + S + _x("Help") + S + _x("I2P Router Help") + S + "/help" + S + I + "support.png" + S + - _x("Router Console") + S + _x("I2P Router Console") + S + "/console" + S + I + "toolbox.png" + S + + _x("Manage Plugins") + S + _x("Install and configure I2P plugins") + S + "/configplugins" + S + I + "plugin.png" + S + + _x("Router Console") + S + _x("I2P Router Console") + S + "/console" + S + I + "info/console.png" + S + _x("Torrents") + S + _x("Built-in anonymous BitTorrent Client") + S + "/i2psnark/" + S + I + "magnet.png" + S + - _x("Website") + 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("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 + ""; // No commas allowed in text strings! @@ -176,7 +176,7 @@ public class HomeHelper extends HelperBase { } private String renderApps(Collection<App> apps) { - String website = _t("Website"); + String website = _t("Web Server"); StringBuilder buf = new StringBuilder(1024); buf.append("<div class=\"appgroup\">"); for (App app : apps) { @@ -188,23 +188,18 @@ public class HomeHelper extends HelperBase { } else { url = app.url; } - buf.append("<div class=\"app\">" + + buf.append("\n<div class=\"app\">\n" + "<div class=\"appimg\">" + - "<a href=\"").append(url).append("\">" + - "<img class=\""); - // toopie is 54x68, not 16x16, needs special alignment and sizing - if (app.icon.endsWith("/itoopie_sm.png")) - buf.append("app2p"); - else - buf.append("app"); - buf.append("\" alt=\"\" title=\"").append(app.desc).append("\" src=\"").append(app.icon).append("\"></a>\n" + - "</div>" + - "<table class=\"app\"><tr class=\"app\"><td class=\"app\">" + + // usability: add tabindex -1 so we avoid 2 tabs per app + "<a href=\"").append(url).append("\" tabindex=\"-1\">" + + "<img alt=\"\" title=\"").append(app.desc).append("\" src=\"").append(app.icon).append("\"></a>" + + "</div>\n" + + "<table><tr><td>" + "<div class=\"applabel\">" + "<a href=\"").append(url).append("\" title=\"").append(app.desc).append("\">").append(app.name).append("</a>" + "</div>" + - "</td></tr></table>" + - "</div>\n"); + "</td></tr></table>\n" + + "</div>"); } buf.append("</div>\n"); return buf.toString(); diff --git a/apps/routerconsole/java/src/net/i2p/router/web/SummaryBarRenderer.java b/apps/routerconsole/java/src/net/i2p/router/web/SummaryBarRenderer.java index 2e629c3b7cb501502ddeeef25b73320923851069..1eddd32591d6342bfd29947a0e4a0cd80df1078a 100644 --- a/apps/routerconsole/java/src/net/i2p/router/web/SummaryBarRenderer.java +++ b/apps/routerconsole/java/src/net/i2p/router/web/SummaryBarRenderer.java @@ -163,7 +163,7 @@ class SummaryBarRenderer { .append("/\" target=\"_blank\" title=\"") .append(_t("Local web server")) .append("\">") - .append(nbsp(_t("Website"))) + .append(nbsp(_t("Web Server"))) .append("</a>\n") .append(NavHelper.getClientAppLinks(_context)) diff --git a/installer/resources/themes/console/images/info/console.png b/installer/resources/themes/console/images/info/console.png new file mode 100644 index 0000000000000000000000000000000000000000..305109c4ac61e27f3bcb91504e7f50dc1888645b Binary files /dev/null and b/installer/resources/themes/console/images/info/console.png differ diff --git a/installer/resources/themes/console/images/info/ui.png b/installer/resources/themes/console/images/info/ui.png new file mode 100644 index 0000000000000000000000000000000000000000..14bed7fe700b2cd225c643555a4f856ae43a6b2e Binary files /dev/null and b/installer/resources/themes/console/images/info/ui.png differ