You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
804 B
HTML

<html>
<head>
<style>
body{
clear: both;
margin: 0;
}
img{
width: 10%;
margin: 0;
padding: 0;
}
img:hover{
filter: invert(1);
}
</style>
</head>
<body>
{% for image in images %}<img src="{{ image }}">{% endfor %}
<form action="/upload/" method="POST" enctype="multipart/form-data">
<label for="tile">Choose an image to upload:</label>
<input type="file"
id="tile" name="tile" required>
<label for="overwrite"> and a position for it to go (number from 00 to 99):</label>
<input type="text" name="overwrite" required>
<input type="submit" value="Upload">
</form>
</body>
</html>