From 81f31aa442a6ad1219b59df0583b2aed76fa96c6 Mon Sep 17 00:00:00 2001 From: Arthur Date: Wed, 8 May 2024 22:26:35 +0100 Subject: [PATCH] Got available and used mixed up --- Rocket.toml | 1 + templates/index.html.tera | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Rocket.toml b/Rocket.toml index 219cb37..baec26d 100644 --- a/Rocket.toml +++ b/Rocket.toml @@ -1,2 +1,3 @@ [default] template_dir = "templates" +address = "0.0.0.0" diff --git a/templates/index.html.tera b/templates/index.html.tera index 3da423d..ad1ddd4 100644 --- a/templates/index.html.tera +++ b/templates/index.html.tera @@ -38,7 +38,7 @@ {% for disk in system.disks %}

{{disk.name}}

Mounted at: {{disk.mount_point}}

-

{{disk.available_space}} used of {{disk.total_space}}

+

{{disk.available_space}} of {{disk.total_space}} available

{% if not loop.last %}
{% endif %}