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.html69
1 files changed, 36 insertions, 33 deletions
diff --git a/www/templates/events-modal.html b/www/templates/events-modal.html
index 8750895d..610ef068 100644
--- a/www/templates/events-modal.html
+++ b/www/templates/events-modal.html
@@ -1,50 +1,53 @@
<ion-modal-view cache="false">
<ion-content style="background-color:#444444">
- <!-- so I can access my common modal controller
- which is shared between events and monitors for modal views -->
- <div> <!-- ng-controller="ModalCtrl">-->
- <ion-scroll has-bouncing=false min-zoom=1 zooming="true"
- direction="xy" style="width: 100%; ">
- <div style="height: 100vh;">
+ <ion-scroll has-bouncing=false min-zoom=1 zooming="true"
+ direction="xy" style="width: 100%; ">
+ <div style="height: 100vh;">
<img imageonload="finishedLoadingImage()"
- ng-src="{{loginData.streamingurl}}/cgi-bin/zms?source=event&mode=jpeg&event={{eventId}}&frame=1&maxfps={{loginData.maxFPS}}&replay=single&user={{loginData.username}}&pass={{loginData.password}}&connkey={{connKey}}&rand={{rand}}" ng-class="{'zm-image-fit':imageStyle==true, 'zm-image-crop':imageStyle==false}" />
- </div>
- </ion-scroll>
- </div>
-
+ ng-src="{{loginData.streamingurl}}/cgi-bin/zms?source=event&mode=jpeg&event={{eventId}}&frame=1&maxfps={{loginData.maxFPS}}&replay=single&user={{loginData.username}}&pass={{loginData.password}}&connkey={{connKey}}&rand={{rand}}"
+ ng-class="{'zm-image-fit':imageStyle==true, 'zm-image-crop':imageStyle==false}" />
+ </div>
+ </ion-scroll>
</ion-content>
</ion-modal-view>
-<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="exit event view" ng-click="closeModal()"></button>
- <a mfb-button icon="ion-reply" label="previous event" ng-click="controlEventStream(eventCommands.previous)"></a>
- <a mfb-button icon="ion-forward" label="next event" ng-click="controlEventStream(eventCommands.next)"></a>
+<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="exit event view" ng-click="closeModal()">
+ </button>
+ <a mfb-button icon="ion-reply" label="previous event"
+ ng-click="controlEventStream(eventCommands.previous)"></a>
+ <a mfb-button icon="ion-forward" label="next event"
+ ng-click="controlEventStream(eventCommands.next)"></a>
</nav>
-<nav mfb-menu position="bl" effect="zoomin" label="collapse" active-icon="ion-chevron-down" resting-icon="ion-chevron-up" toggling-method="click">
+<nav mfb-menu position="bl" effect="zoomin" label="collapse"
+ active-icon="ion-chevron-down" resting-icon="ion-chevron-up" toggling-method="click">
<a mfb-button icon="ion-refresh" label="refresh" ng-click="reloadView()"></a>
- <a mfb-button icon="ion-pause" label="pause" ng-click="controlEventStream(eventCommands.pause)"></a>
- <a mfb-button icon="ion-play" label="play" ng-click="controlEventStream(eventCommands.play)"></a>
+ <a mfb-button icon="ion-pause" label="pause"
+ ng-click="controlEventStream(eventCommands.pause)"></a>
+ <a mfb-button icon="ion-play" label="play"
+ ng-click="controlEventStream(eventCommands.play)"></a>
</nav>
-<nav mfb-menu position="tr" effect="zoomin" label="collapse" active-icon="ion-chevron-up" resting-icon="ion-chevron-down" toggling-method="click">
- <a mfb-button icon="ion-ios-fastforward" label="fast forward" ng-click="controlEventStream(eventCommands.fastFwd)"></a>
- <a mfb-button icon="ion-ios-fastforward-outline" label="slow forward" ng-click="controlEventStream(eventCommands.slowFwd)"></a>
- <a mfb-button icon="ion-ios-rewind" label="fast rewind" ng-click="controlEventStream(eventCommands.fastRev)"></a>
- <a mfb-button icon="ion-ios-rewind-outline" label="slow rewind" ng-click="controlEventStream(eventCommands.slowRev)"></a>
-
+<nav mfb-menu position="tr" effect="zoomin" label="collapse"
+ active-icon="ion-chevron-up" resting-icon="ion-chevron-down"
+ toggling-method="click">
+ <a mfb-button icon="ion-ios-fastforward" label="fast forward"
+ ng-click="controlEventStream(eventCommands.fastFwd)"></a>
+ <a mfb-button icon="ion-ios-fastforward-outline" label="slow forward"
+ ng-click="controlEventStream(eventCommands.slowFwd)"></a>
+ <a mfb-button icon="ion-ios-rewind" label="fast rewind"
+ ng-click="controlEventStream(eventCommands.fastRev)"></a>
+ <a mfb-button icon="ion-ios-rewind-outline" label="slow rewind"
+ ng-click="controlEventStream(eventCommands.slowRev)"></a>
</nav>
-<progress max="{{totalEventTime}}" value="{{currentEventTime}}" class="eventprogress"></progress>
-
+<progress max="{{totalEventTime}}" value="{{currentEventTime}}"
+ class="eventprogress"></progress>
-<!--
-<span class="eventbuttons">
-<a class="button icon button-balanced ion-gear-a"></a>
-<a class="button button-balanced icon ion-gear-a"></a>
- <a class="button icon button-balanced ion-gear-a"></a>
-<a class="button button-balanced icon ion-gear-a"></a>
-</span>-->