diff options
Diffstat (limited to 'shorewall-controller.lua')
-rw-r--r-- | shorewall-controller.lua | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/shorewall-controller.lua b/shorewall-controller.lua index a2ff244..efcaa65 100644 --- a/shorewall-controller.lua +++ b/shorewall-controller.lua @@ -71,8 +71,20 @@ function config(self) local status=getstatus(self) -- Add a [New] record to the options + table.insert(config.interfaces_list.option, "[New]") table.insert(config.zones_list.option, "[New]") table.insert(config.policies_list.option, "[New]") + table.insert(config.rules_list.option, "[New]") + + -- Add button + config.interfaces_list_cmd = cfe ({ + name="interfaces_list_cmd", + label="Edit above record", + value="Edit", + type="submit", + disabled="yes", + }) + config.interfaces_list_cmd.descr="Mark a item in above list before pressing [" .. config.interfaces_list_cmd.value .. "]" -- Add button config.zones_list_cmd = cfe ({ |