diff options
| author | Arjun Roychowdhury <pliablepixels@gmail.com> | 2015-11-05 12:07:18 -0500 |
|---|---|---|
| committer | Arjun Roychowdhury <pliablepixels@gmail.com> | 2015-11-05 12:07:18 -0500 |
| commit | d14b5640b5df95397f12f7b0d09e20631102aa63 (patch) | |
| tree | b8a3f5b70febbb21e1f5dbc2eafc87c88a652b67 | |
| parent | 316924fed856d6d3be675adc3275d13b78e9330c (diff) | |
#44 - do not show playback options for events that are in progress
| -rw-r--r-- | www/templates/events.html | 27 |
1 files changed, 17 insertions, 10 deletions
diff --git a/www/templates/events.html b/www/templates/events.html index af2bc915..8748bfef 100644 --- a/www/templates/events.html +++ b/www/templates/events.html @@ -103,17 +103,24 @@ <!-- <br/> Default video:{{event.Event.relativePath}}{{event.Event.DefaultVideo}}--> </div> </div> - <span style="float:right"> + + <span style="float:right"> + <div ng-if="event.Event.Frames"> + <button class="button button-small icon icon-left ion-ios-eye" + ng-click="toggleGroup(event,$index,event.Event.Frames)" > Quick Scrub + </button> - <button class="button button-small icon icon-left ion-ios-eye" - ng-click="toggleGroup(event,$index,event.Event.Frames)" > Quick Scrub - </button> - - <button class="button button-small icon icon-left ion-ios-eye" - ng-click="closeIfOpen(event);openModal(event)" > View Footage - </button> - </span> + <button class="button button-small icon icon-left ion-ios-eye" + ng-click="closeIfOpen(event);openModal(event)" > View Footage + </button> + </div> + <div ng-if="!event.Event.Frames || event.Event.Frames == undefined"> + <p>recording in progress</p> + </div> + </span> + + @@ -160,7 +167,7 @@ <div class="videogular-container"> - <videogular vg-theme="event.Event.video.config.theme" vg-plays-inline="'true'" vg-auto-play="'true'" vg-responsive="true" > + <videogular vg-theme="event.Event.video.config.theme" vg-plays-inline="'true'" vg-auto-play="'true'" vg-responsive="true"> <vg-controls> <vg-play-pause-button></vg-play-pause-button> <vg-scrub-bar> |
