From d35a620e9f5665a94967f4bd02c93581a1dd7e00 Mon Sep 17 00:00:00 2001
From: Steven Barth
Date: Tue, 27 May 2008 12:23:39 +0000
Subject: commit 4f6198094cf4134179d1f9c9fa8f79759a27c87e Author: Felix Fietkau
Date: Tue May 27 13:56:12 2008 +0200
rename src/ to luasrc/
---
.../luasrc/view/admin_statistics/index.htm | 8 ++++++++
.../luasrc/view/admin_statistics/networkplugins.htm | 18 ++++++++++++++++++
.../luasrc/view/admin_statistics/outputplugins.htm | 19 +++++++++++++++++++
.../luasrc/view/admin_statistics/systemplugins.htm | 18 ++++++++++++++++++
.../luasrc/view/public_statistics/graph.htm | 9 +++++++++
5 files changed, 72 insertions(+)
create mode 100644 applications/luci-statistics/luasrc/view/admin_statistics/index.htm
create mode 100644 applications/luci-statistics/luasrc/view/admin_statistics/networkplugins.htm
create mode 100644 applications/luci-statistics/luasrc/view/admin_statistics/outputplugins.htm
create mode 100644 applications/luci-statistics/luasrc/view/admin_statistics/systemplugins.htm
create mode 100644 applications/luci-statistics/luasrc/view/public_statistics/graph.htm
(limited to 'applications/luci-statistics/luasrc/view')
diff --git a/applications/luci-statistics/luasrc/view/admin_statistics/index.htm b/applications/luci-statistics/luasrc/view/admin_statistics/index.htm
new file mode 100644
index 0000000000..2c1befa505
--- /dev/null
+++ b/applications/luci-statistics/luasrc/view/admin_statistics/index.htm
@@ -0,0 +1,8 @@
+<%+header%>
+
+<%:stat Statistiken%>
+
+<%:stat_desc Die Statistiken bauen auf Collectd auf und nutzen
+RRD Tool um Graphen aus den erfassten Daten zu rendern.%>
+
+<%+footer%>
diff --git a/applications/luci-statistics/luasrc/view/admin_statistics/networkplugins.htm b/applications/luci-statistics/luasrc/view/admin_statistics/networkplugins.htm
new file mode 100644
index 0000000000..d3aa87eb17
--- /dev/null
+++ b/applications/luci-statistics/luasrc/view/admin_statistics/networkplugins.htm
@@ -0,0 +1,18 @@
+<%+header%>
+
+<%:stat_networkplugins Netzwerkplugins%>
+
+<%:stat_networkplugins_desc Netzwerkplugins sammeln Werte über offene TCP-Verbindung, allgemeines Verkehrsaufkommen
+auf verschiedenen Schnittstellen, DNS-Verkehr u.v.m.%>
+
+<%:stat_networkplugins_installed Installierte Netzwerkplugins:%>
+
+ <% for plugin, desc in pairs(plugins) do %>
+ <% if luci.fs.isfile("/usr/lib/collectd/" .. plugin .. ".so") then %>
+ - <%=desc%>
+ <% end %>
+ <% end %>
+
+
+
+<%+footer%>
diff --git a/applications/luci-statistics/luasrc/view/admin_statistics/outputplugins.htm b/applications/luci-statistics/luasrc/view/admin_statistics/outputplugins.htm
new file mode 100644
index 0000000000..5a8a76045a
--- /dev/null
+++ b/applications/luci-statistics/luasrc/view/admin_statistics/outputplugins.htm
@@ -0,0 +1,19 @@
+<%+header%>
+
+<%:stat_outputplugins Ausgabeplugins%>
+
+<%:stat_outputplugins_desc Ausgabeplugins stellen verschiedene Möglichkeiten zur Speicherung
+der Daten bereit. Es können auch mehrere Plugins gleichzeitig aktiviert werden um beispielsweise
+die gesammelten Werte in RRD-Datenbanken zu sichern und zusätzlich über das Netzwerk zu versenden.%>
+
+<%:stat_outputplugins_installed Installierte Ausgabeplugins:%>
+
+ <% for plugin, desc in pairs(plugins) do %>
+ <% if luci.fs.isfile("/usr/lib/collectd/" .. plugin .. ".so") then %>
+ - <%=desc%>
+ <% end %>
+ <% end %>
+
+
+
+<%+footer%>
diff --git a/applications/luci-statistics/luasrc/view/admin_statistics/systemplugins.htm b/applications/luci-statistics/luasrc/view/admin_statistics/systemplugins.htm
new file mode 100644
index 0000000000..2a32bf5ca9
--- /dev/null
+++ b/applications/luci-statistics/luasrc/view/admin_statistics/systemplugins.htm
@@ -0,0 +1,18 @@
+<%+header%>
+
+<%:stat_systemplugins Systemplugins%>
+
+<%:stat_systemplugins_desc Systemplugins sammeln Werte über den aktuellen Systemzustand und den Ressourcenverbrauch
+auf dem Gerät.%>
+
+<%:stat_systemplugins_installed Installierte Systemplugins:%>
+
+ <% for plugin, desc in pairs(plugins) do %>
+ <% if luci.fs.isfile("/usr/lib/collectd/" .. plugin .. ".so") then %>
+ - <%=desc%>
+ <% end %>
+ <% end %>
+
+
+
+<%+footer%>
diff --git a/applications/luci-statistics/luasrc/view/public_statistics/graph.htm b/applications/luci-statistics/luasrc/view/public_statistics/graph.htm
new file mode 100644
index 0000000000..093d76d0e4
--- /dev/null
+++ b/applications/luci-statistics/luasrc/view/public_statistics/graph.htm
@@ -0,0 +1,9 @@
+<%+header%>
+
+Statistik
+
+<% for i, img in ipairs(images) do %>
+
" />
+<% end %>
+
+<%+footer%>
--
cgit v1.2.3