Skip to content

Commit

Permalink
[pre-commit.ci] Apply automatic pre-commit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Dec 19, 2024
1 parent 2f825e2 commit 73b39a8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,10 @@ <h5>System</h5>
</ul>

<div class="progress">
<div class="progress-bar" role="progressbar"
style="width: {{ (system_metrics.disk_usage / system_metrics.disk_total * 100) | round | int }}%;"
aria-valuenow="{{ (system_metrics.disk_usage / system_metrics.disk_total * 100) | round | int }}"
aria-valuemin="0"
<div class="progress-bar" role="progressbar"
style="width: {{ (system_metrics.disk_usage / system_metrics.disk_total * 100) | round | int }}%;"
aria-valuenow="{{ (system_metrics.disk_usage / system_metrics.disk_total * 100) | round | int }}"
aria-valuemin="0"
aria-valuemax="100">{{ (system_metrics.disk_usage / system_metrics.disk_total * 100) | round | int }}%</div>
</div>
{% endif %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ async def ui_get_user(
system_metrics = api.get_system_metrics(db) or {
"disk_total": 0,
"disk_free": 0,
"disk_usage": 0
"disk_usage": 0,
}

namespace_usage_metrics = auth.filter_namespaces(
Expand Down

0 comments on commit 73b39a8

Please sign in to comment.