summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-statistics/luasrc/view
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-12-07 21:00:40 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-12-07 21:00:40 +0000
commitb39ea9e637b2827d39fc49544af90df938fc3600 (patch)
treebed4d162555fa1de67b43a64f0068064f4cc5121 /applications/luci-statistics/luasrc/view
parent00a2d24d28783958be16a67cef24834fc13584a9 (diff)
applications/luci-statistics: remove plugin overview pages, jump to first plugin of each category instead
Diffstat (limited to 'applications/luci-statistics/luasrc/view')
-rw-r--r--applications/luci-statistics/luasrc/view/admin_statistics/networkplugins.htm32
-rw-r--r--applications/luci-statistics/luasrc/view/admin_statistics/outputplugins.htm33
-rw-r--r--applications/luci-statistics/luasrc/view/admin_statistics/systemplugins.htm29
3 files changed, 0 insertions, 94 deletions
diff --git a/applications/luci-statistics/luasrc/view/admin_statistics/networkplugins.htm b/applications/luci-statistics/luasrc/view/admin_statistics/networkplugins.htm
deleted file mode 100644
index eacb3c3b7f..0000000000
--- a/applications/luci-statistics/luasrc/view/admin_statistics/networkplugins.htm
+++ /dev/null
@@ -1,32 +0,0 @@
-<%#
-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
-
-$Id$
-
--%>
-<%+header%>
-
-<h2><a id="content" name="content"><%:Network plugins%></a></h2>
-
-<p><%:Network plugins are used to collect information
-about open tcp connections, interface traffic, iptables rules etc.%></p>
-
-<p><%:Installed network plugins:%>
- <ul>
- <% for plugin, desc in pairs(plugins) do %>
- <% if nixio.fs.access("/usr/lib/collectd/" .. plugin .. ".so") then %>
- <li><a href="<%=controller%>/admin/statistics/collectd/network/<%=plugin%>"><%=desc%></a></li>
- <% end %>
- <% end %>
- </ul>
-</p>
-
-<%+footer%>
diff --git a/applications/luci-statistics/luasrc/view/admin_statistics/outputplugins.htm b/applications/luci-statistics/luasrc/view/admin_statistics/outputplugins.htm
deleted file mode 100644
index 05f7ca9526..0000000000
--- a/applications/luci-statistics/luasrc/view/admin_statistics/outputplugins.htm
+++ /dev/null
@@ -1,33 +0,0 @@
-<%#
-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
-
-$Id$
-
--%>
-<%+header%>
-
-<h2><a id="content" name="content"><%:Output plugins%></a></h2>
-
-<p><%:Output plugins provide different possibilities to store collected data.
-It is possible to enable multiple plugin at one, for example to store collected data in rrd databases
-and to transmit the data over the network to other collectd instances.%></p>
-
-<p><%:Installed output plugins:%>
- <ul>
- <% for plugin, desc in pairs(plugins) do %>
- <% if nixio.fs.access("/usr/lib/collectd/" .. plugin .. ".so") then %>
- <li><a href="<%=controller%>/admin/statistics/collectd/output/<%=plugin%>"><%=desc%></a></li>
- <% end %>
- <% end %>
- </ul>
-</p>
-
-<%+footer%>
diff --git a/applications/luci-statistics/luasrc/view/admin_statistics/systemplugins.htm b/applications/luci-statistics/luasrc/view/admin_statistics/systemplugins.htm
deleted file mode 100644
index 431b4b285c..0000000000
--- a/applications/luci-statistics/luasrc/view/admin_statistics/systemplugins.htm
+++ /dev/null
@@ -1,29 +0,0 @@
-<%#
-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
-
-$Id$
-
--%>
-<%+header%>
-
-<h2><a id="content" name="content"><%:System plugins%></a></h2>
-
-<p><%:System plugins collecting values about system state and ressource usage on the device.:%>
- <ul>
- <% for plugin, desc in pairs(plugins) do %>
- <% if nixio.fs.access("/usr/lib/collectd/" .. plugin .. ".so") then %>
- <li><a href="<%=controller%>/admin/statistics/collectd/system/<%=plugin%>"><%=desc%></a></li>
- <% end %>
- <% end %>
- </ul>
-</p>
-
-<%+footer%>