Commit 43922956 by tarokkk

webui: Opened VM in vm-list removed stats from show.html

parent 53aac5bd
......@@ -2,7 +2,7 @@
{% get_current_language as LANGUAGE_CODE %}
{% if instances %}
{% for i in instances %}
<li class="wm">
<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 %}">
......@@ -45,7 +45,7 @@
</div>
<div class="clear"></div>
</div>
<div class="details">
<div class="details" {% if id == i.id %}style="display: block;"{% endif %}>
<div class="details-container">
<ul>
<li class="name">{% trans "Hostname" %}: <span class="value">{{i.name}}</span><div class="clear"></div></li>
......
......@@ -77,17 +77,6 @@
</p>
{% endif %}
</div>
<div class="details" style="display: block;">
<div class="details-container">
<ul>
<li class="name">{% trans "Hostname" %}: <span class="value">{{i.name}}</span></li>
<li class="os-linux">{% trans "System" %}: <span class="value">{{i.template.disk.name}}</span></li>
<li class="type">{% trans "Size" %}: <span class="value">{{i.template.instance_type.name}}</span></li>
<li class="date">{% trans "Created at" %}: <span class="value">{{i.created_at}}</span></li>
<li class="date">{% trans "Expiration" %}: <span class="value"><abbr title="1 nap, 5 óra, 34 perc">1 nap</abbr></span></li>
</ul>
</div>
</div>
</div>
<div class="contentblock" id="vm-credentials">
<h2>{% trans "Login credentials" %}</h2>
......
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