* luci/themes: <tt> is deprecated, replace with <pre> in error500 template, add css...
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 13 Aug 2008 17:55:05 +0000 (17:55 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 13 Aug 2008 17:55:05 +0000 (17:55 +0000)
modules/admin-core/luasrc/view/error500.htm
themes/openwrt.org/htdocs/luci-static/openwrt.org/cascade.css

index 829e19688b46c80eb02a37251a06d33b417d61d1..8f3807d80e56e0acfbf89525051685a60da7e3a6 100644 (file)
@@ -15,5 +15,5 @@ $Id$
 <%+header%>
 <h1>500 Internal Server Error</h1>
 <p>Sorry, the server encountered an unexpected error.</p>
-<tt><%=message%></tt>
-<%+footer%>
\ No newline at end of file
+<pre class="error500"><%=message%></pre>
+<%+footer%>
index d02265514015b35df2bacb086088d8ac7c9204fa..78cb9542a390bb7404eaceee255fc7e886da6326 100644 (file)
@@ -419,6 +419,12 @@ td.cbi-section-table-optionals {
        padding-top: 1em;
 }
 
+div.cbi-error {
+       font-size: 95%;
+       font-weight: bold;
+       color: #FF0000;
+}
+
 .right {
        text-align: right;
 }
@@ -440,6 +446,13 @@ td.cbi-section-table-optionals {
        display: inline;
 }
 
+.error500 {
+       white-space: normal;
+       border: 1px dotted #FF0000;
+       background-color: #FFFFFF;
+       padding: 0.5em;
+}
+
 #memorybar {
        width:200px;
        height:8px;