summaryrefslogtreecommitdiff
path: root/www/js
diff options
context:
space:
mode:
authorPliablePixels <pliablepixels@gmail.com>2015-06-04 11:55:42 -0400
committerPliablePixels <pliablepixels@gmail.com>2015-06-04 11:55:42 -0400
commitede851b2b82b2f37e220ba5ca322ca30e476d389 (patch)
treedbdcb90ec97234906b210e4956bf4d609b6155d6 /www/js
parentc76e9d5c78e0cd48f938218dc97fb67e7bcac51d (diff)
Added option for a more compact montage view (still needs more work)
Diffstat (limited to 'www/js')
-rw-r--r--www/js/MontageCtrl.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/www/js/MontageCtrl.js b/www/js/MontageCtrl.js
index 9313d660..3fff9c7c 100644
--- a/www/js/MontageCtrl.js
+++ b/www/js/MontageCtrl.js
@@ -7,6 +7,12 @@
angular.module('zmApp.controllers').controller('zmApp.MontageCtrl', ['$scope', '$rootScope', 'ZMDataModel', 'message', '$ionicSideMenuDelegate', '$timeout', '$interval', '$ionicModal', '$ionicLoading', '$http', function ($scope, $rootScope, ZMDataModel, message, $ionicSideMenuDelegate, $timeout, $interval, $ionicModal, $ionicLoading, $http) {
var timestamp = new Date().getUTCMilliseconds();
+ $scope.isMinimal = false;
+
+ $scope.switchMinimal = function()
+ {
+ $scope.minimal = !$scope.minimal;
+ };
$scope.togglePTZ = function () {
$scope.showPTZ = !$scope.showPTZ;
@@ -125,8 +131,6 @@ angular.module('zmApp.controllers').controller('zmApp.MontageCtrl', ['$scope', '
};
function controlPTZ(monitorId, cmd) {
- // curl -X POST "http://arjunrc.ddns.net:9898/zm/index.php" -d "view=request&request=control&user=admin&passwd=indiglo&id=4&control=moveConLeft"
-
//curl -X POST "http://server.com/zm/index.php?view=request" -d "request=control&user=admin&passwd=xx&id=4&control=moveConLeft"