2024-09-09 08:14:11 +03:00
|
|
|
{% extends 'layout.html' %}
|
|
|
|
{% block content %}
|
|
|
|
<div class="container">
|
|
|
|
{% include 'nav.html' %}
|
|
|
|
{# check flashes #}
|
|
|
|
{% with messages = get_flashed_messages() %}
|
|
|
|
{% if messages %}
|
|
|
|
{% for message in messages %}
|
|
|
|
<div class="alert">{{ message }}</div>
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
|
|
|
{% endwith %}
|
|
|
|
<form action="/upload" method="post" enctype="multipart/form-data">
|
|
|
|
<input type="file" name="file" id="file" class="file">
|
|
|
|
<br>
|
|
|
|
<label for="expiry">Expire in:</label>
|
|
|
|
<select name="expiry" id="expiry">
|
|
|
|
<option value="60">1 minute</option>
|
|
|
|
<option value="10">10 secs</option>
|
|
|
|
<option value="300">5 minutes</option>
|
|
|
|
<option value="600">10 minutes</option>
|
|
|
|
<option value="3600" selected>1 hour</option>
|
|
|
|
<option value="86400">1 day</option>
|
|
|
|
<option value="259200">3 days</option>
|
|
|
|
<option value="604800">1 week</option>
|
|
|
|
<option value="2147483647">Forever</option>
|
|
|
|
</select>
|
|
|
|
<button class="upload-button">Upload</button><br> max file size: 134mb (temporary), 32mb (forever)
|
|
|
|
</form>
|
2024-09-13 22:04:52 +03:00
|
|
|
{% include 'stats.html' %}
|
2024-09-09 08:14:11 +03:00
|
|
|
</div>
|
2024-09-13 22:04:52 +03:00
|
|
|
|
2024-09-09 08:14:11 +03:00
|
|
|
{% endblock %}
|