From 629937eeccf3828d5667c114e88718fed26ad023 Mon Sep 17 00:00:00 2001 From: Troy Dai Date: Tue, 29 May 2018 10:54:03 -0700 Subject: [PATCH] Update the task page --- app/app/templates/task.html | 37 ++++++++++++------------------------- 1 file changed, 12 insertions(+), 25 deletions(-) diff --git a/app/app/templates/task.html b/app/app/templates/task.html index ab89c4f..b3677ff 100644 --- a/app/app/templates/task.html +++ b/app/app/templates/task.html @@ -7,31 +7,18 @@ {% block body %}
-
-
-

Task {{ task.id }}

-
-
-
-
- - - - - - - - - - - - - - - -
Identifier{{ task.identifier }}
Result{{ task.result }}
Duration (ms){{ task.duration }}
-
-
+

Task {{ task.id }}

+

+ {% if task.result != 'Passed' %} + {{ task.result }} + {% else %} + {{ task.result }} + {% endif %} + Duration {{ task.duration / 1000 }} s +

+
+ {{ task.identifier }} +