2 LuCI - Lua Configuration Interface
3 Copyright 2008 Steven Barth <steven@midlink.org>
4 Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
5 Copyright 2012 David Menting <david@nut-bolt.nl>
7 Licensed under the Apache License, Version 2.0 (the "License");
8 you may not use this file except in compliance with the License.
9 You may obtain a copy of the License at
11 http://www.apache.org/licenses/LICENSE-2.0
15 local ver = require "luci.version"
16 local disp = require "luci.dispatcher"
17 local request = disp.context.path
18 local category = request[1]
19 local tree = disp.node()
20 local categories = disp.node_childs(tree)
23 <a href="http://luci.subsignal.org/">Powered by <%= ver.luciname %> (<%= ver.luciversion %>)</a> / <%= ver.distversion %>
24 <% if #categories > 1 then %>
25 <ul class="breadcrumb pull-right" id="modemenu">
26 <% for i, r in ipairs(categories) do %>
27 <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>