From 8ed7697a634ca564591192082c9b2265db318ade Mon Sep 17 00:00:00 2001 From: Patrick Jentsch Date: Mon, 2 Sep 2019 15:25:30 +0200 Subject: [PATCH] Add live information updates to job page. --- app/templates/main/jobs/job.html.j2 | 123 +++++++++++++++++++++++----- 1 file changed, 104 insertions(+), 19 deletions(-) diff --git a/app/templates/main/jobs/job.html.j2 b/app/templates/main/jobs/job.html.j2 index 2f97cc0f..ea3dd9a0 100644 --- a/app/templates/main/jobs/job.html.j2 +++ b/app/templates/main/jobs/job.html.j2 @@ -1,19 +1,104 @@ {% extends "base.html.j2" %} {% block page_content %} + +
-

{{ job.title }}

-

{{ job.description }}

- {% if job.status == 'pending' %} - {% set status_color = 'amber' %} - {% elif job.status =='running' %} - {% set status_color = 'indigo' %} - {% elif job.status =='complete' %} - {% set status_color = 'teal' %} - {% else %} - {% set status_color = 'red' %} - {% endif %} -

{{ job.status }}

+

+

+
@@ -23,13 +108,13 @@
- +
- +
@@ -38,13 +123,13 @@
- +
- +
@@ -53,19 +138,19 @@
- +
- +
- +