2018-05-24 20:59:32 +02:00
< modal id = "logViewer" status = "default" icon = "far fa-file-alt" heading = "{{'Logs' | translate}}" large = "yes" closeable = "yes" >
2017-12-24 22:26:05 +00:00
< div class = "modal-body" >
< ul class = "nav nav-tabs" >
< li class = "active" > < a data-toggle = "tab" href = "#log-viewer-log" translate > Log< / a > < / li >
< li > < a data-toggle = "tab" href = "#log-viewer-facilities" translate > Debugging Facilities< / a > < / li >
< / ul >
< div class = "tab-content" >
< div id = "log-viewer-log" class = "tab-pane in active" >
< label translate ng-if = "logging.logEntries.length == 0" > Loading...< / label >
2018-06-18 12:27:54 +01:00
< textarea id = "logViewerText" class = "form-control" rows = "20" ng-if = "logging.logEntries.length != 0" readonly style = "font-family: Consolas; font-size: 11px; overflow: auto;" > {{ logging.content() }}< / textarea >
2019-05-03 08:28:17 +03:00
< p translate class = "help-block" ng-style = "{'visibility': logging.paused ? 'visible' : 'hidden'}" > Log tailing paused. Scroll to the bottom to continue.< / p >
2017-12-24 22:26:05 +00:00
< / div >
< div id = "log-viewer-facilities" class = "tab-pane" >
2018-01-28 08:40:06 +00:00
< label translate > Available debug logging facilities:< / label >
2017-12-24 22:26:05 +00:00
< table class = "table table-condensed table-striped" >
< tbody >
< tr ng-repeat = "(name, data) in logging.facilities" >
< td >
< input type = "checkbox" ng-model = "data.enabled" ng-change = "logging.onFacilityChange(name)" ng-disabled = "data.enabled == null" > < span > {{ name }}< / span >
< / td >
< td > {{ data.description }}< / td >
< / tr >
< / tbody >
< / table >
< / div >
< / div >
< / div >
< div class = "modal-footer" >
< button type = "button" class = "btn btn-default btn-sm" data-dismiss = "modal" >
2018-05-24 20:59:32 +02:00
< span class = "fas fa-times" > < / span > < span translate > Close< / span >
2017-12-24 22:26:05 +00:00
< / button >
< / div >
< / modal >