Add system graph refresh button to allow for ocd

This commit is contained in:
Johannes Zellner
2022-10-11 21:36:30 +02:00
parent e56585df10
commit 71f24ac10b
4 changed files with 8 additions and 3 deletions

View File

@@ -1062,9 +1062,7 @@
<li><a href="" ng-click="graphs.setPeriod(24*30)">{{ 24*30 | trKeyFromPeriod | tr }}</a></li>
</ul>
</div>
<button class="btn btn-sm btn-outline pull-right" style="margin-right: 5px" ng-click="graphs.show()"><i class="fas fa-sync-alt"></i></button>
<!-- <label style="margin-top: 10px;">{{ 'app.graphs.memoryTitle' | tr }}</label> -->
<!-- <label style="margin-top: 10px;">{{ 'app.graphs.diskTitle' | tr }}</label> -->
<button class="btn btn-sm btn-outline pull-right" style="margin-right: 5px" ng-click="graphs.show()" ng-disabled="graphs.busy"><i class="fas fa-sync-alt" ng-class="{ 'fa-spin': graphs.busy }"></i></button>
<label style="margin-top: 10px;">Memory</label>
<canvas id="graphsMemoryChart" style="width: 100%;"></canvas>
<label style="margin-top: 10px;">CPU</label>