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
4b45fd18
authored
Jan 28, 2013
by
Danyi Bence
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new-wm interface improved
parent
2d7ee0b5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
3 deletions
+17
-3
one/templates/home.html
+17
-3
No files found.
one/templates/home.html
View file @
4b45fd18
...
...
@@ -15,12 +15,26 @@
</li>
<li
id=
"new-wm"
style=
"display: none"
>
<h2>
Rendelkezésre álló sablonok
</h2>
<ul
class=
"wm-list"
>
<ul
class=
"wm-list
modal
"
>
{% for m in templates %}
<li
class=
"wm"
>
<form
method=
"POST"
action=
"/vm/new/{{m.pk}}/"
>
{% csrf_token %}
<div>
<input
type=
"submit"
value=
"{{m.name}}"
class=
"summary"
/>
<div
class=
"summary"
>
{{m.name}}
<div
class=
"actions"
>
<input
type=
"submit"
value=
"Indítás"
/>
</div>
</div>
<div
class=
"details"
>
<h3>
Részletek
</h3>
<ul>
<li>
Rendszer:
<span
class=
"value"
>
{{m.disk.name}}
</span></li>
<li>
Instance típus:
<span
class=
"value"
>
{{m.instance_type.name}}
</span></li>
<li>
Memória:
<span
class=
"value"
>
{{m.instance_type.RAM}} MiB
</span></li>
<li>
CPU magok:
<span
class=
"value"
>
{{m.instance_type.CPU}}
</span></li>
</ul>
</div>
</form>
</li>
...
...
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