tijl.dev-core/web/views/apps/uploader/index.html
tijl 57c3b5e86d
Some checks failed
build / build (push) Has been cancelled
release-tag / release-image (push) Has been cancelled
fixes
2024-09-07 17:18:20 +02:00

24 lines
1.0 KiB
HTML

<form hx-boost="true" enctype="multipart/form-data" method="post">
<div>
<label class="input input-bordered flex items-center gap-2 mt-2">
Max downloaders
<input name="max_downloads" required type="number" placeholder="1" default="1" class="grow" />
</label>
<label class="input input-bordered flex items-center gap-2 mt-2">
Expire in (days)
<input name="expire_days" required type="number" placeholder="7" default="7" class="grow" />
</label>
<label>
<span class="hidden">File for uploading</span>
<input required type="file" name="file"
class="border-[2px] border-base-300 file-input file-input-bordered w-full mt-2" />
</label>
<div class="flex">
<button class="ml-auto btn btn-primary mt-4" type="submit">
<span class="htmx-indicator loading loading-spinner"></span>
Upload
</button>
</div>
</div>
</form>