From 29172a9df7f544b2ae946cb6eef155630a500086 Mon Sep 17 00:00:00 2001 From: PCoder Date: Wed, 22 Aug 2018 23:06:20 +0200 Subject: [PATCH] Use a separate class for warning block --- hosting/static/hosting/css/virtual-machine.css | 6 +++++- hosting/templates/hosting/virtual_machine_detail.html | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/hosting/static/hosting/css/virtual-machine.css b/hosting/static/hosting/css/virtual-machine.css index fcbaa301..d3f17d64 100644 --- a/hosting/static/hosting/css/virtual-machine.css +++ b/hosting/static/hosting/css/virtual-machine.css @@ -142,10 +142,14 @@ } .vm-vmid { - padding: 50px 0 33px; + padding: 50px 0 70px; text-align: center; } +.vm-vmid-with-warning { + padding: 50px 0 33px !important; +} + .vm-vmid .alert { margin-top: 15px; margin-bottom: -60px; diff --git a/hosting/templates/hosting/virtual_machine_detail.html b/hosting/templates/hosting/virtual_machine_detail.html index 0dfc2cbf..a549aebf 100644 --- a/hosting/templates/hosting/virtual_machine_detail.html +++ b/hosting/templates/hosting/virtual_machine_detail.html @@ -51,7 +51,7 @@

{% trans "Status" %}

-
+
{% trans "Your VM is" %}
{% if virtual_machine.state == 'PENDING' %}