diff --git a/sdbs_infra/dashboard/templates/index.html b/sdbs_infra/dashboard/templates/index.html index 5a131e4..e044f0e 100644 --- a/sdbs_infra/dashboard/templates/index.html +++ b/sdbs_infra/dashboard/templates/index.html @@ -13,86 +13,94 @@

/-\ infrastructure

-

important links

- -

internal services

-
- {% for service in services %} - -
- {% if service.image_url %} - image for {{ service.short_name }} - {% endif %} -
-

{{ service.short_name }}

- {% if service.description %} -

{{ service.description }}

- {% endif %} -
-
-
- STATUS: {{ service.status }} -
-
- {% endfor %} -
-

machines

-
-
- VPS STATS — {{ vps_stats|safe }} -
- {% for machine in machines %} - -
- {% if machine.image_url %} - image for {{ machine.short_name }} - {% endif %} -
-

{{ machine.short_name }}

- {% if machine.description %} -

{{ machine.description }}

- {% endif %} -
-
-
- STATUS: {{ machine.status }} -
-
- {% endfor %} -
-

logs firehose

-
-
+ {% endfor %} - - + +{% endif %} +{% if services %} +

internal services

+
+ {% for service in services %} + +
+ {% if service.image_url %} + image for {{ service.short_name }} + {% endif %} +
+

{{ service.short_name }}

+ {% if service.description %} +

{{ service.description }}

+ {% endif %} +
+
+
+ STATUS: {{ service.status }} +
+
+ {% endfor %} +
+{% endif %} +{% if machines %} +

machines

+
+
+ VPS STATS — {{ vps_stats|safe }} +
+ {% for machine in machines %} + +
+ {% if machine.image_url %} + image for {{ machine.short_name }} + {% endif %} +
+

{{ machine.short_name }}

+ {% if machine.description %} +

{{ machine.description }}

+ {% endif %} +
+
+
+ STATUS: {{ machine.status }} +
+
+ {% endfor %} +
+{% endif %} +{% if feed_items %} +

logs firehose

+
+ +
+{% endif %} \ No newline at end of file