* luci/themes: <tt> is deprecated, replace with <pre> in error500 template, add css styles for error500 and cbi error messages
This commit is contained in:
parent
7e6f357132
commit
4c1f7c1169
2 changed files with 15 additions and 2 deletions
|
@ -15,5 +15,5 @@ $Id$
|
||||||
<%+header%>
|
<%+header%>
|
||||||
<h1>500 Internal Server Error</h1>
|
<h1>500 Internal Server Error</h1>
|
||||||
<p>Sorry, the server encountered an unexpected error.</p>
|
<p>Sorry, the server encountered an unexpected error.</p>
|
||||||
<tt><%=message%></tt>
|
<pre class="error500"><%=message%></pre>
|
||||||
<%+footer%>
|
<%+footer%>
|
||||||
|
|
|
@ -419,6 +419,12 @@ td.cbi-section-table-optionals {
|
||||||
padding-top: 1em;
|
padding-top: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div.cbi-error {
|
||||||
|
font-size: 95%;
|
||||||
|
font-weight: bold;
|
||||||
|
color: #FF0000;
|
||||||
|
}
|
||||||
|
|
||||||
.right {
|
.right {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
@ -440,6 +446,13 @@ td.cbi-section-table-optionals {
|
||||||
display: inline;
|
display: inline;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.error500 {
|
||||||
|
white-space: normal;
|
||||||
|
border: 1px dotted #FF0000;
|
||||||
|
background-color: #FFFFFF;
|
||||||
|
padding: 0.5em;
|
||||||
|
}
|
||||||
|
|
||||||
#memorybar {
|
#memorybar {
|
||||||
width:200px;
|
width:200px;
|
||||||
height:8px;
|
height:8px;
|
||||||
|
|
Loading…
Reference in a new issue