From d2b35b896c5960b27047321769186b32819e9a0b Mon Sep 17 00:00:00 2001 From: PliablePixels Date: Wed, 19 Aug 2015 15:12:58 -0400 Subject: Fixed monitor view and montage performance - nph-zms instances were building up at the server killing it after repeated use. phew --- www/templates/monitors-modal.html | 5 ++++- www/templates/montage.html | 9 ++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) (limited to 'www/templates') 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 @@
+ + 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)" />
+ Modal Rand:{{$root.modalRand}} +
diff --git a/www/templates/montage.html b/www/templates/montage.html index fa95234f..c3ad91e5 100644 --- a/www/templates/montage.html +++ b/www/templates/montage.html @@ -45,13 +45,20 @@ - + +
+ +
+ +
-- cgit v1.2.3