Add a link to replay each event in the Events list

This commit is contained in:
Kyle Johnson 2014-12-29 12:24:27 -05:00
parent 96551c98cf
commit da495c65ac
1 changed files with 10 additions and 8 deletions

View File

@ -21,14 +21,16 @@
<div class="col-md-10" ng-controller="EventsController">
<div class="clearfix">
<div class="event" dir-paginate="event in events | itemsPerPage: eventsPerPage" total-items="totalEvents">
<img ng-src="/events/{{ event.thumbData.Path }}" class="img-thumbnail" alt="..." />
<div class="over">
<div class="info">
<span>Monitor {{event.Event.MonitorId}}</span>
<span>{{ event.Event.StartTime | DateDiff:event.Event.EndTime:'pretty' }}</span>
<span>Event {{event.Event.Id}}</span>
</div> <!-- End .info -->
</div> <!-- End .over -->
<a href="/?view=event&amp;eid={{event.Event.Id}}">
<img ng-src="/events/{{ event.thumbData.Path }}" class="img-thumbnail" alt="..." />
<div class="over">
<div class="info">
<span>Monitor {{event.Event.MonitorId}}</span>
<span>{{ event.Event.StartTime | DateDiff:event.Event.EndTime:'pretty' }}</span>
<span>Event {{event.Event.Id}}</span>
</div> <!-- End .info -->
</div> <!-- End .over -->
</a>
</div> <!-- End .event -->
</div> <!-- End .clearfix -->
<dir-pagination-controls on-page-change="pageChanged(newPageNumber)"></dir-pagination-controls>