Commit 445bb4b9 by tarokkk

webui: Translations and marked selected template

parent ff990e57
......@@ -3,7 +3,7 @@
{% if instances %}
{% for i in instances %}
<li class="wm">
<div class="summary {% if id == i.id %}selected-summary{% elif 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}}
......
......@@ -99,7 +99,7 @@
</tr>
<tr>
<th>{% trans "IP" %}:</th>
<td>{{ i.firewall_host.pub_ipv4}}</td>
<td>{{ i.firewall_host.pub_ipv4 }}</td>
</tr>
<tr>
<th>{% trans "Port" %}:</th>
......@@ -117,7 +117,7 @@
</div>
</div>
<div class="contentblock" id="ports">
<h2>Portok kezelése</h2>
<h2>{% trans "Port administration" %}</h2>
<div class="content">
<form action="{% url vm_port_add i.id %}" method="post">
{% csrf_token %}
......@@ -161,7 +161,7 @@
</div>
<div class="boxes">
<div class="contentblock" id="vm-list">
<h2>Virtuális gépek</h2>
<h2>{% trans "Virtual machines" %}</h2>
<ul class="wm-list">{% include "box-vmlist.html" %}</ul>
</div>
</div>
......
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