summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorArjun Roychowdhury <pliablepixels@gmail.com>2015-10-22 16:13:40 -0400
committerArjun Roychowdhury <pliablepixels@gmail.com>2015-10-22 16:13:40 -0400
commitd807228a299d5d310ed875127c04683dd4500949 (patch)
tree2ca816a18b46a04df5560e7274046ab0501c1d2b /www
parent75e42b0d8ad6ba5f48c675a847d8baaa88c6ba90 (diff)
nits
Diffstat (limited to 'www')
-rw-r--r--www/templates/monitors-modal.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/www/templates/monitors-modal.html b/www/templates/monitors-modal.html
index ecc37e77..17fde12c 100644
--- a/www/templates/monitors-modal.html
+++ b/www/templates/monitors-modal.html
@@ -6,17 +6,17 @@
<ion-modal-view cache-view="false" style="background-color:#444444" >
<ion-content >
<!-- <div style="background-color:red; color:white"> Modal Rand:{{$root.modalRand}} </div>-->
- <ion-scroll has-bouncing=false min-zoom=1 zooming="true"
+ <ion-scroll delegate="imgscroll" has-bouncing=false min-zoom=1 zooming="true"
direction="xy" style="width: 100%; ">
<!-- android needs this 100vh - otherwise max- does not work -->
<div style="height: 100vh;" class="main">
<div ng-if="$root.authSession!='undefined'">
- <img imageonload="finishedLoadingImage()"
+ <img id="monitorimage" imageonload="finishedLoadingImage()"
image-spinner-loader="lines"
image-spinner-src="{{LoginData.streamingurl}}/cgi-bin/nph-zms?mode=single&monitor={{monitorId}}&maxfps={{LoginData.maxFPS}}{{$root.authSession}}&rand={{$root.modalRand}}" ng-class="{'zm-image-fit':imageFit==true, 'zm-image-crop':imageFit==false}"
on-swipe-left="onSwipeLeft(monitorId,-1)"
- on-swipe-right="onSwipeRight(monitorId,1)"/>
+ on-swipe-right="onSwipeRight(monitorId,1)" />
<!-- on-swipe-left="onSwipeLeft(monitorId,-1)" on-swipe-right="onSwipeRight(monitorId,1)"-->
</div>
<div ng-if="$root.authSession=='undefined'">