Iftekharul Islam | 8b4828a | 2017-04-19 14:37:55 -0500 | [diff] [blame] | 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()">Yes</button> |
| 11 | <button class="btn-primary" ng-click="event.confirm=false;">No</button> |
| 12 | </div> |
| 13 | </div> |
Michael Davis | 522a552 | 2017-06-09 13:51:05 -0500 | [diff] [blame] | 14 | <div class="column small-1 large-1 event-log__col-check"> |
Iftekharul Islam | 8b4828a | 2017-04-19 14:37:55 -0500 | [diff] [blame] | 15 | <label class="control-check"> |
| 16 | <input type="checkbox" name="events__check" ng-click="event.selected= ! event.selected" |
| 17 | ng-checked="event.selected"/> |
Iftekharul Islam | 4390b02 | 2017-06-05 09:44:50 -0500 | [diff] [blame] | 18 | <div class="control__indicator"></div> |
Iftekharul Islam | 8b4828a | 2017-04-19 14:37:55 -0500 | [diff] [blame] | 19 | </label> |
| 20 | </div> |
Michael Davis | 522a552 | 2017-06-09 13:51:05 -0500 | [diff] [blame] | 21 | <div class="column small-9 large-10 event-log__event-info" |
Iftekharul Islam | 8b4828a | 2017-04-19 14:37:55 -0500 | [diff] [blame] | 22 | ng-click="event.meta = ! event.meta"> |
Michael Davis | 522a552 | 2017-06-09 13:51:05 -0500 | [diff] [blame] | 23 | <p class="inline event__id">#{{event.Id}}</p> |
Iftekharul Islam | 8b4828a | 2017-04-19 14:37:55 -0500 | [diff] [blame] | 24 | <p class="inline event__priority event-resolved" ng-hide="event.Resolved == 0">Resolved</p> |
| 25 | <p class="inline event__priority med-priority" ng-class="{'low-priority': event.priority == 'Low', 'medium-priority': event.priority == 'Medium', 'high-priority': event.priority == 'High'}" ng-hide="event.Resolved == 1">{{event.priority}}</p> |
| 26 | <p class="inline event__severity">{{event.severity_code}}</p> |
Michael Davis | 522a552 | 2017-06-09 13:51:05 -0500 | [diff] [blame] | 27 | <p class="inline event__timestamp">{{event.Timestamp| date:'MM/dd/yyyy HH:mm:ss '+tmz: tmz}}</p> |
Iftekharul Islam | 8b4828a | 2017-04-19 14:37:55 -0500 | [diff] [blame] | 28 | <div> |
Michael Davis | 522a552 | 2017-06-09 13:51:05 -0500 | [diff] [blame] | 29 | <p class="inline event__description">{{event.Severity}}</p> |
| 30 | </div> |
Iftekharul Islam | 8b4828a | 2017-04-19 14:37:55 -0500 | [diff] [blame] | 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"></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"> </div> |
| 39 | <div class="column small-11 large-11 end"> |
| 40 | <div class="event__metadata">{{event.additional_data}} |
| 41 | </div> |
| 42 | <div> |
| 43 | <div class="event__actions"> |
| 44 | <button class="btn-meta-copy" clipboard text="event.additional_data" 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 class="btn-delete" ng-click="event.confirm= ! event.confirm"><img |
| 48 | class="event__icon" |
| 49 | src="assets/images/icon-trashcan.svg" |
| 50 | alt=""/>Delete |
| 51 | </button> |
| 52 | <button class="btn-resolve"><img class="event__icon" src="assets/images/icon-checklist.svg" alt=""/>Resolved</button> |
| 53 | </div> |
| 54 | <div class="event__related" ng-show="event.related_items.length"> |
| 55 | <p class="inline event__related-label">Related items:</p> |
| 56 | <p class="event__related-item" ng-repeat="item in event.related_items">{{item}}</p> |
| 57 | </div> |
| 58 | </div> |
| 59 | </div> |
| 60 | </div> |
| 61 | </div> |