From 5013b49627222ee32aaa64e522680d92dd8bfd8a Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Thu, 11 Apr 2019 20:21:10 -0400 Subject: #806 move buttons to left --- www/js/MontageCtrl.js | 7 +++++++ www/templates/events.html | 2 +- www/templates/montage.html | 16 +++++++++------- 3 files changed, 17 insertions(+), 8 deletions(-) diff --git a/www/js/MontageCtrl.js b/www/js/MontageCtrl.js index 1a0fcffa..3871d42c 100644 --- a/www/js/MontageCtrl.js +++ b/www/js/MontageCtrl.js @@ -2272,6 +2272,13 @@ angular.module('zmApp.controllers') }); + $scope.clearAllEvents = function () { + + for (var i = 0; i < $scope.MontageMonitors.length; i++) { + $scope.eventButtonClicked ($scope.MontageMonitors[i], false); + } + + }; $scope.eventButtonClicked = function (monitor, showEvents) { var ld = NVR.getLogin(); mid = monitor.Monitor.Id; diff --git a/www/templates/events.html b/www/templates/events.html index 62249598..cb75e6c0 100644 --- a/www/templates/events.html +++ b/www/templates/events.html @@ -27,7 +27,7 @@
-       {{prettifyTime(event.Event.StartTime)}} {{tzAbbr}}    diff --git a/www/templates/montage.html b/www/templates/montage.html index 1d1e980e..3cfe3699 100644 --- a/www/templates/montage.html +++ b/www/templates/montage.html @@ -58,10 +58,16 @@ +
  • + + + +
  • +
  • - :{{getCycleStatus()}} +
  • @@ -75,11 +81,6 @@
  • - -
    - -
    -
    + +

    -- cgit v1.2.3