diff options
author | Manuel Munz <freifunk@somakoma.de> | 2010-12-06 00:30:03 +0000 |
---|---|---|
committer | Manuel Munz <freifunk@somakoma.de> | 2010-12-06 00:30:03 +0000 |
commit | 617aa2f91cbec692fc3f74566677b7b265f1f8f8 (patch) | |
tree | 84a6ebed07e85c11d836097375fb2b24c6e33e50 /themes/freifunk-generic | |
parent | 7996c4f92cc5d538277e21626a2f984561fe04a9 (diff) |
themes/freifunk-generic: Add warning box when js is disabled
Diffstat (limited to 'themes/freifunk-generic')
-rw-r--r-- | themes/freifunk-generic/htdocs/luci-static/freifunk-generic/cascade.css | 6 | ||||
-rw-r--r-- | themes/freifunk-generic/luasrc/view/themes/freifunk-generic/header.htm | 7 |
2 files changed, 13 insertions, 0 deletions
diff --git a/themes/freifunk-generic/htdocs/luci-static/freifunk-generic/cascade.css b/themes/freifunk-generic/htdocs/luci-static/freifunk-generic/cascade.css index 4530b0876..d20d74f02 100644 --- a/themes/freifunk-generic/htdocs/luci-static/freifunk-generic/cascade.css +++ b/themes/freifunk-generic/htdocs/luci-static/freifunk-generic/cascade.css @@ -81,6 +81,12 @@ code { background-color: white; } +.errorbox { +border: 1px solid #F00; +background-color: #FCC; +padding: 5px; +} + #header { min-height: 100px; background: #FFF url(header.jpg) repeat-x left bottom; diff --git a/themes/freifunk-generic/luasrc/view/themes/freifunk-generic/header.htm b/themes/freifunk-generic/luasrc/view/themes/freifunk-generic/header.htm index c6375ad45..a6d82d906 100644 --- a/themes/freifunk-generic/luasrc/view/themes/freifunk-generic/header.htm +++ b/themes/freifunk-generic/luasrc/view/themes/freifunk-generic/header.htm @@ -185,3 +185,10 @@ if tree.nodes[category] and tree.nodes[category].ucidata then <div class="clear"></div> </div> <div id="maincontent"> +<noscript> + <div class="errorbox"> + <strong><%:Java Script required!%></strong><br /> + <%:You must enable Java Script in your browser or LuCI will not work properly.%> + </div> +</noscript> + |