luci-theme-material: render menu on client side
[project/luci.git] / themes / luci-theme-material / luasrc / view / themes / material / footer.htm
1 <%#
2 Material is a clean HTML5 theme for LuCI. It is based on luci-theme-bootstrap and MUI
3
4 luci-theme-material
5 Copyright 2015 Lutty Yang <lutty@wcan.in>
6
7 Have a bug? Please create an issue here on GitHub!
8 https://github.com/LuttyYang/luci-theme-material/issues
9
10 luci-theme-bootstrap:
11 Copyright 2008 Steven Barth <steven@midlink.org>
12 Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
13 Copyright 2012 David Menting <david@nut-bolt.nl>
14
15 MUI:
16 https://github.com/muicss/mui
17
18 Licensed to the public under the Apache License 2.0
19 -%>
20
21 <% local ver = require "luci.version" %>
22 </div>
23 <footer class="mobile-hide">
24 <a href="https://github.com/openwrt/luci">Powered by <%= ver.luciname %> (<%= ver.luciversion %>)</a> / <%= ver.distversion %>
25 <ul class="breadcrumb pull-right" id="modemenu" style="display:none"></ul>
26 </footer>
27 </div>
28 </div>
29 <script>
30 // thanks for Jo-Philipp Wich <jow@openwrt.org>
31 var luciLocation = <%= luci.http.write_json(luci.dispatcher.context.path) %>;
32 </script>
33 <script src="<%=media%>/js/jquery.min.js"></script>
34 <script src="<%=media%>/js/script.js"></script>
35 </body>
36 </html>