From 314a173b6cc3125190786e43158b7a60063f33bf Mon Sep 17 00:00:00 2001 From: Alejandro Sirgo Rica Date: Tue, 16 Jul 2024 11:41:41 +0200 Subject: ogcp: show cache contents in client details Show cache contents in client details for a more complete view of the client's state. Move the cache inspector code to its own template for reusability. --- ogcp/templates/actions/cache.html | 147 +------------------------------------- 1 file changed, 2 insertions(+), 145 deletions(-) (limited to 'ogcp/templates/actions/cache.html') diff --git a/ogcp/templates/actions/cache.html b/ogcp/templates/actions/cache.html index 46a8699..d64aebe 100644 --- a/ogcp/templates/actions/cache.html +++ b/ogcp/templates/actions/cache.html @@ -54,151 +54,8 @@ {{ _('Delete') }} - -
- -
-
- {{ _('Detailed cache usage') }} -
-
- - - -
    -
  • - -
  • -
  • -

    {{ _('Images in cache:') }}

    -
    -
  • -
-
    -
  • - {{ _('Disk size') }} -
  • -
  • - {{ _('used') }} (%) -
  • -
  • - {{ _('available') }} (%) -
  • -
-
    -
  • -
  • -
  • -
-
-
- - - - - - - -{% else %} -
- {{ _('Cache is currently empty in the selected client(s)') }} -
{% endif %} +{% include 'cache_inspector.html' %} + {% endblock %} -- cgit v1.2.3-18-g5258