Commit df043d71 by Dányi Bence

webui: verbose markup removed

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