diff options
Diffstat (limited to 'www/templates/timeline-modal.html')
| -rw-r--r-- | www/templates/timeline-modal.html | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/www/templates/timeline-modal.html b/www/templates/timeline-modal.html index 2df0ea89..0b06a269 100644 --- a/www/templates/timeline-modal.html +++ b/www/templates/timeline-modal.html @@ -4,22 +4,21 @@ <ion-modal-view cache-view="false"> <ion-content ng-cloak on-double-tap="closeModal()"> <div ng-controller="TimelineModalCtrl"> - <center><h5> Showing frames for Event: {{eid}}</h5></center> - + <br/> + <center> <h5>Showing for Event: {{eid}} (double-tap to exit)</h5></center> + {{errorDetails}} <div id="timeline-alarm-vis" ></div> <ion-spinner icon="spiral" style="position:absolute; top:50%;left:50%" ng-if="!dataReady"></ion-spinner> <div style="height:190px;"> - <ion-scroll direction="x" > - - + <ion-scroll direction="x" class="wide-as-needed"> <span ng-repeat="alarm in alarm_images"> <figure style="display:inline-block"> - <figcaption><small>frame:{{alarm.fid}} score:{{alarm.score}}</small></figcaption> - <img ng-src="{{playbackURL}}/index.php?view=image&path={{alarm.relativePath}}{{alarm.fname}}&height=380" style="width: auto; height: auto;max-width: 100%;max-height: 170px" on-tap="showImage(playbackURL,alarm.relativePath,alarm.fname, alarm.fid)"/> + <figcaption><small>f:{{alarm.fid}} scr:{{alarm.score}} @ {{alarm.time}}</small></figcaption> + <img image-spinner-src="{{playbackURL}}/index.php?view=image&path={{alarm.relativePath}}{{alarm.fname}}&height=380" style="width: auto; height: auto;max-width: 100%;max-height: 170px;" on-tap="showImage(playbackURL,alarm.relativePath,alarm.fname, alarm.fid)"/> </figure> |
