1<loader loading="loading"></loader> 2<div id="event-log"> 3 <div class="row column"> 4 <h1>Event log</h1> 5 </div> 6 <section class="row column"> 7 <div class="page-header"> 8 <h2 class="inline h4">All events from the BMC</h2> 9 <div class="event-log__timezone inline float-right"> 10 <button class="dropdown__button" ng-click="timezone = timezone == true ? false : true;" toggle-flag="timezone" 11 >User timezone: <span ng-show="tmz== 'EDT'">EDT (UTC-4)</span><span ng-show="tmz=='UTC'">UTC - 0</span> 12 </button> 13 <ul class="dropdown__list inline" ng-show="timezone"> 14 <li> 15 <button ng-click="tmz = 'EDT'; timezone=false;">User timezone: EDT (UTC-4)</button> 16 </li> 17 <li> 18 <button ng-click="tmz = 'UTC'; timezone=false;">UTC Timezone : UTC - 0</button> 19 </li> 20 </ul> 21 </div> 22 </div> 23 </section> 24 <!-- Filters --> 25 <section class="row column"> 26 <!-- search --> 27 <log-search-control></log-search-control> 28 <!-- filters --> 29 <log-filter></log-filter> 30 </section> <!-- end filter --> 31 32 <section id="event-log__events" class="row column"> 33 <div id="event__actions-bar" class="row header__actions-bar no-margin"> 34 <div class="column small-1 large-1 event-log__col-check"> 35 <label class="control-check"> 36 <input type="checkbox" name="events__check-all" ng-model="all" ng-checked="(logs|filter:{selected: true}).length == logs.length"/> 37 <span class="control__indicator"></span> 38 </label> 39 </div> 40 <div class="column small-11 end col-logged-events"> 41 <!-- top bar confirmation - ADD ACTIVE CLASS TO DISPLAY--> 42 <div class="inline__confirm event__confirm" ng-class="{active: confirm}"> 43 <div class="inline__confirm-message"> 44 <p class="h3"><i></i>Are you sure you want to <strong class="ng-binding">delete {{selectedEvents.length}} logs</strong>? 45 </p> 46 </div> 47 <div class="inline__confirm-buttons"> 48 <button class="btn-primary" ng-click="accept()">Yes</button> 49 <button class="btn-primary" ng-click="confirm = false">No</button> 50 </div> 51 </div> 52 <p class="inline" ng-show="selectedEvents.length"><span class="event__select-count">{{selectedEvents.length}}</span> Events are Selected</p> 53 <p class="inline" ng-hide="selectedEvents.length"><span class="event__select-count">{{filteredLogs.length}}</span> Events are Logged</p> 54 <!-- when logs are selected, this text changes to show how many logs are checked --> 55 <div class="event__actions"> 56 <button class="inline btn-delete" ng-show="selectedEvents.length || all" ng-click="confirm= ! confirm"> 57 <img class="event__icon" src="assets/images/icon-trashcan-white.svg" alt="">Delete 58 </button> 59 <button class="inline btn-resolve" ng-class="{'disabled': ((selectedEvents|unResolvedCount) == 0)}" ng-show="selectedEvents.length || all" ng-click="resolve()" ng-disabled="(selectedEvents|unResolvedCount) == 0"> 60 <img class="event__icon" src="assets/images/icon-check-white.svg" alt="">Mark as resolved 61 </button> 62 <a ng-href="data:text/json;charset=utf-8,{{export_data}}" class="inline btn-export" download="{{export_name}}" ng-show="selectedEvents.length || all">Export</a> 63 </div> 64 </div> 65 </div> 66 <log-event 67 dir-paginate="event in (filteredLogs = (logs|filter:filterBySeverity|filter:filterByStatus|filter:filterByDate|filter:filterBySearchTerms | orderBy:'+Id'))| itemsPerPage: itemsPerPage" 68 event="event" 69 tmz="tmz" 70 multi-selected="selectedEvents.length > 1" 71 > 72 </log-event> 73 </section> 74 <dir-pagination-controls template-url="common/directives/dirPagination.tpl.html"></dir-pagination-controls> 75</div> <!-- end event log --> 76