fileHost/templates/index.html

26 lines
915 B
HTML

<!DOCTYPE html>
<html>
<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 />
<a href="{{ url_for('manage_uploads') }}">Manage Uploads</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="checkbox" name="delete"/> Delete this file in <input type="number" value="1"/>
<select>
<option value="minute">Minute</option>
<option value="hour">Hour</option>
<option value="day">Day</option>
<option value="month">Month</option>
</select>
<p><input type="submit" value="Upload File" name="submit"/>
</form>
</body>
</html>