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
A prog2-höz tartozó friss repo anyagok itt elérhetőek:
https://git.iit.bme.hu/
Commit
a43eefdb
authored
Jan 08, 2014
by
Kálmán Viktor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard: fix vm create
parent
abcbb841
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 additions
and
14 deletions
+1
-14
circle/dashboard/forms.py
+1
-1
circle/dashboard/static/dashboard/node-create.js
+0
-11
circle/dashboard/static/dashboard/vm-create.js
+0
-2
No files found.
circle/dashboard/forms.py
View file @
a43eefdb
...
...
@@ -251,7 +251,7 @@ class VmCreateForm(forms.Form):
""
,
css_id
=
(
"vm-create-network-add"
"checkbox-managed"
"
-
checkbox-managed"
),
input_type
=
"checkbox"
,
title
=
""
,
...
...
circle/dashboard/static/dashboard/node-create.js
View file @
a43eefdb
...
...
@@ -281,14 +281,3 @@ function nodeCreateTemplateChange(new_this) {
}
});
}
function
vmCreateNetworkLabel
(
pk
,
name
,
managed
)
{
return
'<span id="vlan-'
+
pk
+
'" class="label label-'
+
(
managed
?
'primary'
:
'default'
)
+
'"><i class="icon-'
+
(
managed
?
'globe'
:
'link'
)
+
'"></i> '
+
name
+
' <a href="#" class="hover-black node-create-remove-network"><i class="icon-remove-sign"></i></a></span> '
;
}
function
vmCreateDiskLabel
(
pk
,
name
)
{
return
'<span id="vlan-'
+
pk
+
'" class="label label-primary"><i class="icon-file"></i> '
+
name
+
' <a href="#" class="hover-black node-create-remove-disk"><i class="icon-remove-sign"></i></a></span> '
;
}
circle/dashboard/static/dashboard/vm-create.js
View file @
a43eefdb
...
...
@@ -300,5 +300,3 @@ function vmCreateNetworkLabel(pk, name, managed) {
function
vmCreateDiskLabel
(
pk
,
name
)
{
return
'<span id="vlan-'
+
pk
+
'" class="label label-primary"><i class="icon-file"></i> '
+
name
+
' <a href="#" class="hover-black vm-create-remove-disk"><i class="icon-remove-sign"></i></a></span> '
;
}
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