local view = ... ?>
Interfaces file
New interface
Create new interface
[Create]
Existing interface(s)
for i=0,table.maxn(view.iface) do
local iface=""
if i > 0 then do
j = view.iface[i]
iface = j.name.value ?>
= j.name.value ?>
Method
= j.method.value ?>
if ( j.method.value == "dhcp" ) then ?>
Hostname
= j.address.value ?>
elseif ( j.address.value ~= "" ) then?>
Address
= j.address.value ?>/= j.netmask.value ?>
end ?>
if (j.comment.value ~= "") then ?>
Comments
= j.comment.value ?>
end ?>
local val = {value="update", type="submit", option="", errtxt=""}?>
Modify this interface
[">update]
[">delete]
end ?>
end ?>
end ?>