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 event</strong>?</p>
7      </div>
8      <div class="inline__confirm-buttons">
9        <button class="btn-primary" ng-click="accept(event)">Yes</button>
10        <button class="btn-primary" ng-click="event.confirm=false;">No</button>
11      </div>
12    </div>
13    <div class="row">
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="event__timestamp">{{ event.Timestamp | localeDate : (tmz =='UTC') }}</p>
28        <div>
29          <p class="inline event__description">{{getTitle(event)}}</p>
30        </div>
31      </div>
32      <div class="column small-1 large-1">
33        <button class="accord-trigger" ng-class="{'active': event.meta}"
34          ng-click="event.meta = ! event.meta" aria-label="{{event.meta ? 'collapse' : 'expand'}}"></button>
35      </div>
36    </div>
37    <div class="row event__metadata-row" ng-class="{'active': event.meta}">
38      <div class="column small-1 large-1 event-log__col-check">&nbsp;</div>
39      <div class="column small-11 large-11 end">
40        <div class="event__metadata">{{getAdditionalData(event)}}
41        </div>
42        <div>
43          <div class="event__actions">
44            <button class="btn-meta-copy" clipboard text="copyText(event)" on-copied="copySuccess(event)" on-error="copyfailed(err)">
45              <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>
46            </button>
47            <button
48              class="btn-delete"
49              ng-class="{'disabled': multiSelected}"
50              ng-click="event.confirm= ! event.confirm"
51              ng-disabled="multiSelected">
52                <img
53                  class="event__icon"
54                  src="../../assets/images/icon-trashcan.svg"
55                  alt=""/>Delete
56            </button>
57            <button class="btn-resolve" ng-class="{'disabled': (event.Resolved == 1 || multiSelected)}" ng-click="resolveEvent(event)" ng-disabled="event.Resolved == 1 || multiSelected"><img class="event__icon" src="../../assets/images/icon-check.svg" alt=""/>Mark as resolved</button>
58          </div>
59          <div class="event__related" ng-show="event.related_items.length">
60            <p class="inline event__related-label">Related items:</p>
61            <p class="event__related-item" ng-repeat="item in event.related_items">{{item}}</p>
62          </div>
63        </div>
64      </div>
65    </div>
66  </div>
67</div>
68