applications/luci-firewall: make rules and redirections sortable

This commit is contained in:
Jo-Philipp Wich 2011-01-20 12:38:32 +00:00
parent 8193a249f1
commit 71fbed1bc8

View file

@ -113,6 +113,7 @@ s = m:section(TypedSection, "redirect", translate("Redirections"))
s.template = "cbi/tblsection"
s.addremove = true
s.anonymous = true
s.sortable = true
s.extedit = ds.build_url("admin", "network", "firewall", "redirect", "%s")
function s.create(self, section)
@ -191,6 +192,7 @@ end
s = m:section(TypedSection, "rule", translate("Rules"))
s.addremove = true
s.anonymous = true
s.sortable = true
s.template = "cbi/tblsection"
s.extedit = ds.build_url("admin", "network", "firewall", "rule", "%s")
s.defaults.target = "ACCEPT"