luci-theme-boostrap: add JavaScript warning if disabled
Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
This commit is contained in:
parent
81cbe3dd65
commit
823d3cc86c
1 changed files with 7 additions and 0 deletions
|
@ -201,5 +201,12 @@
|
||||||
</div>
|
</div>
|
||||||
<%- end -%>
|
<%- 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">
|
<div id="maincontent" class="container">
|
||||||
<% if category then render_tabmenu(category, cattree) end %>
|
<% if category then render_tabmenu(category, cattree) end %>
|
||||||
|
|
Loading…
Reference in a new issue