41 lines
524 B
HTML
41 lines
524 B
HTML
<!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>
|
|
|
|
<style>
|
|
html,
|
|
body {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
body, form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
input {
|
|
width: 300px;
|
|
}
|
|
|
|
button {
|
|
font-size: 20px;
|
|
width: 100%;
|
|
}
|
|
</style>
|
|
|
|
</html>
|