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
bef94b77
authored
Oct 21, 2014
by
Bach Dániel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard: random fixes
parent
7f80408e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
circle/dashboard/templates/dashboard/vm-detail/_network-port-add.html
+1
-1
circle/dashboard/views/vm.py
+3
-1
No files found.
circle/dashboard/templates/dashboard/vm-detail/_network-port-add.html
View file @
bef94b77
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
<i
class=
"fa fa-plus"
></i>
<i
class=
"fa fa-long-arrow-right"
></i>
<i
class=
"fa fa-plus"
></i>
<i
class=
"fa fa-long-arrow-right"
></i>
</span>
</span>
<input
type=
"number"
class=
"form-control"
size=
"5"
min=
"1"
max=
"65535"
<input
type=
"number"
class=
"form-control"
size=
"5"
min=
"1"
max=
"65535"
style=
"width: 80px;"
name=
"port"
/>
style=
"width: 80px;"
name=
"port"
required
/>
<span
class=
"input-group-addon"
>
/
</span>
<span
class=
"input-group-addon"
>
/
</span>
<select
class=
"form-control"
name=
"proto"
style=
"width: 70px;"
><option>
tcp
</option><option>
udp
</option></select>
<select
class=
"form-control"
name=
"proto"
style=
"width: 70px;"
><option>
tcp
</option><option>
udp
</option></select>
<div
class=
"input-group-btn"
>
<div
class=
"input-group-btn"
>
...
...
circle/dashboard/views/vm.py
View file @
bef94b77
...
@@ -422,6 +422,7 @@ class VmPortRemoveView(FormOperationMixin, VmOperationView):
...
@@ -422,6 +422,7 @@ class VmPortRemoveView(FormOperationMixin, VmOperationView):
op
=
'remove_port'
op
=
'remove_port'
show_in_toolbar
=
False
show_in_toolbar
=
False
with_reload
=
True
with_reload
=
True
wait_for_result
=
0.5
icon
=
'times'
icon
=
'times'
effect
=
"danger"
effect
=
"danger"
form_class
=
VmPortRemoveForm
form_class
=
VmPortRemoveForm
...
@@ -449,7 +450,8 @@ class VmPortAddView(FormOperationMixin, VmOperationView):
...
@@ -449,7 +450,8 @@ class VmPortAddView(FormOperationMixin, VmOperationView):
op
=
'add_port'
op
=
'add_port'
show_in_toolbar
=
False
show_in_toolbar
=
False
with_reload
=
True
with_reload
=
True
icon
=
'times'
wait_for_result
=
0.5
icon
=
'plus'
effect
=
"success"
effect
=
"success"
form_class
=
VmPortAddForm
form_class
=
VmPortAddForm
...
...
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