Add possibility to show execution time in the footer
[project/luci.git] / themes / freifunk-generic / luasrc / view / themes / freifunk-generic / 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
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
9
10         http://www.apache.org/licenses/LICENSE-2.0
11
12 $Id: footer.htm 4185 2009-01-30 14:00:35Z jow $
13
14 -%>
15 <% local xtime = (string.format("%.2fs", os.clock() - exectime)) %>
16 </div>
17 <div class="clear"></div>
18 <div class="push"></div>
19 </div>
20
21 <div class="footer">
22 <p class="luci"><a href="<%=controller%>/about">Powered by <%= luci.__appname__ .. " (v" .. luci.__version__ .. ")" %></a></p>
23 <p class="exectime">Script execution time: <%=xtime%></p>
24 </div>
25
26 </body>
27 </html>
28