applications/luci-firewall: make rules and redirections sortable
This commit is contained in:
parent
8193a249f1
commit
71fbed1bc8
1 changed files with 2 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue