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
071a43bd
authored
Jan 28, 2013
by
Danyi Bence
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
css fix
parent
9057400a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
43 additions
and
2 deletions
+43
-2
one/static/style.css
+1
-1
one/templates/home.html
+42
-1
No files found.
one/static/style.css
View file @
071a43bd
...
...
@@ -193,7 +193,7 @@ a:link,a:visited{
.filetype-up
{
background-image
:
url(icons/upload-cloud.png)
;
}
#new-wm-button
.name
{
.wm.new
.name
{
background-image
:
url(icons/computer--plus.png)
;
}
.wm-on
{
...
...
one/templates/home.html
View file @
071a43bd
...
...
@@ -7,7 +7,7 @@
<h2>
Virtuális gépek
</h2>
<ul
class=
"wm-list"
>
{% include "box-vmlist.html" %}
<li
id=
"new-wm-button"
class=
"wm"
>
<li
id=
"new-wm-button"
class=
"wm
new
"
>
<div
class=
"summary"
>
<div
class=
"name"
>
Új gép indítása
</div>
<div
class=
"clear"
></div>
...
...
@@ -44,6 +44,47 @@
</li>
</ul>
</div>
<div
class=
"contentblock"
id=
"template"
>
<h2>
Saját sablonok
</h2>
<ul
class=
"wm-list"
>
{ include "box-templatelist.html" lesz majd itt }
<li
id=
"new-template-button"
class=
"wm new"
>
<div
class=
"summary"
>
<div
class=
"name"
>
Új Sablon
</div>
<div
class=
"clear"
></div>
</div>
</li>
<li
id=
"new-template"
style=
"display: none"
>
<h2>
Rendelkezésre álló sablonok
</h2>
<ul
class=
"wm-list modal"
>
{% for m in templates %}
<li
class=
"wm"
>
<form
method=
"POST"
action=
"/vm/new/{{m.pk}}/"
>
{% csrf_token %}
<div
class=
"summary"
>
<div
class=
"name wm-on"
>
{{m.name}}
</div>
<div
class=
"status"
>
<input
type=
"submit"
value=
"Indítás"
/>
</div>
<div
class=
"clear"
></div>
</div>
<div
class=
"details"
>
<h3>
Részletek
</h3>
<ul>
<li
class=
"name"
>
Rendszer:
<span
class=
"value"
>
{{m.disk.name}}
</span></li>
<li
class=
"type"
>
Instance típus:
<span
class=
"value"
>
{{m.instance_type.name}}
</span></li>
<li
class=
"memory"
>
Memória:
<span
class=
"value"
>
{{m.instance_type.RAM}} MiB
</span></li>
<li
class=
"cpu"
>
CPU magok:
<span
class=
"value"
>
{{m.instance_type.CPU}}
</span></li>
</ul>
</div>
</form>
</li>
{% endfor %}
</ul>
</li>
</ul>
</div>
{% for box in boxes %}
{% if forloop.counter0|divisibleby:2 %}
<div
class=
"contentblock"
>
...
...
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