Update my email addresses in the license headers
[project/luci.git] / themes / luci-theme-bootstrap / luasrc / view / themes / bootstrap / footer.htm
1 <%#
2  Copyright 2008 Steven Barth <steven@midlink.org>
3  Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
4  Copyright 2012 David Menting <david@nut-bolt.nl>
5  Licensed to the public under the Apache License 2.0.
6 -%>
7
8 <%
9         local ver = require "luci.version"
10         local disp = require "luci.dispatcher"
11         local request  = disp.context.path
12         local category = request[1]
13         local tree = disp.node()
14         local categories = disp.node_childs(tree)
15 %>
16    <footer>
17     <a href="http://luci.subsignal.org/">Powered by <%= ver.luciname %> (<%= ver.luciversion %>)</a> / <%= ver.distversion %>
18     <% if #categories > 1 then %>
19      <ul class="breadcrumb pull-right" id="modemenu">
20             <% for i, r in ipairs(categories) do %>
21                     <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>
22             <% end %>
23      </ul>
24     <% end %>
25    </footer>
26    </div>
27   </div>
28  </body>
29 </html>
30