From 6764211ebd58c1322044e2fabb239a79a2dbb838 Mon Sep 17 00:00:00 2001 From: Kyle Johnson Date: Tue, 16 Dec 2014 17:11:28 -0500 Subject: [PATCH] Add initial MonitorController --- web/skins/bootstrap/js/controllers.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/web/skins/bootstrap/js/controllers.js b/web/skins/bootstrap/js/controllers.js index b5f88ff86..c12715bda 100644 --- a/web/skins/bootstrap/js/controllers.js +++ b/web/skins/bootstrap/js/controllers.js @@ -46,6 +46,13 @@ ZoneMinder.controller('EventController', function($scope, $location, Event) { }); }); +ZoneMinder.controller('MonitorController', function($scope) { + $scope.sourceType = 'Local'; + $scope.RefBlendPerc = 6; + $scope.AlarmRefBlendPerc = 6; + $scope.Function = 'Monitor'; +}); + ZoneMinder.controller('ConsoleController', function($scope, Console) { // Ask the API for events that have happened in the last week Console.getConsoleEvents('1 week').then(function(results) {