From 370c4bad1e2f5c5b4ad3f7824a0229264bcafb8c Mon Sep 17 00:00:00 2001 From: deflax Date: Tue, 10 Apr 2018 17:06:01 +0300 Subject: [PATCH] some visual changes and pip packages update --- app/static/css/style.css | 6 +++--- app/templates/admin/list_deployments.html | 2 +- app/templates/nav.html | 2 +- app/vmanager/routes.py | 15 ++++++++++----- requirements.txt | 19 ++++++++++++++----- 5 files changed, 29 insertions(+), 15 deletions(-) diff --git a/app/static/css/style.css b/app/static/css/style.css index 2ee057d..b93e887 100644 --- a/app/static/css/style.css +++ b/app/static/css/style.css @@ -17,16 +17,16 @@ body { } .page_wrap { - width: 83%; + width: 88%; margin: 0 auto; } .container { - width: 85%; + width: 90%; } .container-fluid { - max-width: 85%; + max-width: 92%; min-width: 280px; } diff --git a/app/templates/admin/list_deployments.html b/app/templates/admin/list_deployments.html index 43a3a16..6940181 100644 --- a/app/templates/admin/list_deployments.html +++ b/app/templates/admin/list_deployments.html @@ -44,7 +44,7 @@ {% endif %} {{ deploy.server.name }} {% for vlan in deploy.inv_pubvlans %}{{ vlan.vlan_id }}{% endfor %} - {% if status[deploy.machine_id] == 'UNREACHABLE' %}{% else %}{% endif %}{{ deploy.machine_alias }} + {% if status[deploy.machine_id] == 'running' %}{% else %}{% if status[deploy.machine_id] == 'stopped' %}{% else %}{% endif %}{% endif %}{{ deploy.machine_alias }} {{ deploy.machine_cpu }} {{ deploy.machine_mem }} MB {{ deploy.machine_hdd }} GB diff --git a/app/templates/nav.html b/app/templates/nav.html index ff3415f..63349f7 100644 --- a/app/templates/nav.html +++ b/app/templates/nav.html @@ -48,7 +48,7 @@