summaryrefslogtreecommitdiff
path: root/www/templates/montage.html
diff options
context:
space:
mode:
authorARC <arjunrc@gmail.com>2015-04-28 15:35:38 -0400
committerARC <arjunrc@gmail.com>2015-04-28 15:35:38 -0400
commit16cbcb6b764ae984ee1f5c2ec30588f4c21225d2 (patch)
tree36f892ecf4b92a46e75048a8f24eda1107a51c7a /www/templates/montage.html
parent1bbbb2078fe904a89455641968cb05fe3aa19a15 (diff)
Added pinch and zoom everywhere
Diffstat (limited to 'www/templates/montage.html')
-rw-r--r--www/templates/montage.html4
1 files changed, 4 insertions, 0 deletions
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 -->
<div ng-if="!isSimulated()">
+ <ion-scroll has-bouncing=false min-zoom=1 zooming="true" direction="xy" style="width: 100%; ">
<img ng-src="{{LoginData.url}}/cgi-bin/nph-zms?mode=jpeg&amp;monitor={{monitor.Monitor.Id}}&scale=100&maxfps=3&buffer=1000&user={{LoginData.username}}&pass={{LoginData.password}}&rand={{rand}}" width="{{((devWidth-30)/(7-slider.monsize))}}px;" />
+ </ion-scroll>
</div>
<div ng-if="isSimulated()">
+ <ion-scroll has-bouncing=false min-zoom=1 zooming="true" direction="xy" style="width: 100%; ">
<img ng-src="img/demo.gif?rand={{rand}}" width="{{((devWidth-30)/(7-slider.monsize))}}px;">
+ </ion-scroll>
</div>
<!-- <img ng-src="img/demo.gif?rand={{rand}}" width="{{((devWidth-30)/(7-slider.monsize))}}px;" />-->