2 Copyright
2008 Steven Barth
<steven@midlink.org
>
3 Copyright
2008 Jo-Philipp Wich
<jow@openwrt.org
>
4 Licensed to the public under the Apache License
2.0.
9 <h2 name=
"content"><%:Statistics%
></h2>
11 <form action=
"" method=
"get">
13 <% for i, host in ipairs(hosts) do %
>
14 <option<% if host == current_host then %
> selected=
"selected"<% end %
>><%=pcdata(host)%
></option>
17 <input class=
"cbi-button cbi-button-apply" type=
"submit" name=
"submit" value=
"<%:Display Host »%>" />
18 <select name=
"timespan">
19 <% for i, span in ipairs(timespans) do %
>
20 <option<% if span == current_timespan then %
> selected=
"selected"<% end %
>><%=span%
></option>
23 <input class=
"cbi-button cbi-button-apply" type=
"submit" name=
"submit" value=
"<%:Display timespan »%>" />
30 <div style=
"text-align: center">
31 <% for i, img in ipairs(images) do %
>
32 <img src=
"<%=REQUEST_URI%>?img=<%=img%>&host=<%=current_host%>" />