mirror of
https://github.com/portainer/portainer.git
synced 2025-08-05 22:05:23 +02:00
Current progress on stats page, nonfunctional.
This commit is contained in:
parent
66894e7596
commit
b7daf91723
6 changed files with 119 additions and 3 deletions
21
app/components/stats/stats.html
Normal file
21
app/components/stats/stats.html
Normal file
|
@ -0,0 +1,21 @@
|
|||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<h2>Stats</h2>
|
||||
<canvas id="cpu-stats-chart" width="700"></canvas>
|
||||
<br>
|
||||
<table class="table">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>Time read</th>
|
||||
<th>CPU usage</th>
|
||||
<th>Stat</th>
|
||||
</tr>
|
||||
<tr ng-repeat="stat in dockerStats">
|
||||
<td ng-bind="stat.read"/>
|
||||
<td ng-bind="calculateCPUPercent(stat)"/>
|
||||
<td ng-bind="stat"/>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue