blob: aa9f416c2b6a0cc91142fa0624655f2d8f588949 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
<ion-modal-view cache="false">
<!-- <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()">
<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&monitor={{monitorId}}&maxfps=3&buffer=1000&user={{LoginData.username}}&pass={{LoginData.password}}&rand={{rand}}" width="100%" />
</ion-scroll>
</div>
<div ng-if="isSimulated()">
<ion-scroll has-bouncing=false min-zoom=1 zooming="true" direction="xy" style="width: 100%; ">
<img ng-src="img/demo.gif" width="100%">
</ion-scroll>
</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>
|