diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2018-04-20 20:10:03 -0400 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2018-04-20 20:10:03 -0400 |
| commit | f60a57d706f71950fb3a15438eba13053c59eaa7 (patch) | |
| tree | 2bbbc44a21cbcbb8acf8f1e74110aa266c961d48 /www | |
| parent | 52d5e10e4c3d3728f85d8a9a40a975cef5ab9ddb (diff) | |
typos
Diffstat (limited to 'www')
| -rw-r--r-- | www/css/style.css | 9 | ||||
| -rwxr-xr-x | www/js/DataModel.js | 2 | ||||
| -rw-r--r-- | 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); |
