2 luci-theme-material is based on MUI and luci-theme-bootstrap.
5 Copyright 2008 Steven Barth <steven@midlink.org>
6 Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
7 Copyright 2012 David Menting <david@nut-bolt.nl>
10 https://github.com/muicss/mui
13 Copyright 2015 Lutty Yang <lutty@wcan.in>
15 Licensed to the public under the Apache License 2.0
19 local ver = require "luci.version"
20 local disp = require "luci.dispatcher"
21 local request = disp.context.path
22 local category = request[1]
23 local tree = disp.node()
24 local categories = disp.node_childs(tree)
26 <% if #categories > 1 then %>
28 <ul class="breadcrumb pull-right" id="modemenu">
29 <% for i, r in ipairs(categories) do %>
30 <li<% if request[1] == r then %> class="active"<%end%>><a href="<%=controller%>/<%=r%>/"><%=striptags(translate(tree.nodes[r].title))%></a> <span class="divider">|</span></li>
39 <script src="<%=media%>/js/jquery.min.js"></script>
40 <script src="<%=media%>/js/script.js"></script>