added ipv4 and ipv6 to virtualmachine list
This commit is contained in:
parent
e278ff742d
commit
60fc2890f1
1 changed files with 7 additions and 3 deletions
|
@ -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' %}
|
||||||
|
|
Loading…
Reference in a new issue