summaryrefslogtreecommitdiff
path: root/www/templates
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2016-09-07 16:53:49 -0400
committerPliable Pixels <pliablepixels@gmail.com>2016-09-07 16:53:49 -0400
commitd093aa7ff439c56a309e1778ecb66b7b13480c73 (patch)
treebcad50ea4a9f01b7cf27ee8837aa975d87564858 /www/templates
parent7805e0799dea82116fa39d4e5f4771111840142c (diff)
#321 - initial code - needs cleanup and better structure. Values are littered around at the moment
Former-commit-id: a5913367e5075e9b3e6eba774798d281decd4ffb
Diffstat (limited to 'www/templates')
-rw-r--r--www/templates/devoptions.html7
-rw-r--r--www/templates/login.html8
-rw-r--r--www/templates/monitors-modal.html6
3 files changed, 18 insertions, 3 deletions
diff --git a/www/templates/devoptions.html b/www/templates/devoptions.html
index 4e6e1a7c..a2bf0e8c 100644
--- a/www/templates/devoptions.html
+++ b/www/templates/devoptions.html
@@ -78,6 +78,13 @@
<input type="tel" placeholder="" ng-model="loginData.singleImageQuality">
</label>
</div>
+
+ <div class="item item-input-inset">
+ {{'kMonitorSingleImageScale' | translate}}(%)&nbsp;
+ <label class="item-input-wrapper">
+ <input type="tel" placeholder="" ng-model="loginData.monSingleImageQuality">
+ </label>
+ </div>
<!--<div class="item item-input-inset">
{{'kResumeDelay' | translate}}(ms)&nbsp;
diff --git a/www/templates/login.html b/www/templates/login.html
index 15409e76..e2a65168 100644
--- a/www/templates/login.html
+++ b/www/templates/login.html
@@ -22,6 +22,14 @@
</label>
</div>
+ <label>
+
+ <ion-toggle ng-model="loginData.enableLowBandwidth"
+
+ toggle-class="toggle-calm">{{'kLowBandwidth'|translate}}
+ </ion-toggle>
+ </label>
+
<div class="list list-inset">
<span style="color:rgb(100,100,100)">
<i class="ion-android-home" style="font-size:150%"></i>
diff --git a/www/templates/monitors-modal.html b/www/templates/monitors-modal.html
index de19c23c..8833a47c 100644
--- a/www/templates/monitors-modal.html
+++ b/www/templates/monitors-modal.html
@@ -16,7 +16,7 @@
<div ng-if="!animationInProgress && !isBackground() && connKey">
<!--<span style="color:white">{{currentStreamMode}}</span>-->
- <img id="singlemonitor" style="width:100vw; height:100vh;" image-spinner-loader="lines" image-spinner-src="{{monitor.Monitor.streamingURL}}/nph-zms?mode={{currentStreamMode}}&monitor={{monitorId}}{{$root.authSession}}&rand={{$root.modalRand}}&connkey={{connKey}}" ng-class="{'object-fit_cover':imageFit==false, 'object-fit_contain':imageFit==true}" on-swipe-left="onSwipe(monitorId,1)" on-swipe-right="onSwipe(monitorId,-1)" on-double-tap="closeModal();" />
+ <img id="singlemonitor" style="width:100vw; height:100vh;" image-spinner-loader="lines" image-spinner-src="{{monitor.Monitor.streamingURL}}/nph-zms?mode={{currentStreamMode}}&monitor={{monitorId}}&scale={{quality}}{{$root.authSession}}&rand={{$root.modalRand}}&connkey={{connKey}}" ng-class="{'object-fit_cover':imageFit==false, 'object-fit_contain':imageFit==true}" on-swipe-left="onSwipe(monitorId,1)" on-swipe-right="onSwipe(monitorId,-1)" on-double-tap="closeModal();" />
@@ -124,8 +124,8 @@
</li>
- <!--
- <li>
+
+ <!--<li>
<a href="" ng-click="cast(monitorId, monitor)"> <i class="icon ion-android-funnel"></i></a>
</li>-->