Commit ab32ba2c by Kálmán Viktor

network: update vlan forms and tables

parent 689b667a
......@@ -201,18 +201,14 @@ class VlanForm(ModelForm):
),
Fieldset(
'IPv4',
'net4',
'prefix4',
'ipv4',
'network4',
'snat_to',
'snat_ip',
'dhcp_pool',
),
Fieldset(
'IPv6',
'net6',
'prefix6',
'ipv6',
'network6',
),
Fieldset(
'Domain name service',
......
......@@ -132,7 +132,8 @@ class VlanTable(Table):
class Meta:
model = Vlan
attrs = {'class': 'table table-striped table-condensed'}
fields = ('vid', 'name', 'interface', 'ipv4', 'ipv6', 'domain', )
fields = ('vid', 'name', 'interface', 'network4', 'network6',
'domain', )
order_by = 'vid'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment