Skip to content

Commit

Permalink
💄 improve serverstatus progressbar
Browse files Browse the repository at this point in the history
  • Loading branch information
naiba committed Nov 22, 2023
1 parent 47d9d1f commit 8963693
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions resource/template/theme-server-status/service.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,8 @@ <h4 style="text-align: center;">{{tr "CycleTransferStats"}}</h4>
<td class="node-cell center">{{$transfer|bf}}</td>
<td class="node-cell center">
<div class="progress">
<div style="width: {{$TransLeftPercent}}%" :class="'progress-bar progress-bar-' + toSSBar('{{TransClassName $TransLeftPercent}}')">
<small>{{TransLeft $stats.Max $transfer}} / {{$TransLeftPercent}} %</small>
</div>
<span style="width: {{$TransLeftPercent}}%" :class="'progress-bar progress-bar-' + toSSBar('{{TransClassName $TransLeftPercent}}')"></span>
<small>{{TransLeft $stats.Max $transfer}} / {{$TransLeftPercent}} %</small>
</div>
</td>
</tr>
Expand Down

0 comments on commit 8963693

Please sign in to comment.