summaryrefslogtreecommitdiff
path: root/www/templates/events-modal.html
diff options
context:
space:
mode:
Diffstat (limited to 'www/templates/events-modal.html')
-rw-r--r--www/templates/events-modal.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/www/templates/events-modal.html b/www/templates/events-modal.html
new file mode 100644
index 00000000..69bcd021
--- /dev/null
+++ b/www/templates/events-modal.html
@@ -0,0 +1,12 @@
+<ion-modal-view>
+ <ion-header-bar>
+ <h1 class="title">{{eventName}} (Duration:{{eventDur}}s)
+ <span style="float:right">
+ <button class="button button-clear icon icon-left ion-close" ng-click="closeModal()" >Close</button>
+ </span>
+ </h1>
+ </ion-header-bar>
+ <ion-content>
+ <img ng-src="{{loginData.url}}cgi-bin/nph-zms?source=event&mode=jpeg&event={{eventId}}&frame=1&scale=100&rate=100&maxfps=5&replay=single&user={{loginData.username}}&pass={{loginData.password}}" width="100%" />
+ </ion-content>
+</ion-modal-view>