2018-02-19 23:01:28 -05:00
|
|
|
<!DOCTYPE html>
|
2018-03-03 11:20:39 -05:00
|
|
|
<html>
|
2018-02-19 23:01:28 -05:00
|
|
|
<head>
|
|
|
|
<title>Let's uploading boys!</title>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<form method="post" enctype="multipart/form-data" action="{{ url_for('index') }}">
|
2018-05-17 12:46:36 -04:00
|
|
|
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 />
|
|
|
|
<p>Select file to upload:
|
|
|
|
<p><input type="file" name="file" required/><br />
|
2018-05-21 17:28:58 -04:00
|
|
|
<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">
|
2018-05-21 14:27:51 -04:00
|
|
|
<option value="minute">Minute</option>
|
|
|
|
<option value="hour">Hour</option>
|
2018-05-21 17:28:58 -04:00
|
|
|
<option value="day" selected="selected">Day</option>
|
|
|
|
<option value="week">Week</option>
|
2018-05-21 14:27:51 -04:00
|
|
|
</select>
|
|
|
|
<p><input type="submit" value="Upload File" name="submit"/>
|
2018-02-19 23:01:28 -05:00
|
|
|
</form>
|
|
|
|
</body>
|
|
|
|
</html>
|