From 2146b8dd8bf5a5f7d85d53c030234e271740d926 Mon Sep 17 00:00:00 2001 From: deflax Date: Tue, 12 Sep 2017 03:07:57 +0300 Subject: [PATCH] dashboard update --- app/templates/main/dashboard.html | 47 +++++++++++-------------------- 1 file changed, 16 insertions(+), 31 deletions(-) diff --git a/app/templates/main/dashboard.html b/app/templates/main/dashboard.html index 6379281..4709ac4 100644 --- a/app/templates/main/dashboard.html +++ b/app/templates/main/dashboard.html @@ -154,12 +154,12 @@ addEventListener("DOMContentLoaded", function() {
-

+


+ {% if status[deploy.machine_id] == 'running' %} @@ -168,6 +168,19 @@ addEventListener("DOMContentLoaded", function() { {% endif %} {% if status[deploy.machine_id] == 'running' %}{% endif %}

+

+ + {% if deploy.enabled == False %} + + {% else %} + {{ deploy.daysleft }} day(s) + {% endif %} + {% endif %} +

+
@@ -189,40 +202,12 @@ addEventListener("DOMContentLoaded", function() {
- IOPS of {{ deploy.machine_hdd }}GB storage
+ IOPS of {{ deploy.machine_hdd }} GB storage

-
- - - - - - - - {% if deploy.enabled == False %} - - - {% else %} - {% if deploy.warning == True %} - - {% else %} - - {% endif %} - {% if deploy.warning == True %} - - {% else %} - - {% endif %} - - {% endif %} - -
{{ deploy.daysleft }} day(s)
-
-