From ff400c9448d5e5c68e1036045f36064d2e221b6d Mon Sep 17 00:00:00 2001 From: str4d Date: Sat, 3 Jun 2017 14:09:17 +0000 Subject: [PATCH] UI feedback Console: - Increase contrast of table rows on profile/tunnels/peers tables - Changed pink font to magenta in /logs to increase legibility - Soften H3 headings in sidebar - Single click to select I2P Version and Running Environment table text, with table:hover color change and text cursor to better reflect selection - Modify text above to indicate what exactly needs to be included in logs - Reduce size of monospace dests in peers/profiles/tunnels, add additional spacing (responsive) - Fix resizing of sidebar reseed button - De-emphasise siderbar app icons with background-blend-mode: luminosity - Change sidebar snark icon to match homepage icon - Bump div.main text color from #222 to #333 (reduce contrast) i2ptunnel: Increase vertical spacing of H2/H3's SusiDNS: Change address helper icon to add book icon i2psnark: - Remove font-adjust-size (ubergine/vanilla) - Was probably causing the navbar links to display too large on some setups - Add extra spacing to screenlogger bullets (ubergine) --- .../org/klomp/snark/web/I2PSnarkServlet.java | 2 +- .../src/net/i2p/router/web/LogsHelper.java | 3 +- apps/routerconsole/jsp/configstats.jsp | 2 +- apps/routerconsole/jsp/logs.jsp | 2 +- history.txt | 19 +++ installer/resources/proxy/dnf-header.ht | 2 +- installer/resources/proxy/dnfb-header.ht | 2 +- installer/resources/proxy/dnfp-header.ht | 2 +- installer/resources/proxy/encp-header.ht | 2 +- installer/resources/proxy/nols-header.ht | 2 +- installer/resources/proxy/nolsp-header.ht | 2 +- installer/resources/proxy/reset-header.ht | 2 +- installer/resources/proxy/resetp-header.ht | 2 +- .../themes/console/classic/console.css | 45 ++++++- .../themes/console/classic/i2ptunnel.css | 20 ++- .../resources/themes/console/dark/console.css | 47 +++++-- .../themes/console/images/buttons/helper.png | Bin 939 -> 536 bytes .../themes/console/light/console.css | 122 ++++++++++++++---- .../themes/console/light/i2ptunnel.css | 5 + .../themes/console/midnight/console.css | 44 +++++-- .../resources/themes/snark/ubergine/snark.css | 3 +- .../resources/themes/snark/vanilla/snark.css | 1 - .../src/net/i2p/router/transport/UPnP.java | 2 + 23 files changed, 256 insertions(+), 77 deletions(-) diff --git a/apps/i2psnark/java/src/org/klomp/snark/web/I2PSnarkServlet.java b/apps/i2psnark/java/src/org/klomp/snark/web/I2PSnarkServlet.java index 0572dfff7a..1b2f8a7ab9 100644 --- a/apps/i2psnark/java/src/org/klomp/snark/web/I2PSnarkServlet.java +++ b/apps/i2psnark/java/src/org/klomp/snark/web/I2PSnarkServlet.java @@ -2862,7 +2862,7 @@ public class I2PSnarkServlet extends BasicServlet { buf.append(title); buf.append("\n").append(HEADER_A).append(_themePath).append(HEADER_B) // hide javascript-dependent buttons when js is unavailable - .append("") + .append("") .append("\n"); if (showPriority) buf.append("\n"); diff --git a/apps/routerconsole/java/src/net/i2p/router/web/LogsHelper.java b/apps/routerconsole/java/src/net/i2p/router/web/LogsHelper.java index 548be82f4f..74c661ecbc 100644 --- a/apps/routerconsole/java/src/net/i2p/router/web/LogsHelper.java +++ b/apps/routerconsole/java/src/net/i2p/router/web/LogsHelper.java @@ -174,7 +174,8 @@ public class LogsHelper extends HelperBase { else if (msg.contains(_t("ERROR"))) color = "#ff3300"; else if (msg.contains(_t("WARN"))) - color = "#ff00cc"; + // color = "#ff00cc"; poor legibility on light backgrounds + color = "#bf00df"; else if (msg.contains(_t("INFO"))) color = "#000099"; else diff --git a/apps/routerconsole/jsp/configstats.jsp b/apps/routerconsole/jsp/configstats.jsp index 9fbe48dbc8..d0dc00add7 100644 --- a/apps/routerconsole/jsp/configstats.jsp +++ b/apps/routerconsole/jsp/configstats.jsp @@ -6,7 +6,7 @@ <%@include file="css.jsi" %> <%=intl.title("config stats")%> - + <%@include file="summaryajax.jsi" %>