1
0
Fork 0
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:
jonny64 2015-02-05 19:23:57 +00:00
parent ccd27f203d
commit aead1fcc29
2 changed files with 22 additions and 3 deletions

View file

@ -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>