From f372cbda9a3f40d889b0f4a9da399dfdf1435518 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 11 Oct 2010 23:10:24 +0000 Subject: themes/openwrt.org: display error if Java Script is disabled --- themes/openwrt.org/htdocs/luci-static/openwrt.org/cascade.css | 6 ++++++ themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm | 7 +++++++ 2 files changed, 13 insertions(+) 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 ae9d45a97..91771a78c 100644 --- a/themes/openwrt.org/htdocs/luci-static/openwrt.org/cascade.css +++ b/themes/openwrt.org/htdocs/luci-static/openwrt.org/cascade.css @@ -830,6 +830,12 @@ div.cbi-tab-descr { padding: 0.5em; } +.errorbox { + border: 1px solid #FF0000; + background-color: #FFCCCC; + padding: 5px; +} + #memorybar { width: 200px; height: 8px; diff --git a/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm b/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm index 6e1853ebf..ccb01ec30 100644 --- a/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm +++ b/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm @@ -49,6 +49,7 @@ require("luci.http").prepare_content("application/xhtml+xml") + <%=striptags( hostname .. ( (node and node.title) and ' - ' .. node.title or '')) %> - LuCI @@ -161,3 +162,9 @@ else -%>
+ -- cgit v1.2.3