summaryrefslogtreecommitdiff
path: root/www/templates/monitors-modal.html
diff options
context:
space:
mode:
authorPliablePixels <pliablepixels@gmail.com>2015-08-19 15:12:58 -0400
committerPliablePixels <pliablepixels@gmail.com>2015-08-19 15:12:58 -0400
commitd2b35b896c5960b27047321769186b32819e9a0b (patch)
tree92172015955f95e3db1e139f647a943acc60ec6e /www/templates/monitors-modal.html
parent9f0172691266b92b5204e440c0b31188f0eeb4ac (diff)
Fixed monitor view and montage performance - nph-zms instances were building up at the server killing it after repeated use. phew
Diffstat (limited to 'www/templates/monitors-modal.html')
-rw-r--r--www/templates/monitors-modal.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/www/templates/monitors-modal.html b/www/templates/monitors-modal.html
index 04596dca..9ee970c9 100644
--- a/www/templates/monitors-modal.html
+++ b/www/templates/monitors-modal.html
@@ -11,12 +11,15 @@
<!-- android needs this 100vh - otherwise max- does not work -->
<div style="height: 100vh;" class="main">
+
<img imageonload="finishedLoadingImage()"
image-spinner-loader="lines"
- image-spinner-src="{{LoginData.streamingurl}}/cgi-bin/zms?mode=single&amp;monitor={{monitorId}}&maxfps={{LoginData.maxFPS}}&user={{LoginData.username}}&pass={{LoginData.password}}&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)" />
+ image-spinner-src="{{LoginData.streamingurl}}/cgi-bin/nph-zms?mode=single&monitor={{monitorId}}&maxfps={{LoginData.maxFPS}}&user={{LoginData.username}}&pass={{LoginData.password}}&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)" />
</div>
</ion-scroll>
+ <span style="background-color:red; color:white"> Modal Rand:{{$root.modalRand}} </span>
</ion-content>
+
<div ng-show="isControllable=='1' && showPTZ">
<div class="ptzcentered">