diff options
| author | ARC <arjunrc@gmail.com> | 2015-04-28 12:09:32 -0400 |
|---|---|---|
| committer | ARC <arjunrc@gmail.com> | 2015-04-28 12:09:32 -0400 |
| commit | ab7867fb10b939744feeb2e05b168f24dfae5219 (patch) | |
| tree | 2a14929e5fadc91cc060185521a9e112630f197a | |
| parent | 6fa29c170159e7bfbcaf7681cdfb52ba7f98cac0 (diff) | |
initial
| -rw-r--r-- | www/templates/monitors-modal.html | 31 |
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&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> |
