diff options
author | Manuel Munz <freifunk@somakoma.de> | 2010-11-23 01:02:21 +0000 |
---|---|---|
committer | Manuel Munz <freifunk@somakoma.de> | 2010-11-23 01:02:21 +0000 |
commit | 450bdd5a401388ed709a178ef4561d87c21c323b (patch) | |
tree | 88f71d3be04bd4ecf6e7708ad948f7a43ed39efb /themes/freifunk-generic/luasrc | |
parent | 1aa676d501f806109d626665cd82390c175fd029 (diff) |
Add possibility to show execution time in the footer
Diffstat (limited to 'themes/freifunk-generic/luasrc')
-rw-r--r-- | themes/freifunk-generic/luasrc/view/themes/freifunk-generic/footer.htm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/themes/freifunk-generic/luasrc/view/themes/freifunk-generic/footer.htm b/themes/freifunk-generic/luasrc/view/themes/freifunk-generic/footer.htm index 98d48ad85..f8f8c2011 100644 --- a/themes/freifunk-generic/luasrc/view/themes/freifunk-generic/footer.htm +++ b/themes/freifunk-generic/luasrc/view/themes/freifunk-generic/footer.htm @@ -12,10 +12,17 @@ You may obtain a copy of the License at $Id: footer.htm 4185 2009-01-30 14:00:35Z jow $ -%> +<% local xtime = (string.format("%.2fs", os.clock() - exectime)) %> +</div> <div class="clear"></div> +<div class="push"></div> </div> +<div class="footer"> <p class="luci"><a href="<%=controller%>/about">Powered by <%= luci.__appname__ .. " (v" .. luci.__version__ .. ")" %></a></p> +<p class="exectime">Script execution time: <%=xtime%></p> +</div> + </body> </html> |