summaryrefslogtreecommitdiff
path: root/www/templates/monitors-modal.html
diff options
context:
space:
mode:
authorARC <arjunrc@gmail.com>2015-04-28 12:33:43 -0400
committerARC <arjunrc@gmail.com>2015-04-28 12:33:43 -0400
commit1ae553e8e300eb3ce602626d3f3b761c9c6e317a (patch)
tree50cf98f7ba006863346de9fe7f9b05150a5ab330 /www/templates/monitors-modal.html
parentab7867fb10b939744feeb2e05b168f24dfae5219 (diff)
Added monitor live view
Diffstat (limited to 'www/templates/monitors-modal.html')
-rw-r--r--www/templates/monitors-modal.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/www/templates/monitors-modal.html b/www/templates/monitors-modal.html
index 15d7120f..0ab63679 100644
--- a/www/templates/monitors-modal.html
+++ b/www/templates/monitors-modal.html
@@ -13,8 +13,10 @@
<ion-content>
<!-- replay can also be gapless -->
+ {{LoginData.url}}/cgi-bin/nph-zms?mode=jpeg&amp;monitor={{monitorId}}&amp;scale=100&amp;maxfps=3&amp;buffer=1000&amp;user={{LoginData.username}}&amp;pass={{LoginData.password}}&amp;rand={{rand}}
+
<div ng-if="!isSimulated()">
- <img ng-src="{{LoginData.url}}/cgi-bin/nph-zms?mode=jpeg&amp;monitor={{monitor.Monitor.Id}}&scale=100&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}}&scale=100&maxfps=3&buffer=1000&user={{LoginData.username}}&pass={{LoginData.password}}&rand={{rand}}" width="100%" />
</div>
<div ng-if="isSimulated()">