diff options
| author | Jake Mannens <jake@asger.xyz> | 2025-08-17 22:10:27 +1000 |
|---|---|---|
| committer | Jake Mannens <jake@asger.xyz> | 2025-08-18 10:59:28 +1000 |
| commit | 6c53f3dc43f072dce4ffe4a1bd306074dd20ff39 (patch) | |
| tree | 494335104504dca462a3837c3993e2add8e72bad /Pages/Index.cshtml | |
Initial commit
Diffstat (limited to 'Pages/Index.cshtml')
| -rw-r--r-- | Pages/Index.cshtml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Pages/Index.cshtml b/Pages/Index.cshtml new file mode 100644 index 0000000..80e05d9 --- /dev/null +++ b/Pages/Index.cshtml @@ -0,0 +1,15 @@ +@page +@model HyperBooru.Pages.IndexModel + +<link rel="stylesheet" type="text/css" href="@(nameof(HyperBooru)).styles.css"/> + +<form id="upload" action="/media" method="post" enctype="multipart/form-data"> + <input type="file" id="myFile" name="filename"/> + <input type="submit" /> +</form> + +@foreach(var media in Model.Media) { + <a href="/ViewMedia?m=@(media.Guid)"> + <img src="/media/thumb/@(media.Guid)?h=200" /> + </a> +}
\ No newline at end of file |
