portainer/app/docker/components/host-view-panels/host-details-panel/host-details-panel.html

44 lines
1.5 KiB
HTML

<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
<rd-widget>
<rd-widget-header icon="fa-code" title-text="Host Details"></rd-widget-header>
<rd-widget-body classes="no-padding">
<table class="table">
<tbody>
<tr>
<td>Hostname</td>
<td>{{ $ctrl.host.name }}</td>
</tr>
<tr ng-if="$ctrl.host.os">
<td>OS Information</td>
<td>{{ $ctrl.host.os.type }} {{ $ctrl.host.os.arch }} {{ $ctrl.host.os.name }}</td>
</tr>
<tr ng-if="$ctrl.host.kernelVersion">
<td>Kernel Version</td>
<td>{{ $ctrl.host.kernelVersion }}</td>
</tr>
<tr>
<td>Total CPU</td>
<td>{{ $ctrl.host.totalCPU }}</td>
</tr>
<tr>
<td>Total memory</td>
<td>{{ $ctrl.host.totalMemory | humansize }}</td>
</tr>
<tr ng-if="$ctrl.isBrowseEnabled || $ctrl.isJobEnabled">
<td colspan="2">
<button class="btn btn-primary btn-sm" title="Browse" ng-if="$ctrl.isBrowseEnabled" ui-sref="{{ $ctrl.browseUrl }}">
Browse
</button>
<button class="btn btn-primary btn-sm" title="Execute job" ng-if="$ctrl.isJobEnabled" ui-sref="{{ $ctrl.jobUrl }}">
Execute job
</button>
</td>
</tr>
</tbody>
</table>
</rd-widget-body>
</rd-widget>
</div>
</div>