summaryrefslogtreecommitdiff
path: root/www/templates/monitors-modal.html
diff options
context:
space:
mode:
authorARC <arjunrc@gmail.com>2015-04-29 13:32:58 -0400
committerARC <arjunrc@gmail.com>2015-04-29 13:32:58 -0400
commita3f1e385fc0f5a99d6d19aa6fc2ebfef65533070 (patch)
tree794e48eb5d92e5c654942a971a967d446e1b2348 /www/templates/monitors-modal.html
parent1a57eaad4dd25afc1f59c83968bcd408300a1270 (diff)
added support to refresh image feeds
Diffstat (limited to 'www/templates/monitors-modal.html')
-rw-r--r--www/templates/monitors-modal.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/www/templates/monitors-modal.html b/www/templates/monitors-modal.html
index aa9f416c..beab5282 100644
--- a/www/templates/monitors-modal.html
+++ b/www/templates/monitors-modal.html
@@ -16,7 +16,7 @@
<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%" />
+ <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');"/>
</ion-scroll>
</div>
@@ -28,6 +28,7 @@
</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-close" label="close" ng-click="closeModal()"></button>
</nav>