From 56a1ef7ebe6ae60bd4722f979ec50684221d94fb Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Sat, 6 Sep 2008 15:11:19 +0000 Subject: Added dynamic network activity page to health controller. git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@1452 ab2d0c66-481e-0410-8bed-d214d4d58bed --- health-networkstats-html.lsp | 115 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 115 insertions(+) create mode 100644 health-networkstats-html.lsp (limited to 'health-networkstats-html.lsp') diff --git a/health-networkstats-html.lsp b/health-networkstats-html.lsp new file mode 100644 index 0000000..e994afb --- /dev/null +++ b/health-networkstats-html.lsp @@ -0,0 +1,115 @@ +<% local view, viewlibrary, page_info = ... %> +<% require("viewfunctions") %> +<% require("json") %> + + + + + + + +

Network Statistics

+
+
+
Display Options
+<% for intf,val in pairs(view.value) do + local ipaddr = "" + if val.ipaddr then ipaddr = " ("..val.ipaddr..")" end %> +
checked="checked"><%= intf.." RX"..ipaddr %>
+
checked="checked"><%= intf.." TX"..ipaddr %>
+<% end %> +
Start / Stop
+
+ + +
+
-- cgit v1.2.3