diff --git a/apps/routerconsole/jsp/error.jsp b/apps/routerconsole/jsp/error.jsp index 92da24f4d..33adb413d 100644 --- a/apps/routerconsole/jsp/error.jsp +++ b/apps/routerconsole/jsp/error.jsp @@ -12,7 +12,7 @@ } // If it can't find the iframe or viewtheme.jsp I wonder if the whole thing blows up... %> -I2P Router Console +I2P Router Console - Page Not Found <%@include file="css.jsp" %> @@ -23,6 +23,7 @@ if (System.getProperty("router.consoleNonce") == null) { %> <%@include file="summary.jsp" %>

<%=ERROR_CODE%> <%=ERROR_MESSAGE%>

-
-The Router Console page <%=ERROR_URI%> was not found. +
+Sorry! You appear to be requesting a non-existent Router Console page.
+Error 404: <%=ERROR_URI%> not found.
diff --git a/installer/resources/themes/console/classic/console.css b/installer/resources/themes/console/classic/console.css index 8b04beace..cf7d728d0 100644 --- a/installer/resources/themes/console/classic/console.css +++ b/installer/resources/themes/console/classic/console.css @@ -103,6 +103,28 @@ div.warning hr { margin: 5px 0; } +/* console error messages */ + +div.sorry { + padding: 20px; + background: #ddf; + margin: -2px 1px 0 195px; + border: 5px solid #bbf; + text-align: justify; + -moz-box-shadow: inset 0px 0px 0px 1px #d00; + word-wrap: break-word; + font-weight: bold; + color: #001; +} + +div.sorry hr { + color: #001; + background: #001; + height: 1px; + border: 1px solid #001; + margin: 10px 0; +} + div.toolbar { margin: 0em 0em 2em 0em; font-weight: bold; diff --git a/installer/resources/themes/console/dark/console.css b/installer/resources/themes/console/dark/console.css index d36db5c62..10eb945fc 100644 --- a/installer/resources/themes/console/dark/console.css +++ b/installer/resources/themes/console/dark/console.css @@ -223,6 +223,34 @@ div.warning { word-wrap: break-word; } +/* console error messages */ + +div.sorry { + margin: 5px 15px 10px 220px; + padding: 20px 20px 20px 75px; + background: #005; + border: 1px solid #99f; + -moz-border-radius: 4px; + -khtml-border-radius: 4px; + border-radius: 4px; + text-align: justify; + background-image:url("images/errortriangle.png"); + background-position:15px center; + background-repeat:no-repeat; + -moz-box-shadow: inset 0px 0px 0px 1px #d00; + word-wrap: break-word; + font-weight: bold; + color: #eef; +} + +div.sorry hr { + color: #eef; + background: #eef; + height: 1px; + border: 1px solid #eef; + margin: 10px 0; +} + div.main { margin: 0px 0px 20px 195px; padding: 0 15px 15px 25px; diff --git a/installer/resources/themes/console/light/console.css b/installer/resources/themes/console/light/console.css index e120d8ea3..71c33841f 100644 --- a/installer/resources/themes/console/light/console.css +++ b/installer/resources/themes/console/light/console.css @@ -1,7 +1,7 @@ /* Not yet complete. Subject to flux and change. dr|z3d - 07.25.09 */ body { - margin: 15px 0px 0 5px; + margin: 15px 0 0 10px; padding: 0em; text-align: center; background: #eef; @@ -184,7 +184,6 @@ div.routersummary td { border: 0 !important; } - div.routersummary tr:nth-child(even) { background-color: #f60; background-image: none !important; @@ -195,6 +194,8 @@ div.routersummarytr:nth-child(odd) { background-image: none !important; } +/* proxy error messages */ + div.warning { margin: 5px 20px 10px 240px; padding: 0px 25px 20px 75px; @@ -213,6 +214,34 @@ div.warning { word-wrap: break-word; } +/* console error messages */ + +div.sorry { + margin: 5px 15px 10px 220px; + padding: 20px 20px 20px 75px; + background: #ffb; + border: 1px solid #002; + -moz-border-radius: 4px; + -khtml-border-radius: 4px; + border-radius: 4px; + text-align: justify; + background-image: url("images/errortriangle.png"); + background-position: 15px center; + background-repeat: no-repeat; + -moz-box-shadow: inset 0px 0px 0px 1px #d00; + word-wrap: break-word; + font-weight: bold; + color: #331; +} + +div.sorry hr { + color: #552; + background: #552; + height: 1px; + border: 1px solid #552; + margin: 10px 0; +} + div.main { margin: 0px 0px 20px 195px; padding: 0 15px 15px 25px; @@ -409,7 +438,7 @@ table { border-collapse: collapse; width: 100%; border: 1px solid #000022; - margin: 0px -15px 5px 0px; + margin: 10px -15px 5px 0px; cell-padding: 1px; font-size: 7pt; background: #b4c8ff url('images/tabletitlelight.png') repeat-x; @@ -566,7 +595,7 @@ h2 { border-radius: 4px; -moz-border-radius: 4px; -khtml-border-radius: 4px; - margin: 15px 0px 15px 0 !important; + margin: 15px 0px 10px 0 !important; -moz-box-shadow: inset 0px 0px 1px 0px #002; word-wrap: break-word; }