From f60a57d706f71950fb3a15438eba13053c59eaa7 Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Fri, 20 Apr 2018 20:10:03 -0400 Subject: typos --- www/css/style.css | 9 +++++++++ www/js/DataModel.js | 2 +- www/js/EventModalCtrl.js | 6 +++--- 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/www/css/style.css b/www/css/style.css index f2cea26c..1260d3a9 100644 --- a/www/css/style.css +++ b/www/css/style.css @@ -186,6 +186,15 @@ Credit: https://css-tricks.com/snippets/css/a-guide-to-flexbox/ transform: translate(-50%, -50%); } +.event-modal-play { + opacity: 80%; + transform: translate(-50%, -50%); + position:absolute; + z-index:9999; + top:50%; + left:50%; +} + .alarmed-header { background: #ba3e3e; color: #ffffff; diff --git a/www/js/DataModel.js b/www/js/DataModel.js index 4ac38097..e062945d 100755 --- a/www/js/DataModel.js +++ b/www/js/DataModel.js @@ -1753,7 +1753,7 @@ angular.module('zmApp.controllers') if ($rootScope.authSession == 'undefined') { log ("Now that we have monitors, lets get AuthKey..."); - getAuthKey(monitors[0].Monitor.Id, (Math.floor((Math.random() * 999999) + 1)).toString()) + getAuthKey(monitors[0].Monitor.Id, (Math.floor((Math.random() * 999999) + 1)).toString()); } monitors.sort(function (a, b) { return parseInt(a.Monitor.Sequence) - parseInt(b.Monitor.Sequence); diff --git a/www/js/EventModalCtrl.js b/www/js/EventModalCtrl.js index 1b95c5f3..bdcf3253 100644 --- a/www/js/EventModalCtrl.js +++ b/www/js/EventModalCtrl.js @@ -7,7 +7,7 @@ angular.module('zmApp.controllers').controller('EventModalCtrl', ['$scope', '$ro { - const streamState = { + var streamState = { SNAPSHOT:1, ACTIVE:2, STOPPED:3 @@ -931,7 +931,7 @@ angular.module('zmApp.controllers').controller('EventModalCtrl', ['$scope', '$ro (maxAlarmFid? "&fid="+maxAlarmFid: "&eid="+$scope.eventId+"&fid=1") + "&scale="+$scope.singleImageQuality + - $rootScope.authSession + $rootScope.authSession ; } else if (currentStreamState == streamState.ACTIVE) { stream = $scope.loginData.streamingurl + @@ -941,7 +941,7 @@ angular.module('zmApp.controllers').controller('EventModalCtrl', ['$scope', '$ro "&rate=100" + "&connkey="+$scope.connKey + "&scale="+$scope.singleImageQuality + - $rootScope.authSession + $rootScope.authSession ; } // console.log ("STREAM="+stream); -- cgit v1.2.3