Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gutyán Gábor
/
circlestack
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
ab32ba2c
authored
Sep 19, 2013
by
Kálmán Viktor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
network: update vlan forms and tables
parent
689b667a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
7 deletions
+4
-7
circle/network/forms.py
+2
-6
circle/network/tables.py
+2
-1
No files found.
circle/network/forms.py
View file @
ab32ba2c
...
@@ -201,18 +201,14 @@ class VlanForm(ModelForm):
...
@@ -201,18 +201,14 @@ class VlanForm(ModelForm):
),
),
Fieldset
(
Fieldset
(
'IPv4'
,
'IPv4'
,
'net4'
,
'network4'
,
'prefix4'
,
'ipv4'
,
'snat_to'
,
'snat_to'
,
'snat_ip'
,
'snat_ip'
,
'dhcp_pool'
,
'dhcp_pool'
,
),
),
Fieldset
(
Fieldset
(
'IPv6'
,
'IPv6'
,
'net6'
,
'network6'
,
'prefix6'
,
'ipv6'
,
),
),
Fieldset
(
Fieldset
(
'Domain name service'
,
'Domain name service'
,
...
...
circle/network/tables.py
View file @
ab32ba2c
...
@@ -132,7 +132,8 @@ class VlanTable(Table):
...
@@ -132,7 +132,8 @@ class VlanTable(Table):
class
Meta
:
class
Meta
:
model
=
Vlan
model
=
Vlan
attrs
=
{
'class'
:
'table table-striped table-condensed'
}
attrs
=
{
'class'
:
'table table-striped table-condensed'
}
fields
=
(
'vid'
,
'name'
,
'interface'
,
'ipv4'
,
'ipv6'
,
'domain'
,
)
fields
=
(
'vid'
,
'name'
,
'interface'
,
'network4'
,
'network6'
,
'domain'
,
)
order_by
=
'vid'
order_by
=
'vid'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment