From b39ea9e637b2827d39fc49544af90df938fc3600 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 7 Dec 2011 21:00:40 +0000 Subject: applications/luci-statistics: remove plugin overview pages, jump to first plugin of each category instead --- .../view/admin_statistics/networkplugins.htm | 32 --------------------- .../luasrc/view/admin_statistics/outputplugins.htm | 33 ---------------------- .../luasrc/view/admin_statistics/systemplugins.htm | 29 ------------------- 3 files changed, 94 deletions(-) delete mode 100644 applications/luci-statistics/luasrc/view/admin_statistics/networkplugins.htm delete mode 100644 applications/luci-statistics/luasrc/view/admin_statistics/outputplugins.htm delete mode 100644 applications/luci-statistics/luasrc/view/admin_statistics/systemplugins.htm (limited to 'applications/luci-statistics/luasrc/view/admin_statistics') 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 -Copyright 2008 Jo-Philipp Wich - -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%> - -

<%:Network plugins%>

- -

<%:Network plugins are used to collect information -about open tcp connections, interface traffic, iptables rules etc.%>

- -

<%:Installed network plugins:%> -

    - <% for plugin, desc in pairs(plugins) do %> - <% if nixio.fs.access("/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 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 -Copyright 2008 Jo-Philipp Wich - -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%> - -

<%:Output plugins%>

- -

<%: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.%>

- -

<%:Installed output plugins:%> -

    - <% for plugin, desc in pairs(plugins) do %> - <% if nixio.fs.access("/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 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 -Copyright 2008 Jo-Philipp Wich - -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%> - -

<%:System plugins%>

- -

<%:System plugins collecting values about system state and ressource usage on the device.:%> -

    - <% for plugin, desc in pairs(plugins) do %> - <% if nixio.fs.access("/usr/lib/collectd/" .. plugin .. ".so") then %> -
  • <%=desc%>
  • - <% end %> - <% end %> -
-

- -<%+footer%> -- cgit v1.2.3