diff --git a/argos/server/templates/agents.html b/argos/server/templates/agents.html index 9cd6b1a..aa5d58f 100644 --- a/argos/server/templates/agents.html +++ b/argos/server/templates/agents.html @@ -9,13 +9,12 @@ - - {% for result in last_seen %} - - {{ result.agent_id }} - {{ result.submitted_at }} - - {% endfor %} + {% for result in last_seen %} + + {{ result.agent_id }} + {{ result.submitted_at }} + + {% endfor %} -{% endblock %} \ No newline at end of file +{% endblock %} diff --git a/argos/server/templates/base.html b/argos/server/templates/base.html index 14e48be..d8dc26b 100644 --- a/argos/server/templates/base.html +++ b/argos/server/templates/base.html @@ -1,20 +1,23 @@ - - - Argos - - - -
- - -
- {% block content %} - {% endblock %} -
-
- - \ No newline at end of file + + + Argos + + + + + +
+ +
+ {% block content %} + {% endblock %} +
+
+ + diff --git a/argos/server/templates/details.html b/argos/server/templates/details.html index 64a2d36..7994606 100644 --- a/argos/server/templates/details.html +++ b/argos/server/templates/details.html @@ -2,34 +2,32 @@ {% block content %}

- {{domains | length}} domains, + {{ domains | length}} domains, {{ total_task_count }} tasks, - {{ agents |length }} agent{% if agents|length > 1 %}s{% endif %} - -

- + {{ agents | length }} agent{% if agents | length > 1 %}s{% endif %} +

- - - + + + + {% for (domain, status) in domains %} + - - {% endfor %} - -
DomainCurrent statusLast checkDomainCurrent statusLast check
- - {{ domain }} + {{ domain }} + + {% if status == "ok" %}✅ OK {% elif statuts == "warning"%}⚠ Warning{% elif status == "critical"%}❌ Critical{% elif status == "to-process" %}⏱︎ Waiting for the jobs{% endif %} {% if status == "ok" %}✅ OK {% elif statuts == "warning"%}⚠ Warning{% elif status == "critical"%}❌ Critical{% elif status == "to-process" %}⏱︎ Waiting for the jobs{% endif %} {{ last_checks.get(domain) }}
+
-{% endblock %} \ No newline at end of file +{% endblock %} diff --git a/argos/server/templates/domain.html b/argos/server/templates/domain.html index 5d1d4b0..36b669d 100644 --- a/argos/server/templates/domain.html +++ b/argos/server/templates/domain.html @@ -1,5 +1,5 @@ {% extends "base.html" %} -{% block title %}

{{domain}}

{% endblock %} +{% block title %}

{{ domain }}

{% endblock %} {% block content %}
@@ -19,12 +19,13 @@ - + {% endfor %} - -
{{ task.url }} {{ task.check }} {{ task.expected }}{% if task.status == "success" %}✅ Success {% elif task.status == "error"%}⚠ Error{% elif task.status == "failure"%}❌ Failure{% endif %} + {% if task.status == "success" %}✅ Success {% elif task.status == "error"%}⚠ Error{% elif task.status == "failure"%}❌ Failure{% endif %} + view all
+
-{% endblock %} \ No newline at end of file +{% endblock %} diff --git a/argos/server/templates/result.html b/argos/server/templates/result.html index a6b3eb6..3154eaa 100644 --- a/argos/server/templates/result.html +++ b/argos/server/templates/result.html @@ -1,17 +1,16 @@ {% extends "base.html" %} -{% block title %}

{{result}}

{% endblock %} +{% block title %}

{{ result }}

{% endblock %} {% block content %}
Task
-
{{result.task}}
+
{{ result.task }}
Submitted at
-
{{result.submitted_at}}
+
{{ result.submitted_at }}
Status
-
{{result.status}}
+
{{ result.status }}
Severity
-
{{result.severity}}
+
{{ result.severity }}
Context
-
{{result.context}}
+
{{ result.context }}
- -{% endblock %} \ No newline at end of file +{% endblock %}