projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
themes/freifunk-generic: Add warning box when js is disabled
[project/luci.git]
/
themes
/
freifunk-generic
/
luasrc
/
view
/
themes
/
freifunk-generic
/
header.htm
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
c6375ad
..
a6d82d9
100644
(file)
--- 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">
<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>
+