From 16cbcb6b764ae984ee1f5c2ec30588f4c21225d2 Mon Sep 17 00:00:00 2001 From: ARC Date: Tue, 28 Apr 2015 15:35:38 -0400 Subject: Added pinch and zoom everywhere --- www/js/EventCtrl.js | 2 +- www/templates/events-modal.html | 5 +++++ www/templates/monitors-modal.html | 5 ++++- www/templates/montage.html | 4 ++++ 4 files changed, 14 insertions(+), 2 deletions(-) diff --git a/www/js/EventCtrl.js b/www/js/EventCtrl.js index c6eba07e..0f24cead 100644 --- a/www/js/EventCtrl.js +++ b/www/js/EventCtrl.js @@ -107,7 +107,7 @@ angular.module('zmApp.controllers').controller('zmApp.EventCtrl', function ($ion req.success(function (resp) { console.log("SUCCESS: " + JSON.stringify(resp)); - var str = toast_blurb + "Event:" + resp.status.event; + var str = toast_blurb + "event:" + resp.status.event; console.log(str); $ionicLoading.show({ template: str, diff --git a/www/templates/events-modal.html b/www/templates/events-modal.html index f6367310..d275f0a7 100644 --- a/www/templates/events-modal.html +++ b/www/templates/events-modal.html @@ -14,11 +14,16 @@
+ +
+ + +
diff --git a/www/templates/monitors-modal.html b/www/templates/monitors-modal.html index 0ab63679..ea5f8a1d 100644 --- a/www/templates/monitors-modal.html +++ b/www/templates/monitors-modal.html @@ -13,14 +13,17 @@ - {{LoginData.url}}/cgi-bin/nph-zms?mode=jpeg&monitor={{monitorId}}&scale=100&maxfps=3&buffer=1000&user={{LoginData.username}}&pass={{LoginData.password}}&rand={{rand}}
+ +
+ +
diff --git a/www/templates/montage.html b/www/templates/montage.html index 434677c6..d6414837 100644 --- a/www/templates/montage.html +++ b/www/templates/montage.html @@ -26,12 +26,16 @@ FIXME: I should probably not pass username and password here - instead go the http interceptor and auth token mode -->
+ +
+ +
-- cgit v1.2.3