init
This commit is contained in:
15
templates/index.html
Normal file
15
templates/index.html
Normal file
@@ -0,0 +1,15 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Upload test</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<form method="POST" action="{{ upload_url }}" enctype="multipart/form-data">
|
||||
<input type="file" name="upload" />
|
||||
<button type="submit">Upload</button>
|
||||
</form>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
13
templates/uploaded.html
Normal file
13
templates/uploaded.html
Normal file
@@ -0,0 +1,13 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Upload test</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p>Upload took {{ time }}</p>
|
||||
<a href="/">OK</a>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user