summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/templates/monitors-modal.html31
1 files changed, 31 insertions, 0 deletions
diff --git a/www/templates/monitors-modal.html b/www/templates/monitors-modal.html
new file mode 100644
index 00000000..15d7120f
--- /dev/null
+++ b/www/templates/monitors-modal.html
@@ -0,0 +1,31 @@
+<ion-modal-view>
+
+ <!-- <ion-header-bar>
+ <h1 class="title">
+ <span style="float:left">
+ <button class="button button-clear icon icon-left ion-close" ng-click="closeModal()" >Close</button>
+ </span>
+ <span style="float:right">
+ {{eventName}} (Duration:{{eventDur}}s)
+ </span>
+ </h1>
+ </ion-header-bar> -->
+ <ion-content>
+
+ <!-- replay can also be gapless -->
+ <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%" />
+ </div>
+
+ <div ng-if="isSimulated()">
+ <img ng-src="img/demo.gif" width="100%">
+ </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-close" label="close" ng-click="closeModal()"></button>
+ </nav>
+
+
+
+</ion-modal-view>