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
41dcdfa8
authored
Jan 29, 2013
by
Danyi Bence
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new-wm container fix
parent
071a43bd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
27 deletions
+32
-27
one/static/style.css
+5
-2
one/templates/home.html
+27
-25
No files found.
one/static/style.css
View file @
41dcdfa8
...
@@ -44,7 +44,10 @@ a:link,a:visited{
...
@@ -44,7 +44,10 @@ a:link,a:visited{
margin-top
:
0
;
margin-top
:
0
;
padding
:
10px
;
padding
:
10px
;
}
}
#modal-container
.container
{
max-height
:
400px
;
overflow
:
auto
;
}
#new-wm-tooltip
{
#new-wm-tooltip
{
position
:
relative
;
position
:
relative
;
}
}
...
@@ -495,7 +498,7 @@ ul.errorlist,td ul.errorlist
...
@@ -495,7 +498,7 @@ ul.errorlist,td ul.errorlist
left
:
50%
;
left
:
50%
;
top
:
50%
;
top
:
50%
;
margin-left
:
-270px
;
margin-left
:
-270px
;
margin-top
:
-
1
00px
;
margin-top
:
-
2
00px
;
min-height
:
200px
;
min-height
:
200px
;
background-color
:
#fff
;
background-color
:
#fff
;
border-radius
:
4px
;
border-radius
:
4px
;
...
...
one/templates/home.html
View file @
41dcdfa8
...
@@ -15,32 +15,34 @@
...
@@ -15,32 +15,34 @@
</li>
</li>
<li
id=
"new-wm"
style=
"display: none"
>
<li
id=
"new-wm"
style=
"display: none"
>
<h2>
Rendelkezésre álló sablonok
</h2>
<h2>
Rendelkezésre álló sablonok
</h2>
<ul
class=
"wm-list modal"
>
<div
class=
"container"
>
{% for m in templates %}
<ul
class=
"wm-list modal"
>
<li
class=
"wm"
>
{% for m in templates %}
<form
method=
"POST"
action=
"/vm/new/{{m.pk}}/"
>
{% csrf_token %}
<li
class=
"wm"
>
<div
class=
"summary"
>
<form
method=
"POST"
action=
"/vm/new/{{m.pk}}/"
>
{% csrf_token %}
<div
class=
"name wm-on"
>
{{m.name}}
</div>
<div
class=
"summary"
>
<div
class=
"status"
>
<div
class=
"name wm-on"
>
{{m.name}}
</div>
<input
type=
"submit"
value=
"Indítás"
/>
<div
class=
"status"
>
<input
type=
"submit"
value=
"Indítás"
/>
</div>
<div
class=
"clear"
></div>
</div>
</div>
<div
class=
"clear"
></div>
<div
class=
"details"
>
</div>
<h3>
<div
class=
"details"
>
Részletek
<h3>
</h3>
Részletek
<ul>
</h3>
<li
class=
"name"
>
Rendszer:
<span
class=
"value"
>
{{m.disk.name}}
</span></li>
<ul>
<li
class=
"type"
>
Instance típus:
<span
class=
"value"
>
{{m.instance_type.name}}
</span></li>
<li
class=
"name"
>
Rendszer:
<span
class=
"value"
>
{{m.disk.name}}
</span></li>
<li
class=
"memory"
>
Memória:
<span
class=
"value"
>
{{m.instance_type.RAM}} MiB
</span></li>
<li
class=
"type"
>
Instance típus:
<span
class=
"value"
>
{{m.instance_type.name}}
</span></li>
<li
class=
"cpu"
>
CPU magok:
<span
class=
"value"
>
{{m.instance_type.CPU}}
</span></li>
<li
class=
"memory"
>
Memória:
<span
class=
"value"
>
{{m.instance_type.RAM}} MiB
</span></li>
</ul>
<li
class=
"cpu"
>
CPU magok:
<span
class=
"value"
>
{{m.instance_type.CPU}}
</span></li>
</div>
</ul>
</form>
</div>
</li>
</form>
{% endfor %}
</li>
</ul>
{% endfor %}
</div>
</ul>
</li>
</li>
</ul>
</ul>
</div>
</div>
...
...
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