summaryrefslogtreecommitdiff
path: root/www/templates
diff options
context:
space:
mode:
Diffstat (limited to 'www/templates')
-rw-r--r--www/templates/devoptions.html7
-rw-r--r--www/templates/monitors-modal.html2
2 files changed, 8 insertions, 1 deletions
diff --git a/www/templates/devoptions.html b/www/templates/devoptions.html
index ffab7fc9..b859b275 100644
--- a/www/templates/devoptions.html
+++ b/www/templates/devoptions.html
@@ -24,6 +24,13 @@
</label>
</div>
+
+ <label>
+ <ion-toggle ng-model="loginData.useNphZms"
+ ng-checked="{{loginData.useNphZms}}"
+ toggle-class="toggle-calm">use ZMS for single stream</ion-toggle>
+ </label>
+
<div class="item item-input-inset">
Max monitors in montage&nbsp;
<label class="item-input-wrapper">
diff --git a/www/templates/monitors-modal.html b/www/templates/monitors-modal.html
index 1e5ae3cb..5b2e374d 100644
--- a/www/templates/monitors-modal.html
+++ b/www/templates/monitors-modal.html
@@ -20,7 +20,7 @@
<div ng-if="!animationInProgress" >
<img style="width:100vw; height:100vh" imageonload="finishedLoadingImage()"
image-spinner-loader="lines"
- image-spinner-src="{{LoginData.streamingurl}}/nph-zms?mode=single&monitor={{monitorId}}{{$root.authSession}}&rand={{$root.modalRand}}" ng-class="{'object-fit_cover':imageFit==false, 'object-fit_contain':imageFit==true}"
+ image-spinner-src="{{LoginData.streamingurl}}/nph-zms?mode={{streamMode}}&monitor={{monitorId}}{{$root.authSession}}&rand={{$root.modalRand}}" ng-class="{'object-fit_cover':imageFit==false, 'object-fit_contain':imageFit==true}"
on-swipe-left="onSwipe(monitorId,1)"
on-swipe-right="onSwipe(monitorId,-1)" />