From e210a6e4e973adc5d873657ea742ad0d8efd96ae Mon Sep 17 00:00:00 2001 From: Jake Mannens Date: Thu, 10 Aug 2023 01:56:12 +1000 Subject: Began dialog for adding tags to media --- Pages/Shared/_Layout.cshtml | 2 +- Pages/Shared/_Layout.cshtml.css | 4 ++++ Pages/ViewMedia.cshtml | 23 ++++++++++++++++++++++- 3 files changed, 27 insertions(+), 2 deletions(-) (limited to 'Pages') diff --git a/Pages/Shared/_Layout.cshtml b/Pages/Shared/_Layout.cshtml index 9cdb952..4c80500 100644 --- a/Pages/Shared/_Layout.cshtml +++ b/Pages/Shared/_Layout.cshtml @@ -18,7 +18,7 @@ Home Tags -
+
@RenderBody()
diff --git a/Pages/Shared/_Layout.cshtml.css b/Pages/Shared/_Layout.cshtml.css index 5b2ba65..337ec17 100644 --- a/Pages/Shared/_Layout.cshtml.css +++ b/Pages/Shared/_Layout.cshtml.css @@ -15,4 +15,8 @@ div#navbar > a:hover { div#navbar > a:active { background: #fff; color: var(--col-navbar-bg); +} + +#content { + flex: 1 1 calc(100vh - 119px); } \ No newline at end of file diff --git a/Pages/ViewMedia.cshtml b/Pages/ViewMedia.cshtml index 3d0ce4a..0bf58cd 100644 --- a/Pages/ViewMedia.cshtml +++ b/Pages/ViewMedia.cshtml @@ -21,6 +21,10 @@ document.getElementById('delete-dialog').classList.toggle('visible', visible); } + function showTagDialog(visible) { + document.getElementById('tag-dialog').classList.toggle('visible', visible); + } + function selectPane(tab) { var tabs = Array.from(document.querySelectorAll('div#metadata-header > a')); @@ -90,7 +94,7 @@
- +
@@ -104,3 +108,20 @@ + +
+

Select one or more tag(s) to add

+
+ + + @for(int i = 0; i < 7; i++) { + + + + } +
@i
+
+ + +
+
-- cgit v1.3