2018-01-22 13:01:38 -08:00
< div >
< div class = "col-md-10 col-md-offset-1" >
2020-10-28 16:17:14 +01:00
< h1 > {{ 'eventlog.title' | tr }}< / h1 >
2018-01-22 13:01:38 -08:00
< / div >
< / div >
< div >
< div class = "col-md-10 col-md-offset-1" >
2020-03-25 20:13:45 -07:00
< div class = "eventlog-filter" >
2021-03-31 17:01:00 +02:00
< input type = "text" class = "form-control" style = "min-width: 350px;" ng-model = "search" ng-model-options = "{ debounce: 1000 }" ng-change = "updateFilter()" placeholder = "{{ 'main.searchPlaceholder' | tr }}" / >
2020-11-05 13:13:57 +01:00
< multiselect ng-model = "selectedActions" ms-header = "{{ 'eventlog.filterAllEvents' | tr }}" options = "a.name for a in actions" data-multiple = "true" ng-change = "updateFilter(true)" filter-after-rows = "5" scroll-after-rows = "10" > < / multiselect >
2018-03-05 11:15:25 +01:00
< select class = "form-control" ng-model = "pageItems" ng-options = "a.name for a in pageItemCount" ng-change = "updateFilter(true)" > < / select >
<!-- <select class="form - control" ng - model="action" ng - options="a.name for a in actions" ng - change="updateFilter()">
2018-01-22 13:01:38 -08:00
< option value = "" > -- All actions --< / option >
2018-03-05 11:15:25 +01:00
< / select > -->
2024-10-15 19:19:16 +02:00
< div style = "flex-grow: 1;" > < / div >
2020-10-09 12:31:25 +02:00
< button class = "btn btn-default btn-outline" ng-click = "refresh()" > < i class = "fas fa-sync-alt" ng-class = "{ 'fa-spin': busyRefresh }" > < / i > < / button >
2020-11-05 13:13:57 +01:00
< button class = "btn btn-default btn-outline" ng-click = "showPrevPage()" ng-disabled = "busy || currentPage <= 1" > < i class = "fa fa-angle-double-left" > < / i > {{ 'main.pagination.prev' | tr }}< / button >
< button class = "btn btn-default btn-outline" ng-click = "showNextPage()" ng-disabled = "busy || pageItems.value > eventLogs.length" > {{ 'main.pagination.next' | tr }} < i class = "fa fa-angle-double-right" > < / i > < / button >
2018-01-22 13:01:38 -08:00
< / div >
< / div >
< / div >
< div >
2020-02-13 15:30:31 +01:00
< div class = "col-md-10 col-md-offset-1" >
< div class = "card card-block" style = "max-width: 100%" >
2020-03-04 14:17:29 -08:00
< div >
2020-02-13 15:30:31 +01:00
< center ng-show = "busy" > < h2 > < i class = "fa fa-circle-notch fa-spin" > < / i > < / h2 > < / center >
< table ng-hide = "busy" class = "table table-condensed table-hover" >
< thead >
< tr >
2020-11-05 13:13:57 +01:00
< th class = "col-md-2" > {{ 'eventlog.time' | tr }}< / th >
2024-06-11 11:40:04 +02:00
< th class = "col-md-2" > {{ 'eventlog.source' | tr }}< / th >
< th class = "col-md-8" > {{ 'eventlog.details' | tr }}< / th >
2020-02-13 15:30:31 +01:00
< / tr >
< / thead >
< tbody ng-repeat = "eventLog in eventLogs" >
< tr ng-click = "showEventLogDetails(eventLog)" class = "hand" >
< td > < span uib-tooltip = "{{ eventLog.raw.creationTime | prettyLongDate }}" class = "arrow" > {{ eventLog.raw.creationTime | prettyDate }}< / span > < / td >
< td > {{ eventLog.source }}< / td >
< td ng-bind-html = "eventLog.details" > < / td >
< / tr >
< tr ng-show = "activeEventLog === eventLog" >
2024-06-11 12:05:54 +02:00
< td colspan = "4" >
< p ng-show = "eventLog.raw.source.ip" > Source IP: < code > {{ eventLog.raw.source.ip }}< / code > < / p >
< pre class = "eventlog-details" > {{ eventLog.raw.data | json }}< / pre >
< / td >
2020-02-13 15:30:31 +01:00
< / tr >
< / tbody >
< / table >
< / div >
2018-01-22 13:01:38 -08:00
< / div >
2020-02-13 15:30:31 +01:00
< / div >
2018-01-22 13:01:38 -08:00
< / div >