summaryrefslogtreecommitdiff
path: root/www/templates
diff options
context:
space:
mode:
Diffstat (limited to 'www/templates')
-rw-r--r--www/templates/devoptions.html9
-rw-r--r--www/templates/login.html3
-rw-r--r--www/templates/monitors-modal.html3
-rw-r--r--www/templates/montage.html1
4 files changed, 15 insertions, 1 deletions
diff --git a/www/templates/devoptions.html b/www/templates/devoptions.html
index 95c6d4e3..4930c3e8 100644
--- a/www/templates/devoptions.html
+++ b/www/templates/devoptions.html
@@ -30,6 +30,15 @@
</div>
+ <div class="item item-input-inset">
+
+ Montage Streaming Quality(%)&nbsp;
+ <label class="item-input-wrapper">
+ <input type="tel" placeholder="max is 30" ng-model="loginData.montageQuality">
+ </label>
+
+ </div>
+
<button class="button button-block button-balanced icon ion-locked" ng-click="saveDevOptions()"> Save</button>
diff --git a/www/templates/login.html b/www/templates/login.html
index 3c074c99..1ad11b0c 100644
--- a/www/templates/login.html
+++ b/www/templates/login.html
@@ -28,5 +28,8 @@
</label>
</div>
+
+ <button class="button button-block button-balanced icon ion-locked" ng-click="login()"> Save</button>
+
</ion-content>
</ion-view>
diff --git a/www/templates/monitors-modal.html b/www/templates/monitors-modal.html
index 23562a7a..4bb36c1a 100644
--- a/www/templates/monitors-modal.html
+++ b/www/templates/monitors-modal.html
@@ -14,10 +14,11 @@
<!-- replay can also be gapless imageonload="finishedLoadingImage()"-->
+
<div ng-if="!isSimulated()">
<ion-scroll has-bouncing=false min-zoom=1 zooming="true" direction="xy" style="width: 100%; ">
- <img imageonload="finishedLoadingImage()" ng-src="{{LoginData.streamingurl}}/cgi-bin/zms?mode=jpeg&amp;monitor={{monitorId}}&maxfps={{LoginData.maxfps}}&buffer=1000&user={{LoginData.username}}&pass={{LoginData.password}}&rand={{rand}}" width="100%" />
+ <img imageonload="finishedLoadingImage()" ng-src="{{LoginData.streamingurl}}/cgi-bin/zms?mode=jpeg&amp;monitor={{monitorId}}&maxfps={{LoginData.maxFPS}}&buffer=1000&user={{LoginData.username}}&pass={{LoginData.password}}&rand={{rand}}" width="100%" />
<!-- <img imageonload="finishedLoadingImage()" ng-src="{{LoginData.streamingurl}}/cgi-bin/zms?mode=jpeg&amp;monitor={{monitorId}}&maxfps=3&buffer=1000&rand={{rand}}" width="100%" />-->
</ion-scroll>
diff --git a/www/templates/montage.html b/www/templates/montage.html
index d69fdfa7..63f9b144 100644
--- a/www/templates/montage.html
+++ b/www/templates/montage.html
@@ -32,6 +32,7 @@
and auth token mode -->
<div ng-if="!isSimulated()">
+ <!-- FIXME: Scale is hard coded to 50 for montage to save resources. Better way? -->
<img ng-src="{{LoginData.streamingurl}}/cgi-bin/zms?mode=single&monitor={{monitor.Monitor.Id}}&maxfps={{LoginData.maxFPS}}&scale=50&user={{LoginData.username}}&pass={{LoginData.password}}&rand={{randomval}}" width="{{((devWidth-30)/(7-slider.monsize))}}px;" ng-click="openModal(monitor.Monitor.Id, monitor.Monitor.Controllable)" />
</div>