diff options
-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 4530b08764..d20d74f024 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 c6375ad45f..a6d82d9060 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> + |