From 5247aa5a136fcf48d80c8e75625ae773a14fbd26 Mon Sep 17 00:00:00 2001 From: Jake Mannens Date: Wed, 9 Aug 2023 09:21:36 +1000 Subject: Added the ability to delete media items --- Pages/ViewMedia.cshtml | 30 ++++++++++++++++++++++++------ 1 file changed, 24 insertions(+), 6 deletions(-) (limited to 'Pages/ViewMedia.cshtml') diff --git a/Pages/ViewMedia.cshtml b/Pages/ViewMedia.cshtml index 967759b..3d0ce4a 100644 --- a/Pages/ViewMedia.cshtml +++ b/Pages/ViewMedia.cshtml @@ -17,6 +17,10 @@ } } + function showDeleteDialog(visible) { + document.getElementById('delete-dialog').classList.toggle('visible', visible); + } + function selectPane(tab) { var tabs = Array.from(document.querySelectorAll('div#metadata-header > a')); @@ -44,8 +48,8 @@
@*
@@ -54,7 +58,7 @@
*@ -
+

Upload history


@@ -75,14 +79,28 @@ }
+
+ +
-
+
Tag Name
- +
+ +
-
\ No newline at end of file +
+ +
+

Delete this media?

+
+
+ + +
+
-- cgit v1.3