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.
29 lines
1006 B
HTML
29 lines
1006 B
HTML
<html>
|
|
<head>
|
|
<style>
|
|
img,video,audio{
|
|
width:25%;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
{% for file in files %}
|
|
{% if 'png' in file or 'jpg' in file or 'jpeg' in file or 'gif' in file%}
|
|
<img src="{{ file|replace('./', '/breadcube/overlap/') }}">
|
|
{% endif %}
|
|
{% if 'mp3' in file or 'm4a' in file or 'ogg' in file %}
|
|
<audio src="{{ file|replace('./', '/breadcube/overlap/') }}" controls></audio>
|
|
{% endif %}
|
|
{% if 'mp4' in file or 'mkv' in file or 'ogv' in file %}
|
|
<video src="{{ file|replace('./', '/breadcube/overlap/') }}" controls></video>
|
|
{% endif %}
|
|
{% endfor %}
|
|
<form action="{{ url_for('upload2_file', image=image) }}" method="POST" enctype="multipart/form-data">
|
|
<label for="tile">Choose an image to upload:</label>
|
|
<input type="file"
|
|
id="tile" name="tile" required>
|
|
<input type="submit" value="Upload">
|
|
</form>
|
|
</body>
|
|
</html>
|