Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gelencsér Szabolcs
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
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
Hide 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):
),
Fieldset
(
'IPv4'
,
'net4'
,
'prefix4'
,
'ipv4'
,
'network4'
,
'snat_to'
,
'snat_ip'
,
'dhcp_pool'
,
),
Fieldset
(
'IPv6'
,
'net6'
,
'prefix6'
,
'ipv6'
,
'network6'
,
),
Fieldset
(
'Domain name service'
,
...
...
circle/network/tables.py
View file @
ab32ba2c
...
...
@@ -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'
...
...
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