From 59e8a36cb5ba68d5cc71d42d369b29bb00360064 Mon Sep 17 00:00:00 2001 From: Robert von Burg Date: Tue, 11 Sep 2018 12:17:24 +0200 Subject: [PATCH] [New] Added running, and duration to jobs view --- bower.json | 2 +- strolch-wc-inspector-behavior.html | 3 +++ strolch-wc-jobs.html | 29 +++++++++++++++++++++-------- 3 files changed, 25 insertions(+), 9 deletions(-) diff --git a/bower.json b/bower.json index ded74c8..cad5023 100644 --- a/bower.json +++ b/bower.json @@ -1,7 +1,7 @@ { "name": "strolch-wc-inspector", "description": "Strolch WebComponent Inspector", - "version": "0.10.5", + "version": "0.10.6", "authors": ["Robert von Burg"], "keywords": [ "strolch", diff --git a/strolch-wc-inspector-behavior.html b/strolch-wc-inspector-behavior.html index 36764f1..6ca25c2 100644 --- a/strolch-wc-inspector-behavior.html +++ b/strolch-wc-inspector-behavior.html @@ -27,6 +27,9 @@ return s; }, + isEqual: function (o1, o2) { + return o1 == o2; + }, isEmptyArray: function (arr) { return arr == null || arr.length == 0; }, diff --git a/strolch-wc-jobs.html b/strolch-wc-jobs.html index 758097d..da91b69 100644 --- a/strolch-wc-jobs.html +++ b/strolch-wc-jobs.html @@ -72,10 +72,11 @@
Name
Realm
Mode
-
Delay
+
Running
Executions
-
Last Execution
-
Next Execution
+
Initial / Recurring Delay
+
Last / Total Duration
+
Last / Next Execution
@@ -87,16 +88,28 @@
[[item.name]]
[[item.realm]]
[[item.mode]]
+
[[item.running]]
+
[[item.nrOfExecutions]]
[[item.initialDelay]] [[item.initialDelayTimeUnit]]
[[item.delay]] [[item.delayTimeUnit]]
-
[[item.nrOfExecutions]]
-
[[toLocalDateTime(item.lastExecution)]]
-
[[toLocalDateTime(item.nextExecution)]]
+
[[item.lastDuration]]
[[item.totalDuration]]
+
[[toLocalDateTime(item.lastExecution)]]
+ [[toLocalDateTime(item.nextExecution)]] +
- - + + + + +