Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
94
Merge Requests
10
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
7557f6c4
authored
Nov 14, 2014
by
Őry Máté
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
network: add titles to magic buttons
parent
b7cfe6a7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
circle/network/forms.py
+6
-3
No files found.
circle/network/forms.py
View file @
7557f6c4
...
...
@@ -123,9 +123,11 @@ class HostForm(ModelForm):
_
(
'Network'
),
'vlan'
,
FieldWithButtons
(
'ipv4'
,
StrictButton
(
'<i class="fa fa-magic"></i>'
,
css_id
=
"ipv4-magic"
)),
'<i class="fa fa-magic"></i>'
,
css_id
=
"ipv4-magic"
,
title
=
_
(
"Generate random address."
))),
FieldWithButtons
(
'ipv6'
,
StrictButton
(
'<i class="fa fa-magic"></i>'
,
css_id
=
"ipv6-magic"
)),
'<i class="fa fa-magic"></i>'
,
css_id
=
"ipv6-magic"
,
title
=
_
(
"Generate IPv6 pair of IPv4 address."
))),
'shared_ip'
,
'external_ipv4'
,
),
...
...
@@ -255,7 +257,8 @@ class VlanForm(ModelForm):
_
(
'IPv6'
),
'network6'
,
FieldWithButtons
(
'ipv6_template'
,
StrictButton
(
'<i class="fa fa-magic"></i>'
,
css_id
=
"ipv6-tpl-magic"
)),
'<i class="fa fa-magic"></i>'
,
css_id
=
"ipv6-tpl-magic"
,
title
=
_
(
"Generate sensible template."
))),
'host_ipv6_prefixlen'
,
),
Fieldset
(
...
...
Kálmán Viktor
@kviktor
mentioned in merge request
!273 (merged)
Nov 14, 2014
mentioned in merge request
!273 (merged)
mentioned in merge request !273
Toggle commit list
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