summaryrefslogtreecommitdiff
path: root/www/templates
diff options
context:
space:
mode:
authorARC <arjunrc@gmail.com>2015-04-29 15:39:38 -0400
committerARC <arjunrc@gmail.com>2015-04-29 15:39:38 -0400
commite490bd7804952572362e56a163f46ca76fd07366 (patch)
treeba7b73421232316bbe3c96864aab3ee7547cb5a9 /www/templates
parenta3f1e385fc0f5a99d6d19aa6fc2ebfef65533070 (diff)
changed nph-zms to zms - seems to be more predictable
Diffstat (limited to 'www/templates')
-rw-r--r--www/templates/events-modal.html6
-rw-r--r--www/templates/monitors-modal.html8
2 files changed, 8 insertions, 6 deletions
diff --git a/www/templates/events-modal.html b/www/templates/events-modal.html
index 69e7c263..4ff8bc8c 100644
--- a/www/templates/events-modal.html
+++ b/www/templates/events-modal.html
@@ -15,13 +15,15 @@
<!-- replay can also be gapless -->
<div ng-if="!isSimulated()">
<ion-scroll has-bouncing=false min-zoom=1 zooming="true" direction="xy" style="width: 100%; ">
- <img ng-src="{{loginData.url}}/cgi-bin/nph-zms?source=event&mode=jpeg&event={{eventId}}&frame=1&rate=100&maxfps=5&replay=single&user={{loginData.username}}&pass={{loginData.password}}&connkey={{connKey}}&rand={{rand}}" width="100%" />
+ <img ng-src="{{loginData.url}}/cgi-bin/zms?source=event&mode=jpeg&event={{eventId}}&frame=1&maxfps=5&replay=single&user={{loginData.username}}&pass={{loginData.password}}&connkey={{connKey}}&rand={{rand}}" width="100%" />
</ion-scroll>
+
+
</div>
<div ng-if="isSimulated()">
<ion-scroll has-bouncing=false min-zoom=1 zooming="true" direction="xy" style="width: 100%; ">
- <img ng-src="img/demo.gif" width="100%">
+ <img ng-src="img/demo.gif" width="100%">
</ion-scroll>
</div>
diff --git a/www/templates/monitors-modal.html b/www/templates/monitors-modal.html
index beab5282..5d559605 100644
--- a/www/templates/monitors-modal.html
+++ b/www/templates/monitors-modal.html
@@ -16,22 +16,22 @@
<div ng-if="!isSimulated()">
<ion-scroll has-bouncing=false min-zoom=1 zooming="true" direction="xy" style="width: 100%; ">
- <img ng-src="{{LoginData.url}}/cgi-bin/nph-zms?mode=jpeg&amp;monitor={{monitorId}}&maxfps=3&buffer=1000&user={{LoginData.username}}&pass={{LoginData.password}}&rand={{rand}}" width="100%" style="background-image:url('http://www.pbase.com/arjunrc/image/159892445/medium.jpg');"/>
+ <img ng-src="{{LoginData.url}}/cgi-bin/zms?mode=jpeg&amp;monitor={{monitorId}}&maxfps=3&buffer=1000&user={{LoginData.username}}&pass={{LoginData.password}}&rand={{rand}}" width="100%" style="background-image:url('http://www.pbase.com/arjunrc/image/159892445/medium.jpg');" />
</ion-scroll>
</div>
<div ng-if="isSimulated()">
<ion-scroll has-bouncing=false min-zoom=1 zooming="true" direction="xy" style="width: 100%; ">
- <img ng-src="img/demo.gif" width="100%">
+ <img ng-src="img/demo.gif" width="100%">
</ion-scroll>
</div>
</ion-content>
<nav mfb-menu position="br" effect="zoomin" label="collapse" active-icon="ion-chevron-down" resting-icon="ion-chevron-up" toggling-method="click">
- <button mfb-button icon="ion-refresh" label="refresh" ng-click="reloadView()"></button>
+ <button mfb-button icon="ion-refresh" label="refresh" ng-click="reloadView()"></button>
<button mfb-button icon="ion-close" label="close" ng-click="closeModal()"></button>
</nav>
-
+
</ion-modal-view>