From 2509cacc005832b37e181f6a6a4795f5c7e1fff9 Mon Sep 17 00:00:00 2001 From: Javier Hernandez Date: Wed, 10 Jan 2024 11:23:37 +0100 Subject: views: Add delete folder Add functionality to allow the user to delete a folder. Show a confirmation page to the user listing the content of the folder that is about to delete --- ogcp/templates/macros.html | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ogcp/templates/macros.html') diff --git a/ogcp/templates/macros.html b/ogcp/templates/macros.html index fb7c311..e78cb5b 100644 --- a/ogcp/templates/macros.html +++ b/ogcp/templates/macros.html @@ -47,6 +47,12 @@ {% if state %}style="filter: grayscale(100%);" onclick="return false;"{% endif %} {% if scope.get("selected", False) %}checked{% endif %} name="scope-room" /> + {% elif scope["type"] == "folder" %} + {% elif " ".join(scope["ip"]) %}