Upload files to "frontend/templates/partials"
This commit is contained in:
parent
d504a39d40
commit
d009e0da62
5 changed files with 114 additions and 0 deletions
14
frontend/templates/partials/health_status.jinja
Normal file
14
frontend/templates/partials/health_status.jinja
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{% if ok %}
|
||||
<div class="flex items-center gap-2">
|
||||
{% if entwine_available %}
|
||||
<Badge label="backend ✓" variant="success" />
|
||||
<Badge label="entwine ✓" variant="success" />
|
||||
{% else %}
|
||||
<Badge label="backend ✓" variant="success" />
|
||||
<Badge label="entwine absent" variant="warning" />
|
||||
{% endif %}
|
||||
<span class="text-xs text-base-content/40">{{ disk_free_gb }} GB libres</span>
|
||||
</div>
|
||||
{% else %}
|
||||
<Badge label="backend inaccessible" variant="error" />
|
||||
{% endif %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue