From c1eeeb58d8b3c38492509e217689d5bb1f84ce87 Mon Sep 17 00:00:00 2001 From: Ryan Lerch Date: Thu, 29 Aug 2024 16:56:07 +1000 Subject: [PATCH] Style up-to-date paths this host carries section in host edit Signed-off-by: Ryan Lerch --- mirrormanager2/templates/fedora/host.html | 28 ++++++++++++++++------- 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/mirrormanager2/templates/fedora/host.html b/mirrormanager2/templates/fedora/host.html index d783d869..48fdd8d2 100644 --- a/mirrormanager2/templates/fedora/host.html +++ b/mirrormanager2/templates/fedora/host.html @@ -231,14 +231,26 @@
No URLS
{% endif %} {% if category.directories %} -

Up-to-Date Directories this host carries

- +
+
+

+ +

+
+
+
    + {% for dir in category.directories %} + {% if dir.up2date %} +
  • {{ dir.path }}
  • + {% endif %} + {% endfor %} +
+
+
+
+
{% endif %}