diff --git a/hosting/static/hosting/css/commons.css b/hosting/static/hosting/css/commons.css index 79053e4e..be43ac10 100644 --- a/hosting/static/hosting/css/commons.css +++ b/hosting/static/hosting/css/commons.css @@ -7,7 +7,7 @@ } .content-dashboard{ - min-height: calc(100vh - 120px); + min-height: calc(100vh - 70px); width: 80%; margin: 0 auto; max-width: 1120px; diff --git a/hosting/templates/hosting/virtual_machines.html b/hosting/templates/hosting/virtual_machines.html index cf92f52f..c149be41 100644 --- a/hosting/templates/hosting/virtual_machines.html +++ b/hosting/templates/hosting/virtual_machines.html @@ -1,12 +1,12 @@ {% extends "hosting/base_short.html" %} {% load staticfiles bootstrap3 i18n %} -{% block content %} +{% block content %}
- -

{% trans "Virtual Machines"%}

+
+

{% trans "Virtual Machines"%}


{% if messages %} @@ -19,12 +19,12 @@
{% if not error %}

- {% trans "Create VM"%} + {% trans "Create VM"%}


- - - + + + @@ -32,36 +32,36 @@ - + {% for vm in vms %} - + {% if vm.ipv6 %} - - - + + + {% endif %} + {% endfor %} - -
{% trans "ID"%} {% trans "Ipv4"%} {% trans "Ipv6"%}
{{vm.vm_id}}{{vm.vm_id}}{{vm.ipv4}}{{vm.ipv6}}{{vm.ipv4}}{{vm.ipv6}} - + {% if vm.state == 'ACTIVE' %} {{vm.state}} {% elif vm.state == 'FAILED' %} {{vm.state}} {% else %} {{vm.state}} - {% endif %} + {% endif %} -
+ {% endif %} + {% if is_paginated %} {% endif %} - +