diff --git a/app/templates/admin/list_items.html b/app/templates/admin/list_items.html
index b4391d6..e8d487e 100644
--- a/app/templates/admin/list_items.html
+++ b/app/templates/admin/list_items.html
@@ -29,7 +29,15 @@
{% for domain in domains %}
- {% if domain.enabled == False %}{% else %}
{% endif %}
+ {% if domain.enabled == False %}
+
+ {% else %}
+ {% if domain.warning == True %}
+
+ {% else %}
+
+ {% endif %}
+ {% endif %}
{{ domain.owner.email }} |
{{ domain.fqdn }} |
{{ domain.date_expire }} |
diff --git a/app/templates/main/dashboard.html b/app/templates/main/dashboard.html
index 7e584ba..88a0218 100644
--- a/app/templates/main/dashboard.html
+++ b/app/templates/main/dashboard.html
@@ -138,6 +138,7 @@ addEventListener("DOMContentLoaded", function() {
HDD |
Network |
Control |
+ Remote |
Time Left |
@@ -151,13 +152,14 @@ addEventListener("DOMContentLoaded", function() {
{{ deploy.machine_hdd }} GB |
{% for addr in deploy.machine_addresses %} {{ addr.ip }} {% endfor %} |
|
+ |
|
- {% else %}
- {% if deploy.warning == True %}
-
- {% else %}
+ {% else %}
+ {% if deploy.warning == True %}
+
+ {% else %}
- {% endif %}
+ {% endif %}
{% if status[deploy.machine_id] == 'running' %}{% else %}{% endif %}{{ deploy.machine_alias }} |
{{ deploy.machine_cpu }} Cores |
{{ deploy.machine_mem }} MB |
@@ -172,7 +174,7 @@ addEventListener("DOMContentLoaded", function() {
{% if status[deploy.machine_id] == 'running' %}
{% if deploy.warning == True %}
- | |
+ |
{% else %}
{{ deploy.daysleft }} day(s) |
{% endif %}
@@ -209,15 +211,23 @@ addEventListener("DOMContentLoaded", function() {
{% if service.enabled == False %}
{% else %}
-
+ {% if service.warning == True %}
+
+ {% else %}
+
+ {% endif %}
{% endif %}
{{ service.category }} |
{{ service.description }} |
{{ moment(service.date_last_charge).format('lll') }} ({{ moment(service.date_last_charge).fromNow() }}) |
- {% if service.warning == True or service.enabled == True %}
+ {% if service.enabled == False %}
|
{% else %}
+ {% if service.warning == True %}
+ |
+ {% else %}
{{ service.daysleft }} day(s) |
+ {% endif %}
{% endif %}
{% endfor %}
@@ -248,14 +258,14 @@ addEventListener("DOMContentLoaded", function() {
{{ domain.fqdn }} |
{{ domain.date_expire }} |
- {% if domain.enabled == True %}
+ {% if domain.enabled == False %}
+ EXPIRED |
+ {% else %}
{% if domain.warning == True %}
- |
+ |
{% else %}
{{ domain.daysleft }} day(s) |
{% endif %}
- {% else %}
- EXPIRED |
{% endif %}