diff --git a/hosting/templates/hosting/virtual_machines.html b/hosting/templates/hosting/virtual_machines.html index 2d033a8d..c792bc08 100644 --- a/hosting/templates/hosting/virtual_machines.html +++ b/hosting/templates/hosting/virtual_machines.html @@ -1,49 +1,159 @@ {% extends "hosting/base_short.html" %} {% load staticfiles bootstrap3 i18n %} - {% block content %}
{% trans 'To create a new virtual machine, click "Create VM"' %}
- -ID | -Ipv4 | -Ipv6 | -{% trans "Status" %} | -- |
---|---|---|---|---|
{{vm.vm_id}} | - {% if vm.ipv6 %} -{{vm.ipv4}} | -{{vm.ipv6}} | - {% endif %} -- {% if vm.state == 'ACTIVE' %} - {{vm.state}} - {% elif vm.state == 'FAILED' %} - {{vm.state}} - {% else %} - {{vm.state}} - {% endif %} - | -- {% trans "View Detail"%} - | -
{% trans 'To create a new virtual machine, click "Create VM"' %}
+ +ID | +Ipv4 | +Ipv6 | +{% trans "Status" %} | ++ |
---|---|---|---|---|
{{vm.vm_id}} | + {% if vm.ipv6 %} +{{vm.ipv4}} | +{{vm.ipv6}} | + {% endif %} ++ {% if vm.state == 'ACTIVE' %} + {{vm.state}} + {% elif vm.state == 'FAILED' %} + {{vm.state}} + {% else %} + {{vm.state}} + {% endif %} + | ++ {% trans "View Detail"%} + | +
{% trans "ID"%} | +{% trans "Ipv4"%} | +{% trans "Ipv6"%} | +{% trans "Status"%} | ++ |
---|---|---|---|---|
{{vm.vm_id}} | + {% if vm.ipv6 %} +{{vm.ipv4}} | + +{{vm.ipv6}} | + {% endif %} + ++ + {% if vm.state == 'ACTIVE' %} + {{vm.state}} + {% elif vm.state == 'FAILED' %} + {{vm.state}} + {% else %} + {{vm.state}} + {% endif %} + + | ++ + | +