feedvault.se/templates/upload.html

47 lines
1.6 KiB
HTML

{% extends "base.html" %}
{% block content %}
<h2>Upload</h2>
<p>
You can upload files to the archive here.
<br>
Things you can upload include:
<ul>
<li>Lists of URLs</li>
<li>Databases</li>
<li>Backups</li>
<li>Archives</li>
<li>Anything else that is relevant</li>
</ul>
<br>
Uploaded files will be manually reviewed and indexed. If you have any questions, feel free to <a href='{{ url_for("contact") }}''>contact me</a>.
<br>
You can also provide a description for the file you are uploading.
</p>
<form enctype="multipart/form-data"
method="post"
action='{{ url_for("upload_files") }}'>
<p>
<input type="file" name="files" required multiple>
<br>
<br>
<label for="description">Description (optional)</label>
<textarea id="description"
name="description"
rows="4"
cols="50"
placeholder="Enter a description for the file"></textarea>
</p>
<input type="checkbox" id="public" name="public">
<label for="public">Public</label>
<br>
<br>
<small>
Public files will be listed on FeedVault for everyone to see and download.
<br>
Private files will only be used for indexing feeds.
</small>
<br>
<br>
<button type="submit">Upload file</button>
</form>
{% endblock content %}