diff options
author | Florian Eckert <Eckert.Florian@googlemail.com> | 2017-02-21 15:16:49 +0100 |
---|---|---|
committer | Florian Eckert <Eckert.Florian@googlemail.com> | 2017-02-22 10:13:17 +0100 |
commit | 823d3cc86c25062bb0a2b81bf31dc516a9fc1e43 (patch) | |
tree | 85ceb3a0179e769a610d3a698817cb9121795f56 | |
parent | 81cbe3dd6583487fdb413625fbb75dd49dec7c25 (diff) |
luci-theme-boostrap: add JavaScript warning if disabled
Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
-rw-r--r-- | themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/header.htm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/header.htm b/themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/header.htm index 6f09bfcdfa..78b98e0355 100644 --- a/themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/header.htm +++ b/themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/header.htm @@ -201,5 +201,12 @@ </div> <%- end -%> + <noscript> + <div class="alert-message warning"> + <strong><%:JavaScript required!%></strong><br /> + <%:You must enable JavaScript in your browser or LuCI will not work properly.%> + </div> + </noscript> + <div id="maincontent" class="container"> <% if category then render_tabmenu(category, cattree) end %> |