Fix width
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Kekskurse 2021-11-25 02:12:32 +01:00
parent 09e479201b
commit be95054f69
Signed by: kekskurse
GPG Key ID: 728ACCB59341E7E4
1 changed files with 6 additions and 6 deletions

View File

@ -24,7 +24,7 @@
<table class="table">
{{range $key, $val := .checks.DiscSpace.Data}}
<tr>
<td>{{ $key }}</td>
<td style="width: 20%">{{ $key }}</td>
<td>
<div class="progress">
<div class="progress-bar" role="progressbar" style="width: {{ $val }}%;" aria-valuenow="{{ $val }}" aria-valuemin="0" aria-valuemax="100">{{ $val }}%</div>
@ -47,7 +47,7 @@
<div class="card-body">
<table class="table">
<tr>
<th>Ram</th>
<th style="width: 20%">Ram</th>
<td>
<div class="progress">
<div class="progress-bar" role="progressbar" style="width: {{ .checks.MemoryUsage.Data.ram }}%;" aria-valuenow="{{ .checks.MemoryUsage.Data.ram }}" aria-valuemin="0" aria-valuemax="100">{{ .checks.MemoryUsage.Data.ram }}%</div>
@ -55,7 +55,7 @@
</td>
</tr>
<tr>
<th>Swap</th>
<th style="width: 20%">Swap</th>
<td>
<div class="progress">
<div class="progress-bar" role="progressbar" style="width: {{ .checks.MemoryUsage.Data.swap }}%;" aria-valuenow="{{ .checks.MemoryUsage.Data.swap }}" aria-valuemin="0" aria-valuemax="100">{{ .checks.MemoryUsage.Data.swap }}%</div>
@ -78,15 +78,15 @@
<div class="card-body">
<table class="table">
<tr>
<th>1</th>
<th style="width: 20%">1</th>
<td>{{ .checks.SystemLoad.Data.Loadavg1 }}</td>
</tr>
<tr>
<th>5</th>
<th style="width: 20%">5</th>
<td>{{ .checks.SystemLoad.Data.Loadavg5 }}</td>
</tr>
<tr>
<th>15</th>
<th style="width: 20%">15</th>
<td>{{ .checks.SystemLoad.Data.Loadavg15 }}</td>
</tr>
</table>