summaryrefslogtreecommitdiffhomepage
path: root/themes/freifunk-generic/luasrc
diff options
context:
space:
mode:
authorManuel Munz <freifunk@somakoma.de>2010-12-06 00:30:03 +0000
committerManuel Munz <freifunk@somakoma.de>2010-12-06 00:30:03 +0000
commit617aa2f91cbec692fc3f74566677b7b265f1f8f8 (patch)
tree84a6ebed07e85c11d836097375fb2b24c6e33e50 /themes/freifunk-generic/luasrc
parent7996c4f92cc5d538277e21626a2f984561fe04a9 (diff)
themes/freifunk-generic: Add warning box when js is disabled
Diffstat (limited to 'themes/freifunk-generic/luasrc')
-rw-r--r--themes/freifunk-generic/luasrc/view/themes/freifunk-generic/header.htm7
1 files changed, 7 insertions, 0 deletions
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>
+