diff options
| author | Jake Mannens <jake@asger.xyz> | 2023-08-22 10:00:21 +1000 |
|---|---|---|
| committer | Jake Mannens <jake@asger.xyz> | 2025-08-18 17:03:21 +1000 |
| commit | ff715df3ccda51c1bb3d4b84f4391b4fdd1962dd (patch) | |
| tree | 00cca236a9036896dc7a1d3688311c65f96159d8 /Pages/Upload.razor | |
| parent | 4558ed9d6cbc59229cd56cc7a6c36b1df0b8199a (diff) | |
Finalised initial implementation of NSFW tag filtering
Diffstat (limited to 'Pages/Upload.razor')
| -rw-r--r-- | Pages/Upload.razor | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/Pages/Upload.razor b/Pages/Upload.razor index 33153d2..c139aef 100644 --- a/Pages/Upload.razor +++ b/Pages/Upload.razor @@ -2,20 +2,10 @@ <link rel="stylesheet" href="@(nameof(HyperBooru)).styles.css"/> -<div id="dropzone" class="@((dropHover ? "drop-hover" : ""))"> - <InputFile - multiple - title="" - accept="image/*" - OnChange=FileInputChange - @ondragenter=@(() => dropHover = true) - @ondragleave=@(() => dropHover = false)/> +<div id="dropzone"> <p>Drag a file to upload it</p> + <input type="file" accept="image/*"/> </div> @code { - private bool dropHover = false; - - private void FileInputChange(IFileListEntry[] files) { - } }
\ No newline at end of file |
