From: Jo-Philipp Wich Date: Wed, 13 Aug 2008 17:55:05 +0000 (+0000) Subject: * luci/themes: is deprecated, replace with
 in error500 template, add css... 
X-Git-Tag: 0.8.0~453
X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=4c1f7c116944fd5b37173401db2479859acab91b;hp=7e6f357132cab6509e434b14be9a6bd431d405b4

* luci/themes:	 is deprecated, replace with 
 in error500 template, add css styles for error500 and cbi error messages
---

diff --git a/modules/admin-core/luasrc/view/error500.htm b/modules/admin-core/luasrc/view/error500.htm
index 829e19688..8f3807d80 100644
--- a/modules/admin-core/luasrc/view/error500.htm
+++ b/modules/admin-core/luasrc/view/error500.htm
@@ -15,5 +15,5 @@ $Id$
 <%+header%>
 

500 Internal Server Error

Sorry, the server encountered an unexpected error.

-<%=message%> -<%+footer%> \ No newline at end of file +
<%=message%>
+<%+footer%> diff --git a/themes/openwrt.org/htdocs/luci-static/openwrt.org/cascade.css b/themes/openwrt.org/htdocs/luci-static/openwrt.org/cascade.css index d02265514..78cb9542a 100644 --- a/themes/openwrt.org/htdocs/luci-static/openwrt.org/cascade.css +++ b/themes/openwrt.org/htdocs/luci-static/openwrt.org/cascade.css @@ -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;