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"> </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 47 class="btn-delete" 48 ng-class="{'disabled': multiSelected}" 49 ng-click="event.confirm= ! event.confirm" 50 ng-disabled="multiSelected"> 51 <img 52 class="event__icon" 53 src="assets/images/icon-trashcan.svg" 54 alt=""/>Delete 55 </button> 56 <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> 57 </div> 58 <div class="event__related" ng-show="event.related_items.length"> 59 <p class="inline event__related-label">Related items:</p> 60 <p class="event__related-item" ng-repeat="item in event.related_items">{{item}}</p> 61 </div> 62 </div> 63 </div> 64 </div> 65</div> 66