Added copyright-tags to templates
[project/luci.git] / applications / luci-statistics / luasrc / view / public_statistics / graph.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$
13
14 -%>
15 <%+header%>
16
17 <h1>Statistik</h1>
18
19 <form action="" method="get">
20         <select name="timespan">
21                 <% for i, span in ipairs(timespans) do %>
22                         <option<% if span == current_timespan then %> selected="selected"<% end %>><%=span%></option>
23                 <% end %>
24         </select>
25         <input type="submit" name="submit" value="<%:stat_showtimespan Display timespan &raquo;%>" />
26 </form>
27
28 <% for i, img in ipairs(images) do %>
29         <img src="/rrdimg/<%=img%>" />
30 <% end %>
31
32 <%+footer%>