30 lines
1.2 KiB
HTML
30 lines
1.2 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Let's uploading boys!</title>
|
|
</head>
|
|
<body>
|
|
Hello, {{ session.username }}<br>
|
|
<a href="{{ url_for('change_password') }}">Change password</a><br>
|
|
<a href="{{ url_for('logout') }}">Logout</a><br>
|
|
<a href="{{ url_for('manage_uploads') }}">Manage Uploads</a><br>
|
|
<a href="{{ url_for('gallery', username=session.username) }}">Public Gallery</a><br>
|
|
<form method="post" enctype="multipart/form-data" action="{{ url_for('upload') }}">
|
|
<p>Select file to upload:
|
|
<p><input type="file" name="files" multiple><br>
|
|
<input type="url" name="url" placeholder="URL" size="30"><br>
|
|
<input type="checkbox" name="randname"> Generate random filename.<br>
|
|
<input type="checkbox" name="delflag"> Delete this file in <input type="number" name="delnum" min="1" max="59" value="1">
|
|
<select name="deltype">
|
|
<option value="minute">Minute</option>
|
|
<option value="hour">Hour</option>
|
|
<option value="day" selected="selected">Day</option>
|
|
<option value="week">Week</option>
|
|
</select><br>
|
|
<textarea name="text"></textarea><br>
|
|
<input type="hidden" name="html" value="on">
|
|
<p><input type="submit" value="Upload File" name="submit">
|
|
</form>
|
|
</body>
|
|
</html>
|