1b1289ec9SAppaRao Puli<loader loading="loading"></loader> 2b1289ec9SAppaRao Puli<div id="sys-log"> 3*a2e36e0fSAppaRao Puli <section id="sys-log__logs"> 4b1289ec9SAppaRao Puli <div class="row column"> 5b1289ec9SAppaRao Puli <h1>System Logs</h1> 6b1289ec9SAppaRao Puli <div class="page-header"> 7b1289ec9SAppaRao Puli <p class="inline h4">Select system log type: </p> 8b1289ec9SAppaRao Puli <div class="inline dropdown__wrapper" > 9b1289ec9SAppaRao Puli <button type="button" class="dropdown__button" ng-click="showLogDropdown = !showLogDropdown"><strong>{{selectedRecordType}}</strong></button> 10b1289ec9SAppaRao Puli <ul class="dropdown__list inline" ng-show="showLogDropdown"> 11b1289ec9SAppaRao Puli <li ng-repeat="recordType in recordTypeList"> 12b1289ec9SAppaRao Puli <button type="button" ng-click="selectRecordType(recordType);">{{recordType}}</button> 13b1289ec9SAppaRao Puli </li> 14b1289ec9SAppaRao Puli </ul> 15b1289ec9SAppaRao Puli </div> 16b1289ec9SAppaRao Puli <a ng-href="data:text/json;charset=utf-8,{{sysLogs}}" class="inline btn-export float-right" download="systemLogs.json" ng-show="sysLogs.length">Export </a> 17b1289ec9SAppaRao Puli <button class="inline clear-input float-right btn-secondary" ng-click="confirm = !confirm" ng-show="sysLogs.length">✕ Clear {{selectedRecordType}} Logs</button> 18*a2e36e0fSAppaRao Puli <div class="inline__confirm sys-log__confirm" ng-show="confirm"> 19b1289ec9SAppaRao Puli <div class="inline__confirm-message"> 20b1289ec9SAppaRao Puli <p class="h3">Are you sure you want to <strong class="ng-binding">clear {{selectedRecordType}} logs</strong>? 21b1289ec9SAppaRao Puli </p> 22b1289ec9SAppaRao Puli </div> 23b1289ec9SAppaRao Puli <div class="inline__confirm-buttons"> 24b1289ec9SAppaRao Puli <button class="btn-primary" ng-click="clearSystemLogEntries()">Yes</button> 25b1289ec9SAppaRao Puli <button class="btn-primary" ng-click="confirm = false">No</button> 26b1289ec9SAppaRao Puli </div> 27b1289ec9SAppaRao Puli </div> 28b1289ec9SAppaRao Puli </div> 29b1289ec9SAppaRao Puli </div> 30b1289ec9SAppaRao Puli </section> 31b1289ec9SAppaRao Puli <section class="row column"> 32b1289ec9SAppaRao Puli <p class="content-label">Filter {{selectedRecordType}} Logs</p> 33b1289ec9SAppaRao Puli <div class="content__search"> 34b1289ec9SAppaRao Puli <label for="content__search-input">Search</label> 35b1289ec9SAppaRao Puli <input id="content__search-input" type="text" ng-model="customSearch" ng-keydown="doSearchOnEnter($event)"/> 36b1289ec9SAppaRao Puli <div class="search-submit__wrapper"> 37b1289ec9SAppaRao Puli <button class="clear-input" ng-click="clear()">✕</button> 38b1289ec9SAppaRao Puli <input id="content__search-submit" type="submit" class="btn btn-primary content__search-submit" value="Filter" ng-click="doSearchOnClick()"/> 39b1289ec9SAppaRao Puli </div> 40b1289ec9SAppaRao Puli </div> 41b1289ec9SAppaRao Puli </section> 42*a2e36e0fSAppaRao Puli <section> 43*a2e36e0fSAppaRao Puli <syslog-filter></syslog-filter> 44*a2e36e0fSAppaRao Puli </section> 45*a2e36e0fSAppaRao Puli <section id="sys-log__logs" class="table row column" ng-show="sysLogs.length"> 46b1289ec9SAppaRao Puli <div class="table row column"> 47b1289ec9SAppaRao Puli <div class="table__head"> 48b1289ec9SAppaRao Puli <div class="table__row"> 49b1289ec9SAppaRao Puli <div class="table__cell sys-log__col-wrapper sys-log__col-id"> 50b1289ec9SAppaRao Puli <div class="column small-2 sort_button_wrapper"> 51b1289ec9SAppaRao Puli <button class="sort-ascending" ng-click="sortBy('Id', false)"></button> 52b1289ec9SAppaRao Puli <button class="sort-descending" ng-click="sortBy('Id', true)"></button> 53b1289ec9SAppaRao Puli </div> 54b1289ec9SAppaRao Puli ID 55b1289ec9SAppaRao Puli </div> 56b1289ec9SAppaRao Puli <div class="table__cell sys-log__col-wrapper"> 57b1289ec9SAppaRao Puli <div class="column small-2 sort_button_wrapper"> 58b1289ec9SAppaRao Puli <button class="sort-ascending" ng-click="sortBy('Created', false)"></button> 59b1289ec9SAppaRao Puli <button class="sort-descending" ng-click="sortBy('Created', true)"></button> 60b1289ec9SAppaRao Puli </div> 61b1289ec9SAppaRao Puli Timestamp 62b1289ec9SAppaRao Puli </div> 63b1289ec9SAppaRao Puli <div class="table__cell sys-log__col-wrapper"> 64b1289ec9SAppaRao Puli <div class="column small-2 sort_button_wrapper"> 65b1289ec9SAppaRao Puli <button class="sort-ascending" ng-click="sortBy('Name', false)"></button> 66b1289ec9SAppaRao Puli <button class="sort-descending" ng-click="sortBy('Name', true)"></button> 67b1289ec9SAppaRao Puli </div> 68b1289ec9SAppaRao Puli Name 69b1289ec9SAppaRao Puli </div> 70b1289ec9SAppaRao Puli <div class="table__cell sys-log__col-wrapper"> 71b1289ec9SAppaRao Puli <div class="column small-2 sort_button_wrapper"> 72b1289ec9SAppaRao Puli <button class="sort-ascending" ng-click="sortBy('SensorType', false)"></button> 73b1289ec9SAppaRao Puli <button class="sort-descending" ng-click="sortBy('SensorType', true)"></button> 74b1289ec9SAppaRao Puli </div> 75b1289ec9SAppaRao Puli Type 76b1289ec9SAppaRao Puli </div> 77b1289ec9SAppaRao Puli <div class="table__cell sys-log__col-wrapper sys-log__col-sev"> 78b1289ec9SAppaRao Puli <div class="column small-2 sort_button_wrapper"> 79b1289ec9SAppaRao Puli <button class="sort-ascending" ng-click="sortBy('Severity', false)"></button> 80b1289ec9SAppaRao Puli <button class="sort-descending" ng-click="sortBy('Severity', true)"></button> 81b1289ec9SAppaRao Puli </div> 82b1289ec9SAppaRao Puli Severity 83b1289ec9SAppaRao Puli </div> 84b1289ec9SAppaRao Puli <div class="table__cell sys-log__col-wrapper sys-log__col-desc">Description</div> 85b1289ec9SAppaRao Puli </div> 86b1289ec9SAppaRao Puli </div> 87b1289ec9SAppaRao Puli <div class="table__body"> 88*a2e36e0fSAppaRao Puli <div class="table__row" dir-paginate="log in (sysLogs | filter:filterBySearchTerms | filter:filterBySeverity | filter:filterByDate | filter:filterByType | orderBy:sortKey:reverse) | itemsPerPage:itemsPerPage"> 89b1289ec9SAppaRao Puli <div class="table__cell sys-log__col-wrapper sys-log__col-id">{{log.Id}}</div> 90b1289ec9SAppaRao Puli <div class="table__cell sys-log__col-wrapper">{{log.Created | localeDate}}</div> 91b1289ec9SAppaRao Puli <div class="table__cell sys-log__col-wrapper">{{log.Name}}</div> 92b1289ec9SAppaRao Puli <div class="table__cell sys-log__col-wrapper">{{log.SensorType}}</div> 93b1289ec9SAppaRao Puli <div class="table__cell sys-log__col-wrapper sys-log__col-sev">{{log.Severity}}</div> 94b1289ec9SAppaRao Puli <div class="table__cell sys-log__col-wrapper sys-log__col-desc">{{log.Message}}</div> 95b1289ec9SAppaRao Puli </div> 96b1289ec9SAppaRao Puli </div> 97b1289ec9SAppaRao Puli </div> 98b1289ec9SAppaRao Puli <dir-pagination-controls></dir-pagination-controls> 99b1289ec9SAppaRao Puli </section> 100*a2e36e0fSAppaRao Puli <section id="sys-log__logs" class="table row column" ng-show="!sysLogs.length"> 101b1289ec9SAppaRao Puli <p>There are no {{selectedRecordType}} logs to display at this time.</p> 102b1289ec9SAppaRao Puli </section> 103*a2e36e0fSAppaRao Puli</div> <!-- end log --> 104