added ipv4 and ipv6 to virtualmachine list

This commit is contained in:
Levi 2017-05-23 11:50:02 -05:00
parent e278ff742d
commit 60fc2890f1

View file

@ -26,7 +26,8 @@
<thead> <thead>
<tr> <tr>
<th>{% trans "ID"%}</th> <th>{% trans "ID"%}</th>
<th>{% trans "Ipv4"%}</th> <th>{% trans "Ipv4"%}</th>
<th>{% trans "Ipv6"%}</th>
<th>{% trans "Status"%}</th> <th>{% trans "Status"%}</th>
<th></th> <th></th>
</tr> </tr>
@ -35,9 +36,12 @@
{% for vm in vms %} {% for vm in vms %}
<tr> <tr>
<td scope="row">{{vm.vm_id}}</td> <td scope="row">{{vm.vm_id}}</td>
{% if virtual_machine.ip %} {% if virtual_machine.ipv6
<td>{{vm.price}}</td> <td>{{virtual_machine.ipv4}}</td>
<td>{{virtual_machine.ipv6}}</td>
{% endif %} {% endif %}
<td> <td>
{% if vm.state == 'ACTIVE' %} {% if vm.state == 'ACTIVE' %}