mirror of https://github.com/portainer/portainer
44 lines
1.8 KiB
HTML
44 lines
1.8 KiB
HTML
<div class="row logs">
|
|
<div class="col-xs-12">
|
|
<h4>Logs for container: <a href="#/containers/{{ container.Id }}/">{{ container.Name }}</a></td></h4>
|
|
|
|
<div class="btn-group detail">
|
|
<button class="btn btn-info" ng-click="scrollTo('stdout')">stdout</button>
|
|
<button class="btn btn-warning" ng-click="scrollTo('stderr')">stderr</button>
|
|
</div>
|
|
<div class="pull-right col-xs-6">
|
|
<div class="col-xs-6">
|
|
<a class="btn btn-primary" ng-click="toggleTail()" role="button">Reload logs</a>
|
|
<input id="tailLines" type="number" ng-style="{width: '45px'}"
|
|
ng-model="tailLines" ng-keypress="($event.which === 13)? toggleTail() : 0"/>
|
|
<label for="tailLines">lines</label>
|
|
</div>
|
|
<div class="col-xs-4">
|
|
<input id="timestampToggle" type="checkbox" ng-model="showTimestamps"
|
|
ng-change="toggleTimestamps()"/> <label for="timestampToggle">Timestamps</label>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-xs-12">
|
|
<div class="panel panel-default">
|
|
<div class="panel-heading">
|
|
<h3 id="stdout" class="panel-title">STDOUT</h3>
|
|
</div>
|
|
<div class="panel-body">
|
|
<pre id="stdoutLog" class="pre-scrollable pre-x-scrollable">{{stdout}}</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-xs-12">
|
|
<div class="panel panel-default">
|
|
<div class="panel-heading">
|
|
<h3 id="stderr" class="panel-title">STDERR</h3>
|
|
</div>
|
|
<div class="panel-body">
|
|
<pre id="stderrLog" class="pre-scrollable pre-x-scrollable">{{stderr}}</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|