themes/bootstrap: the "about" page is long gone, link to luci.subsignal.org instead
[project/luci.git] / themes / bootstrap / luasrc / view / themes / bootstrap / footer.htm
1 <%#
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>
6
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
10
11 http://www.apache.org/licenses/LICENSE-2.0
12
13 -%>
14 <%
15 local disp = require "luci.dispatcher"
16
17 local request = disp.context.path
18
19 local category = request[1]
20
21 local tree = disp.node()
22
23 local categories = disp.node_childs(tree)
24 %>
25 <footer><a href="http://luci.subsignal.org/">Powered by <%= luci.__appname__ .. " (" .. luci.__version__ .. ")" %></a>
26
27 <%=luci.version.distversion%>
28
29 <% if #categories > 1 then %>
30 <ul class="breadcrumb pull-right" id="modemenu">
31 <% for i, r in ipairs(categories) do %>
32 <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>
33 <% end %>
34 </ul>
35 <% end %>
36 </footer>
37 </div>
38 </div>
39 </body>
40 </html>
41