mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 07:49:41 +02:00
feat(log-viewer): add the ability to display timestamps (#1697)
This commit is contained in:
parent
30dfd3d616
commit
80a23b5351
8 changed files with 26 additions and 12 deletions
|
@ -3,6 +3,7 @@ angular.module('portainer.docker').component('logViewer', {
|
|||
controller: 'LogViewerController',
|
||||
bindings: {
|
||||
data: '=',
|
||||
displayTimestamps: '=',
|
||||
logCollectionChange: '<'
|
||||
}
|
||||
});
|
||||
|
|
|
@ -15,6 +15,16 @@
|
|||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="col-sm-12">
|
||||
<label for="tls" class="control-label text-left">
|
||||
Display timestamps
|
||||
</label>
|
||||
<label class="switch" style="margin-left: 20px;">
|
||||
<input type="checkbox" ng-model="$ctrl.displayTimestamps"><i></i>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="logs_search" class="col-sm-1 control-label text-left">
|
||||
Search
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue