salvi/templates/upload.jinja2

24 lines
716 B
Text
Raw Normal View History

2023-03-16 14:24:29 +01:00
{% extends "base.jinja2" %}
{% block content %}
2023-12-12 19:29:43 +01:00
<main>
<h1>Upload new file</h1>
2023-12-12 19:29:43 +01:00
<p>Uploads are no more supported. Please use this syntax instead for external images: <code>![alt text](https://www.example.com/path/to/image.jpg)</code>.</p>
2023-12-12 19:29:43 +01:00
<form method="POST" enctype="multipart/form-data">
<div>
<label for="name">Name: </label>
<input type="text" id="name-input" name="name" required maxlength="256" disabled="">
</div>
<div>
<label for="file">File: </label>
<input type="file" id="file-input" name="file" accept="image/jpeg, image/png" disabled="">
</div>
<div>
<input type="submit" value="Upload" disabled="">
</div>
</form>
</main>
{% endblock %}