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') }}">
|
|
|
|
Hello, {{ session.username }}<br/>
|
|
|
|
<a href="{{ url_for('change_password') }}">Change password</a><br/>
|
|
|
|
<a href="{{ url_for('logout') }}">Logout</a><br/>
|
|
|
|
<p>Select file to upload:
|
|
|
|
<p><input type="file" name="file" required/><br/>
|
|
|
|
<input type="checkbox" name="randname"> Generate random filename.
|
|
|
|
<p><input type="submit" value="Upload File" name="submit"/>
|
|
|
|
</form>
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
|