From cd0e4e8373af8e0779e3733b7e00a2e522a5e102 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Ml=C3=A1dek?= Date: Tue, 5 Oct 2021 23:46:37 +0200 Subject: [PATCH] actually fix stats layout --- sdbs_infra/dashboard/static/main.css | 1 - sdbs_infra/dashboard/templates/index.html | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/sdbs_infra/dashboard/static/main.css b/sdbs_infra/dashboard/static/main.css index 828fbfb..44b47e4 100644 --- a/sdbs_infra/dashboard/static/main.css +++ b/sdbs_infra/dashboard/static/main.css @@ -137,7 +137,6 @@ h2 { } .stats { - display: block; text-align: center; padding: 1.5rem 0; } diff --git a/sdbs_infra/dashboard/templates/index.html b/sdbs_infra/dashboard/templates/index.html index 1fe23e7..6a6e5ec 100644 --- a/sdbs_infra/dashboard/templates/index.html +++ b/sdbs_infra/dashboard/templates/index.html @@ -58,10 +58,10 @@ {% endif %} {% if machines %}

machines

+
+ VPS STATS
{{ vps_stats|safe }} +
-
- VPS STATS
{{ vps_stats|safe }} -
{% for machine in machines %} {% if machine.url %}