Commit 50b44eb6 by Bence Dányi

webui: fix basetemplate details

parent 5e60d1dc
...@@ -104,36 +104,38 @@ ...@@ -104,36 +104,38 @@
{% endif %} {% endif %}
</div> </div>
<div class="details"> <div class="details">
<ul> <div class="details-container">
<li class="name"> <ul>
{% trans "System" %}: <li class="name">
<span class="value">{{t.system}}</span> {% trans "System" %}:
<div class="clear"></div> <span class="value">{{t.system}}</span>
</li> <div class="clear"></div>
<li class="type"> </li>
{% trans "Size" %}: <li class="type">
<span class="value"> {% trans "Size" %}:
{{t.instance_type}}: <span class="value">
<span class="cpu">{{t.instance_type.CPU}}</span> {{t.instance_type}}:
<span class="memory">{{t.instance_type.RAM}}</span> <span class="cpu">{{t.instance_type.CPU}}</span>
<span class="credit">{{t.instance_type.credit}}</span> <span class="memory">{{t.instance_type.RAM}}</span>
</span> <span class="credit">{{t.instance_type.credit}}</span>
</li> </span>
<li class="description"> </li>
{% trans "Description" %}: <li class="description">
<span class="value">{{t.description}}</span> {% trans "Description" %}:
<div class="clear"></div> <span class="value">{{t.description}}</span>
</li> <div class="clear"></div>
<li class="date" > </li>
{% trans "Created at" %}: <li class="date" >
<span class="value">{{t.created_at}} ({{t.owner.get_profile}})</span> {% trans "Created at" %}:
<div class="clear"></div> <span class="value">{{t.created_at}} ({{t.owner.get_profile}})</span>
</li> <div class="clear"></div>
<li class="count"> </li>
{% trans "Running instances" %}: <li class="count">
<span class="value">{{t.running_instances}}</span> {% trans "Running instances" %}:
</li> <span class="value">{{t.running_instances}}</span>
</ul> </li>
</ul>
</div>
</div> </div>
</li> </li>
{% endfor %} {% endfor %}
......
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