From f010b27b141d1e82df6da268bca060df4db19259 Mon Sep 17 00:00:00 2001 From: zzz Date: Sat, 3 Mar 2012 20:17:02 +0000 Subject: [PATCH] Home page: - Convert ajax to use shared script - CSS tweaks - Add missing icons Silk icons: See licenses/LICENSE-SilkIcons.txt --- .../src/net/i2p/router/web/HomeHelper.java | 1 + apps/routerconsole/jsp/home.jsp | 58 +++--------------- apps/routerconsole/jsp/js/ajax.js | 5 +- .../resources/themes/console/images/book.png | Bin 0 -> 593 bytes .../themes/console/images/book_addresses.png | Bin 0 -> 770 bytes .../resources/themes/console/images/bug.png | Bin 0 -> 774 bytes .../resources/themes/console/images/film.png | Bin 0 -> 653 bytes .../resources/themes/console/images/help.png | Bin 0 -> 786 bytes .../themes/console/images/plugin.png | Bin 0 -> 591 bytes .../themes/console/images/wrench_orange.png | Bin 0 -> 584 bytes .../themes/console/light/console.css | 4 +- 11 files changed, 13 insertions(+), 55 deletions(-) create mode 100644 installer/resources/themes/console/images/book.png create mode 100644 installer/resources/themes/console/images/book_addresses.png create mode 100644 installer/resources/themes/console/images/bug.png create mode 100644 installer/resources/themes/console/images/film.png create mode 100644 installer/resources/themes/console/images/help.png create mode 100644 installer/resources/themes/console/images/plugin.png create mode 100644 installer/resources/themes/console/images/wrench_orange.png 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 9a6567e6f2..189821cc2c 100644 --- a/apps/routerconsole/java/src/net/i2p/router/web/HomeHelper.java +++ b/apps/routerconsole/java/src/net/i2p/router/web/HomeHelper.java @@ -47,6 +47,7 @@ public class HomeHelper extends HelperBase { _x("Key Server") + S + _x("OpenPGP Keyserver") + S + "http://keys.i2p/" + S + I + "book.png" + S + _x("Pastebin") + S + _x("I2P Pastebin") + S + "http://pastethis.i2p/" + S + I + "itoopie_sm.png" + S + "Planet I2P" + S + _x("I2P News") + S + "http://planet.i2p/" + S + I + "itoopie_sm.png" + S + + //_x("Plugins") + S + _x("Add-on directory") + S + "http://*TBD*.i2p/" + S + I + "plugin.png" + S + _x("Postman's Tracker") + S + _x("Bittorrent tracker") + S + "http://tracker2.postman.i2p/" + S + I + "itoopie_sm.png" + S + _x("Project Website") + S + _x("I2P home page") + S + "http://www.i2p2.i2p/" + S + I + "help.png" + S + "stats.i2p" + S + _x("I2P Netowrk Statistics") + S + "http://stats.i2p/cgi-bin/dashboard.cgi" + S + I + "itoopie_sm.png" + S + diff --git a/apps/routerconsole/jsp/home.jsp b/apps/routerconsole/jsp/home.jsp index 65cfef40e4..be6073b66b 100644 --- a/apps/routerconsole/jsp/home.jsp +++ b/apps/routerconsole/jsp/home.jsp @@ -1,59 +1,15 @@ <%@page contentType="text/html"%> <%@page pageEncoding="UTF-8"%> - <%@include file="css.jsi" %> <%=intl.title("home")%> - + - - - - - <% String consoleNonce = System.getProperty("router.consoleNonce"); if (consoleNonce == null) { @@ -61,7 +17,6 @@ function initAjax() { setInterval(requestAjax1, 15000); } System.setProperty("router.consoleNonce", consoleNonce); } %> -
@@ -81,12 +36,13 @@ function initAjax() { setInterval(requestAjax1, 15000); } English عربية 中文 + Czech Danish Deutsch Eesti Español - Suomi - Français
+ Suomi
+ Français Italiano Nederlands Polski @@ -122,7 +78,7 @@ function initAjax() { setInterval(requestAjax1, 15000); }