From 8fab4d5845ffeb98f13a21f8a5d27d8fc30d00f1 Mon Sep 17 00:00:00 2001 From: Exodus4D Date: Thu, 5 Jan 2017 22:19:32 +0100 Subject: [PATCH] - Improved Taskmanager templates, #420 --- public/templates/dialog/task_manager.html | 23 ++++++++++ public/templates/modules/sync_status.html | 31 +++++++++++++ public/templates/view/setup.html | 53 +++++++++++++++++++++++ 3 files changed, 107 insertions(+) create mode 100644 public/templates/dialog/task_manager.html create mode 100644 public/templates/modules/sync_status.html diff --git a/public/templates/dialog/task_manager.html b/public/templates/dialog/task_manager.html new file mode 100644 index 00000000..a2e41b8a --- /dev/null +++ b/public/templates/dialog/task_manager.html @@ -0,0 +1,23 @@ +
+ + {{! Status (updated by trigger ------------------------------------------------------------- }} +

+ Map sync +

+ +
+ +
+ + {{! Task graphs ---------------------------------------------------------------------------- }} +
+ + {{! Task table ----------------------------------------------------------------------------- }} +

+ Processes +

+ +
+
+
+
\ No newline at end of file diff --git a/public/templates/modules/sync_status.html b/public/templates/modules/sync_status.html new file mode 100644 index 00000000..625e4a2f --- /dev/null +++ b/public/templates/modules/sync_status.html @@ -0,0 +1,31 @@ +{{#isWebSocket}} +
+
Connected
+
WebSocket
+
Status
+
{{syncStatus.webSocket.status}}
+
Active
+
{{syncStatus.webSocket.timestamp}}
+
+ +
+
+
SharedWorker
+
+
{{syncStatus.sharedWorker.status}}
+
+
 
+
+{{/isWebSocket}} + +{{#isAjax}} +
+
Type
+
Ajax (long polling)
+
Status
+
{{syncStatus.ajax.status}}
+
Last sync
+
{{syncStatus.ajax.timestamp}}
+
+{{/isAjax}} + diff --git a/public/templates/view/setup.html b/public/templates/view/setup.html index 243d1a3b..31f70509 100644 --- a/public/templates/view/setup.html +++ b/public/templates/view/setup.html @@ -790,6 +790,59 @@ +

Socket configuration [advanced]

+ +
+ + +
+
+
+

{{ @socketData.label }}

+
+ +
+ + + + + + + + + + +
{{ @entry.label }} + {{@entry.value | raw}} + + + + + + + + + +
+
+ + + +
+
+
+ +
+

Administration