Mercurial > imgup
view themes/siimple/pages/new.html @ 36:575c90cafc7e default tip @
imgupd: use id as filename
author | David Demelier <markand@malikania.fr> |
---|---|
date | Thu, 16 Mar 2023 12:56:46 +0100 |
parents | c0d8af7ba325 |
children |
line wrap: on
line source
<h1>Upload image</h1> <form action="/new" method="post" enctype="multipart/form-data"> <label class="label">Title</label> <input class="input has-mb-4" name="title" type="text" placeholder="Untitled" /> <label class="label">Author</label> <input class="input has-mb-4" name="author" type="text" placeholder="Anonymous" /> <label class="label">Expires in</label> <select class="select has-mb-4" name="duration"> @@durations@@ </select> <label class="label has-mb-4" for="private-cb"> <span class="has-mr-2">Private</span> <input type="checkbox" id="private-cb" class="checkbox" checked /> </label> <label for="file" class="button">Select file</label> <input id="file" class="button" type="file" name="filename" style="display: none" /> <input type="submit" class="button" value="Upload" /> </form>