43 lines
836 B
HTML
43 lines
836 B
HTML
<html>
|
|
<head>
|
|
<title>{{ title }}</title>
|
|
</head>
|
|
<img src="static/ZXSpectrum+2-grey.jpg" alt="logo" style="align:center" />
|
|
|
|
<body>
|
|
<div style="margin: 0 auto; margin-top: 30%; width:300px">
|
|
<form
|
|
action="/upload"
|
|
method="POST"
|
|
enctype="multipart/form-data"
|
|
>
|
|
<input type="file" name="file" />
|
|
<button type="submit">Upload</button>
|
|
</form>
|
|
</div>
|
|
|
|
<div>
|
|
<p> Cassette:</p>
|
|
<table border="1">
|
|
<thead>
|
|
<tr>
|
|
<th>Nome</th>
|
|
<!-- {% for header in headers %} -->
|
|
<!-- <th>{{ header }}</th> -->
|
|
<!-- {% endfor %} -->
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for file in files %}
|
|
<tr>
|
|
<td>{{ file }}</td>
|
|
<td><a href="/run/{{ file }}">run</a></td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</body>
|
|
</p>
|
|
</html>
|