Rework LuCI build system
[project/luci.git] / themes / luci-theme-freifunk-generic / luasrc / view / themes / freifunk-generic / footer.htm
diff --git a/themes/luci-theme-freifunk-generic/luasrc/view/themes/freifunk-generic/footer.htm b/themes/luci-theme-freifunk-generic/luasrc/view/themes/freifunk-generic/footer.htm
new file mode 100644 (file)
index 0000000..e9df8cd
--- /dev/null
@@ -0,0 +1,31 @@
+<%#
+LuCI - Lua Configuration Interface
+Copyright 2008 Steven Barth <steven@midlink.org>
+Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+-%>
+<% local xtime
+if exectime then
+       xtime = (string.format("%.2fs", os.clock() - exectime)) 
+end %>
+
+</div>
+<div class="clear"></div>
+<div class="push"></div>
+</div>
+
+<div class="footer">
+<p class="luci"><a href="http://luci.subsignal.org">Powered by <%= luci.__appname__ .. " (" .. luci.__version__ .. ")" %></a></p>
+<% if xtime then %>
+<p class="exectime">Script execution time: <%=xtime%></p>
+<% end %>
+</div>
+
+</body>
+</html>
+