Polish the console 404 error messages.
This commit is contained in:
@ -12,7 +12,7 @@
|
||||
}
|
||||
// If it can't find the iframe or viewtheme.jsp I wonder if the whole thing blows up...
|
||||
%>
|
||||
<html><head><title>I2P Router Console</title>
|
||||
<html><head><title>I2P Router Console - Page Not Found</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<%@include file="css.jsp" %>
|
||||
<link rel="shortcut icon" href="favicon.ico" /></head><body>
|
||||
@ -23,6 +23,7 @@ if (System.getProperty("router.consoleNonce") == null) {
|
||||
%>
|
||||
<%@include file="summary.jsp" %>
|
||||
<h1><%=ERROR_CODE%> <%=ERROR_MESSAGE%></h1>
|
||||
<div class="warning" id="warning">
|
||||
The Router Console page <%=ERROR_URI%> was not found.
|
||||
<div class="sorry" id="warning">
|
||||
Sorry! You appear to be requesting a non-existent Router Console page.<hr>
|
||||
Error 404: <%=ERROR_URI%> not found.
|
||||
</div></body></html>
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user