From 22918d00119029704ab865a60901db48d10419a2 Mon Sep 17 00:00:00 2001
From: Cyril Dubuisson
Date: Fri, 25 Oct 2019 15:28:17 +0200
Subject: [PATCH] :sparkles: : use timer component to display durations of job
and step
---
src/main/resources/static/css/style.css | 11 ++++++++---
src/main/resources/templates/job.html | 2 ++
.../templates/vue_templates/job/job-metadata.vue | 10 ++++++++--
.../templates/vue_templates/job/job-step.vue | 10 ++++++++--
4 files changed, 26 insertions(+), 7 deletions(-)
diff --git a/src/main/resources/static/css/style.css b/src/main/resources/static/css/style.css
index 666e1984f..12f533a29 100755
--- a/src/main/resources/static/css/style.css
+++ b/src/main/resources/static/css/style.css
@@ -1848,17 +1848,22 @@ button.main_bt {
display: flex;
flex-direction: column;
justify-content: center;
+ flex: 0 0 30%;
border-left: 2px dashed cadetblue;
- margin-left: 10px;
- padding-left: 10px;
+ margin-left: 15px;
+ padding-left: 15px;
}
.job_list .job .job_attr_id {
width: 50px;
}
+.job_list .job .job_attr_icon {
+ width: 20px;
+}
+
.job_list .job .job_attr_value {
- font-weight: bold;
+ font-weight: bolder;
margin-left: 5px;
}
diff --git a/src/main/resources/templates/job.html b/src/main/resources/templates/job.html
index 1a56eb1b4..99244f63c 100644
--- a/src/main/resources/templates/job.html
+++ b/src/main/resources/templates/job.html
@@ -78,6 +78,7 @@ Stack {{stack.name}}
+
@@ -93,6 +94,7 @@ Stack {{stack.name}}
+
diff --git a/src/main/resources/templates/vue_templates/job/job-metadata.vue b/src/main/resources/templates/vue_templates/job/job-metadata.vue
index a99711e74..9604d2c55 100644
--- a/src/main/resources/templates/vue_templates/job/job-metadata.vue
+++ b/src/main/resources/templates/vue_templates/job/job-metadata.vue
@@ -25,9 +25,15 @@
Ended {{job.endDateTime | dateTime}}
-
+
- Duration {{job.executionTime}}ms
+ Duration
+
+
+
+
diff --git a/src/main/resources/templates/vue_templates/job/job-step.vue b/src/main/resources/templates/vue_templates/job/job-step.vue
index ee8cffe64..6b89f6a37 100644
--- a/src/main/resources/templates/vue_templates/job/job-step.vue
+++ b/src/main/resources/templates/vue_templates/job/job-step.vue
@@ -27,9 +27,15 @@
Ended
{{step.endDateTime | dateTime}}
-
+
- Duration {{step.executionTime}}ms
+ Duration
+
+
+
+