Skip to content

Commit

Permalink
fix: percentage progress bg
Browse files Browse the repository at this point in the history
  • Loading branch information
geoah committed Oct 13, 2023
1 parent cf1d7ca commit 35d891b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/stats.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ <h1 class="text-lg mb-2 border-b border-gray-700 pb-2 text-gray-100">Workspace S
<span class="text-red-500">{{.UsedQuota}} TB</span>
</div>
<div class="flex items-center mt-2 mb-2">
<div class="h-2 rounded-full flex-grow mr-2">
<div class="h-2 bg-gray-700 rounded-full flex-grow mr-2">
<div class="h-full bg-blue-600 rounded-full" style="width:{{printf "%.2f" .PercentageUsed}}%;"></div>
</div>
<span class="text-green-500">{{printf "%.2f" .PercentageUsed}}%</span>
Expand Down

0 comments on commit 35d891b

Please sign in to comment.