Commit df043d71 by Dányi Bence

webui: verbose markup removed

parent 82809985
......@@ -3,7 +3,6 @@
<div class="boxes">
<div class="contentblock">
<h2>{% trans "Data store" %}</h2>
<div class="content">
<ul class="file-list">
<li class="wm small" id="current-location">
<div class="summary">
......@@ -133,5 +132,4 @@
</li>
</ul>
</div>
</div>
</div>
......@@ -4,8 +4,6 @@
{% for i in instances %}
<li class="wm {% if id == i.id %}opened{% endif %}">
<div class="summary {% if id == i.id %}selected-summary{% endif %} {% if i.template.state == "NEW" %}unfinished{% endif %}">
<!--<div class="id"></div>
-->
<div class="name {% if i.state == 'ACTIVE' %}wm-on{% else %}wm-off{% endif %}">{{i.name|truncatechars:20}}</div>
<div class="status">{{i.state}}</div>
<div class="actions">
......@@ -17,7 +15,7 @@
</a>
<a href="#" class="stop-vm-button" data-name="{{ i.name}}" data-id="{{ i.id }}" title="{% trans "Pause" %}">
<img src="/static/icons/control-pause.png" alt="{% trans "Pause" %}" />
</span>
</a>
<a href="#" class="delete-vm-button" data-name="{{ i.name}}" data-id="{{ i.id }}" title="{% trans "Delete" %}">
<img src="/static/icons/minus-circle.png" alt="{% trans "Delete" %}" />
</a>
......@@ -30,7 +28,7 @@
{% elif i.state == 'STOPPED' %}
<a href="#" class="resume-vm-button" data-name="{{ i.name}}" data-id="{{ i.id }}" title="{% trans "Resume" %}">
<img src="/static/icons/control.png" alt="{% trans "Resume" %}" />
</span>
</a>
<a href="#" class="delete-vm-button" data-name="{{ i.name}}" data-id="{{ i.id }}" title="{% trans "Delete" %}">
<img src="/static/icons/minus-circle.png" alt="{% trans "Delete" %}" />
</a>
......@@ -41,8 +39,8 @@
{% endif %}
</div>
<div class="clear"></div>
</div>
<div class="details">
</div>
<div class="details">
<div class="details-container">
<ul>
<li class="name">
......@@ -111,7 +109,7 @@
</li>
</ul>
</div>
</div>
</div>
</li>
{% endfor %}
{% else %}
......
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