From 1d89f4873a603392fb16096b3816b6b232b38a63 Mon Sep 17 00:00:00 2001 From: ARC Date: Tue, 12 May 2015 16:21:03 -0400 Subject: Added ZM state control - start/stop/restart --- www/templates/events-modal.html | 2 +- www/templates/login.html | 6 ++--- www/templates/monitors-modal.html | 2 +- www/templates/montage.html | 3 ++- www/templates/state.html | 49 +++++++++++++++++++++++++++++++++++++++ 5 files changed, 56 insertions(+), 6 deletions(-) create mode 100644 www/templates/state.html (limited to 'www/templates') diff --git a/www/templates/events-modal.html b/www/templates/events-modal.html index 08dbe651..f53de46e 100644 --- a/www/templates/events-modal.html +++ b/www/templates/events-modal.html @@ -16,7 +16,7 @@
- + diff --git a/www/templates/login.html b/www/templates/login.html index 4a87025e..d5537641 100644 --- a/www/templates/login.html +++ b/www/templates/login.html @@ -15,16 +15,16 @@
ZoneMinder API
Developer Options diff --git a/www/templates/monitors-modal.html b/www/templates/monitors-modal.html index b410331a..8c4da851 100644 --- a/www/templates/monitors-modal.html +++ b/www/templates/monitors-modal.html @@ -17,7 +17,7 @@
- +
diff --git a/www/templates/montage.html b/www/templates/montage.html index 21e50d52..46ab0821 100644 --- a/www/templates/montage.html +++ b/www/templates/montage.html @@ -26,7 +26,8 @@ FIXME: I should probably not pass username and password here - instead go the http interceptor and auth token mode -->
- + +
diff --git a/www/templates/state.html b/www/templates/state.html new file mode 100644 index 00000000..83314492 --- /dev/null +++ b/www/templates/state.html @@ -0,0 +1,49 @@ + + + + + + + + + + + + + +
+
+ ZoneMinder is: +
+
+ {{zmRun}} +
+
+
+ +
+
+ ZoneMinder load: +
+
+ {{zmLoad}} +
+
+
+ + + +
+ Restart + Stop + Start +
+
+ + + +
+
+
-- cgit v1.2.3