From b9bb34612e28a239153dd2e041921a50e4d7578f Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 21 Dec 2019 19:23:10 +0100 Subject: luci-mod-status: reimplement iptables status page as client side view Signed-off-by: Jo-Philipp Wich --- .../luasrc/view/admin_status/iptables.htm | 73 ---------------------- 1 file changed, 73 deletions(-) delete mode 100644 modules/luci-mod-status/luasrc/view/admin_status/iptables.htm (limited to 'modules/luci-mod-status/luasrc/view') diff --git a/modules/luci-mod-status/luasrc/view/admin_status/iptables.htm b/modules/luci-mod-status/luasrc/view/admin_status/iptables.htm deleted file mode 100644 index 89f229f3ba..0000000000 --- a/modules/luci-mod-status/luasrc/view/admin_status/iptables.htm +++ /dev/null @@ -1,73 +0,0 @@ -<%# - Copyright 2008-2009 Steven Barth - Copyright 2008-2018 Jo-Philipp Wich - Licensed to the public under the Apache License 2.0. --%> - -<%- - local fs = require "nixio.fs" - local has_ip6tables = fs.access("/usr/sbin/ip6tables") - local mode = 4 - - if has_ip6tables then - mode = luci.dispatcher.context.requestpath - mode = tonumber(mode[#mode] ~= "iptables" and mode[#mode]) or 4 - end --%> - -<%+header%> - - - -

<%:Firewall Status%>

- -<% if has_ip6tables then %> - -<% end %> - -
-
" style="position: absolute; right: 0"> - - - - - -
-
- -
-

<%:Collecting data...%>

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