From 2782a0757f730ac622bb1768e33ae4e1ab43f9e4 Mon Sep 17 00:00:00 2001 From: PliablePixels Date: Sun, 21 Jun 2015 16:01:46 -0400 Subject: Monitor view now calls zmdc APIs and checks if monitor is running/not running/pending --- www/templates/events-modal.html | 7 ++-- www/templates/help.html | 10 ++++++ www/templates/monitors.html | 72 ++++++++++++++++++++++------------------- www/templates/montage.html | 2 +- 4 files changed, 54 insertions(+), 37 deletions(-) (limited to 'www/templates') diff --git a/www/templates/events-modal.html b/www/templates/events-modal.html index fcd0f8c9..221e0dc7 100644 --- a/www/templates/events-modal.html +++ b/www/templates/events-modal.html @@ -21,6 +21,10 @@ + + + + - - - diff --git a/www/templates/help.html b/www/templates/help.html index 55d22d9e..decdf47e 100644 --- a/www/templates/help.html +++ b/www/templates/help.html @@ -43,6 +43,16 @@ should be reloaded. + +

What do all the colors in the Monitor view mean?

+ Checking
+ All good
+ Not running
+ Not running (pending)
+ Disabled
+ Unknown
+ +

I want to contribute!

diff --git a/www/templates/monitors.html b/www/templates/monitors.html index 6ef5d954..7b6b00b3 100644 --- a/www/templates/monitors.html +++ b/www/templates/monitors.html @@ -1,52 +1,58 @@ - - - - - - + + + + + + - -
- -
-
- +
+ +
+ +
+
+ {{monitor.Monitor.Name}} - + + + + -
+
-
- +
+ {{monitor.Monitor.Name}} - + -
+
-

Mode :{{monitor.Monitor.Function}}
- - Resolution: {{monitor.Monitor.Width}}*{{monitor.Monitor.Height}}
- Max FPS: {{monitor.Monitor.MaxFPS}} -
Alarm Max FPS:{{monitor.Monitor.AlarmMaxFPS}} -
Alarm Frame Count: {{monitor.Monitor.AlarmFrameCount}} -
-

- - + Resolution: {{monitor.Monitor.Width}}*{{monitor.Monitor.Height}}
+ Max FPS: {{monitor.Monitor.MaxFPS}} +
Alarm Max FPS:{{monitor.Monitor.AlarmMaxFPS}} +
Alarm Frame Count: {{monitor.Monitor.AlarmFrameCount}} +
Status: {{monitor.Monitor.isRunningText}} +

+

+ + +
+
- diff --git a/www/templates/montage.html b/www/templates/montage.html index 3e3f940a..822212bc 100644 --- a/www/templates/montage.html +++ b/www/templates/montage.html @@ -36,7 +36,7 @@
- +
-- cgit v1.2.3