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.
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<style>
|
|
|
|
body{
|
|
|
|
clear: both;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
img{
|
|
|
|
width: 10%;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
object-fit: cover;
|
|
|
|
height: 14%;
|
|
|
|
}
|
|
|
|
img:hover{
|
|
|
|
filter: invert(1);
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
{% for image in images %}<a href="{{ url_for('zoomedimage', imgpath=image|replace('static/img/', '')) }}"><img src="{{ image }}"></a>{% endfor %}
|
|
|
|
|
|
|
|
<form action="{{ url_for('upload_file') }}" 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>
|