1<div class="row column event-log__single-event"
2      ng-class="{'active': event.meta, 'selected': event.selected}">
3     <div class="row">
4         <div class="inline__confirm" ng-class="{active: event.confirm}">
5             <div class="inline__confirm-message">
6                 <p class="h3"><i></i>Are you sure you want to <strong class="ng-binding">delete this
7                     event</strong>?</p>
8             </div>
9             <div class="inline__confirm-buttons">
10                 <button class="btn-primary" ng-click="accept(event)">Yes</button>
11                 <button class="btn-primary" ng-click="event.confirm=false;">No</button>
12             </div>
13         </div>
14         <div class="column small-1 large-2 event-log__col-check">
15             <label class="control-check">
16                 <input type="checkbox" name="events__check" ng-click="event.selected= ! event.selected"
17                        ng-checked="event.selected"/>
18                 <span class="control__indicator"></span>
19             </label>
20         </div>
21         <div class="column small-9 large-10 event-log__event-info"
22              ng-click="event.meta = ! event.meta">
23             <p class="inline event__id">#{{event.Id}}</p>
24             <p class="inline event__priority event-resolved" ng-hide="event.Resolved == 0">Resolved</p>
25             <p class="inline event__priority" ng-class="{'low-priority': event.priority == 'Low', 'medium-priority': event.priority == 'Medium', 'high-priority': event.priority == 'High'}">{{event.priority}}</p>
26             <p class="inline event__severity" ng-class="{'low-priority': event.priority == 'Low', 'medium-priority': event.priority == 'Medium', 'high-priority': event.priority == 'High'}">{{event.severity_code}}</p>
27             <p class="inline event__timestamp">{{event.Timestamp| date:'MM/dd/yyyy  HH:mm:ss '+tmz: tmz}}</p></div>
28             <div>
29                 <p class="inline event__description">{{event.Severity}}</p>
30             </div>
31         <div class="column small-1 large-1">
32             <button class="accord-trigger" ng-class="{'active': event.meta}"
33                     ng-click="event.meta = ! event.meta"></button>
34         </div>
35        </div>
36     <div class="row event__metadata-row" ng-class="{'active': event.meta}">
37         <div class="column small-1 large-1 event-log__col-check">&nbsp;</div>
38         <div class="column small-11 large-11 end">
39             <div class="event__metadata">{{event.additional_data}}
40             </div>
41             <div>
42                 <div class="event__actions">
43                     <button class="btn-meta-copy" clipboard text="event.additional_data" on-copied="copySuccess(event)" on-error="copyfailed(err)">
44                        <img class="event__icon" src="assets/images/icon-copy.svg" alt=""/><span ng-if="!event.copied">Copy</span><span ng-if="event.copied">Copied</span>
45                     </button>
46                     <button class="btn-delete" ng-click="event.confirm= ! event.confirm"><img
47                             class="event__icon"
48                             src="assets/images/icon-trashcan.svg"
49                             alt=""/>Delete
50                     </button>
51                     <button class="btn-resolve" ng-class="{'disabled': (event.Resolved == 1)}" ng-click="resolveEvent(event)" ng-disabled="event.Resolved == 1"><img class="event__icon" src="assets/images/icon-checklist.svg" alt=""/>Resolved</button>
52                 </div>
53                 <div class="event__related" ng-show="event.related_items.length">
54                     <p class="inline event__related-label">Related items:</p>
55                     <p class="event__related-item" ng-repeat="item in event.related_items">{{item}}</p>
56                 </div>
57             </div>
58         </div>
59     </div>
60</div>
61