Commit 6ab6548b by Danyi Bence

new-wm interface update

parent 494f7ac5
...@@ -3,26 +3,32 @@ ...@@ -3,26 +3,32 @@
{% block content %} {% block content %}
<div class="boxes"> <div class="boxes">
<div class="contentblock" id="state"> <div class="contentblock" id="state">
<h2>Virtuális gépek</h2> <h2>Virtuális gépek</h2>
<ul class="wm-list"> <ul class="wm-list">
{% include "box-vmlist.html" %} {% include "box-vmlist.html" %}
<li id="new-wm-button" class="wm"> <li id="new-wm-button" class="wm">
<div class="summary"> <div class="summary">
<div class="name">Új gép indítása</div> <div class="name">Új gép indítása</div>
<div class="clear"></div> <div class="clear"></div>
</div> </div>
</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">
{% for m in templates %} {% for m in templates %}
<li class="wm">
<form method="POST" action="/vm/new/{{m.pk}}/">{% csrf_token %} <form method="POST" action="/vm/new/{{m.pk}}/">{% csrf_token %}
<p><input type="submit" value="{{m.name}}" class="button widebutton"/></p> <div>
<input type="submit" value="{{m.name}}" class="summary"/>
</div>
</form> </form>
</li>
{% endfor %} {% endfor %}
</li> </ul>
</ul> </li>
</div> </ul>
</div>
{% for box in boxes %} {% for box in boxes %}
{% if forloop.counter0|divisibleby:2 %} {% if forloop.counter0|divisibleby:2 %}
<div class="contentblock"> <div class="contentblock">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment