diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2008-05-25 02:37:39 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2008-05-25 02:37:39 +0000 |
commit | 1e70a05156492ccb7918b566ae027f448746fa43 (patch) | |
tree | b592cf1b67799e57b286a16ad5c03011798bf1a0 /applications/luci-statistics/src/view | |
parent | 32aa488d9b585bbeb8d880d763923f9f1c6cd0e2 (diff) |
* ffluci/statistcs: implement rrdtool stuff, extend controller to public pages - wip
Diffstat (limited to 'applications/luci-statistics/src/view')
-rw-r--r-- | applications/luci-statistics/src/view/public_statistics/graph.htm | 9 | ||||
-rw-r--r-- | applications/luci-statistics/src/view/public_statistics/index.htm | 31 |
2 files changed, 9 insertions, 31 deletions
diff --git a/applications/luci-statistics/src/view/public_statistics/graph.htm b/applications/luci-statistics/src/view/public_statistics/graph.htm new file mode 100644 index 0000000000..d0da883d62 --- /dev/null +++ b/applications/luci-statistics/src/view/public_statistics/graph.htm @@ -0,0 +1,9 @@ +<%+header%> + +<h1>Statistik (<%=request%>)</h1> + +<% for i, img in ipairs(images) do %> + <img src="<%=img:gsub("/tmp/rrdimg/OpenWrt","/img")%>" /> +<% end %> + +<%+footer%> diff --git a/applications/luci-statistics/src/view/public_statistics/index.htm b/applications/luci-statistics/src/view/public_statistics/index.htm deleted file mode 100644 index db4bd0f780..0000000000 --- a/applications/luci-statistics/src/view/public_statistics/index.htm +++ /dev/null @@ -1,31 +0,0 @@ -<h1><%:welcome Willkommen%>!</h1> -<p> -Du bist jetzt mit dem freien Funknetz -<a href="<%~freifunk.community.homepage%>"><%~freifunk.community.name%></a> verbunden.<br /> -Wir sind ein experimentelles Gemeinschaftsnetzwerk, aber kein Internetanbieter. -</p> - -<p> -Ein Zugang <strong>ins Internet</strong> ist trotzdem möglich, -da einige Freifunker ihre privaten Internetzugänge zur Verfügung stellen. -Diese Zugänge müssen sich hier alle teilen. -Bitte sei Dir dessen bewusst und verhalte Dich dementsprechend: -<ul> -<li>bitte <strong>keine Filesharing-Programme</strong> betreiben!</li> -<li>bitte <strong>keine unnötigen Downloads oder Streams</strong> starten!</li> -<li>bitte <strong>keine illegalen Aktivitäten</strong>!</li> -</ul> -</p> - -<p> -Wenn Du unsere Idee gut findest, kannst Du uns unterstützen: -<ul> -<li><a href="<%~freifunk.community.homepage%>">Werde selbst Freifunker oder teile deinen Internetzugang!</a></li> -<li>Betreibe deine anderen WLAN-Geräte <em>NICHT</em> auf den Kanälen 1-5, diese stören oft unser Netz.</li> -</ul> -</p> - -<p> -Mit einem Klick auf <em><%:accept Annehmen%></em> kannst du für <%~luci_splash.general.leasetime%> Stunden -über unser Netz das Internet verwenden. Dann wirst du erneut aufgefordet, diese Bedingungen zu akzeptieren. -</p>
\ No newline at end of file |