mirror of
https://github.com/portainer/portainer.git
synced 2025-08-02 20:35:25 +02:00
logs page: slow on huge logs - 'show last lines' option
This commit is contained in:
parent
ccd27f203d
commit
aead1fcc29
2 changed files with 22 additions and 3 deletions
|
@ -6,8 +6,16 @@
|
|||
<button class="btn btn-warning" ng-click="scrollTo('stderr')">stderr</button>
|
||||
</div>
|
||||
<div class="pull-right">
|
||||
<input id="timestampToggle" type="checkbox" ng-model="showTimestamps"
|
||||
ng-change="toggleTimestamps()"/> <label for="timestampToggle">Display Timestamps</label>
|
||||
<span style="padding-right: 10px">
|
||||
<label for="tailLines">Show last</label>
|
||||
<input id="tailLines" type="text" size="1" maxlength="4"
|
||||
ng-model="tailLines" ng-keypress="($event.which === 13)? toggleTail() : 0"/>
|
||||
<label for="tailLines">lines</label>
|
||||
</span>
|
||||
<span>
|
||||
<input id="timestampToggle" type="checkbox" ng-model="showTimestamps"
|
||||
ng-change="toggleTimestamps()"/> <label for="timestampToggle">Display Timestamps</label>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue