mirror of https://github.com/portainer/portainer
95 lines
3.2 KiB
HTML
95 lines
3.2 KiB
HTML
<rd-header>
|
|
<rd-header-title title="Container stats"></rd-header-title>
|
|
<rd-header-content>
|
|
<a ui-sref="containers">Containers</a> > <a ui-sref="container({id: container.Id})">{{ container.Name|trimcontainername }}</a> > Stats
|
|
</rd-header-content>
|
|
</rd-header>
|
|
|
|
<div class="row">
|
|
<div class="col-lg-12 col-md-12 col-xs-12">
|
|
<rd-widget>
|
|
<rd-widget-body>
|
|
<div class="widget-icon grey pull-left">
|
|
<i class="fa fa-server"></i>
|
|
</div>
|
|
<div class="title">{{ container.Name|trimcontainername }}</div>
|
|
<div class="comment">
|
|
Name
|
|
</div>
|
|
</rd-widget-body>
|
|
</rd-widget>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="col-lg-6">
|
|
<rd-widget>
|
|
<rd-widget-header icon="fa-area-chart" title="CPU usage"></rd-widget-header>
|
|
<rd-widget-body>
|
|
<canvas id="cpu-stats-chart" width="770" height="230"></canvas>
|
|
</rd-widget-body>
|
|
</rd-widget>
|
|
</div>
|
|
<div class="col-lg-6">
|
|
<rd-widget>
|
|
<rd-widget-header icon="fa-area-chart" title="Memory usage"></rd-widget-header>
|
|
<rd-widget-body>
|
|
<canvas id="memory-stats-chart" width="770" height="230"></canvas>
|
|
</rd-widget-body>
|
|
</rd-widget>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="col-lg-6">
|
|
<rd-widget>
|
|
<rd-widget-header icon="fa-area-chart" title="Network usage"></rd-widget-header>
|
|
<rd-widget-body>
|
|
<canvas id="network-stats-chart" width="770" height="230"></canvas>
|
|
<div class="comment">
|
|
<div id="network-legend" style="margin-bottom: 20px;"></div>
|
|
</div>
|
|
</rd-widget-body>
|
|
</rd-widget>
|
|
</div>
|
|
<div class="col-lg-6">
|
|
<rd-widget>
|
|
<rd-widget-header icon="fa-tasks" title="Processes">
|
|
<div class="pull-right">
|
|
Items per page:
|
|
<select ng-model="state.pagination_count" ng-change="changePaginationCount()">
|
|
<option value="0">All</option>
|
|
<option value="10">10</option>
|
|
<option value="25">25</option>
|
|
<option value="50">50</option>
|
|
<option value="100">100</option>
|
|
</select>
|
|
</div>
|
|
</rd-widget-header>
|
|
<rd-widget-body classes="no-padding">
|
|
<table class="table table-striped">
|
|
<thead>
|
|
<tr>
|
|
<th ng-repeat="title in containerTop.Titles">
|
|
<a ui-sref="stats({id: container.Id})" ng-click="order(title)">
|
|
{{title}}
|
|
<span ng-show="sortType == title && !sortReverse" class="glyphicon glyphicon-chevron-down"></span>
|
|
<span ng-show="sortType == title && sortReverse" class="glyphicon glyphicon-chevron-up"></span>
|
|
</a>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr dir-paginate="processInfos in state.filteredProcesses = (containerTop.Processes | orderBy:sortType:sortReverse | itemsPerPage: state.pagination_count)">
|
|
<td ng-repeat="processInfo in processInfos track by $index">{{processInfo}}</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<div ng-if="containerTop.Processes" class="pagination-controls">
|
|
<dir-pagination-controls></dir-pagination-controls>
|
|
</div>
|
|
</rd-widget-body>
|
|
</rd-widget>
|
|
</div>
|
|
</div>
|