51 lines
977 B
HTML
51 lines
977 B
HTML
<html>
|
|
<head>
|
|
<title>{{ title }}</title>
|
|
<link rel="stylesheet" type="text/css" href="/static/style.css">
|
|
|
|
</head>
|
|
<img src="static/ZXSpectrum+2-grey.jpg" alt="logo" style="align:center" />
|
|
|
|
<body>
|
|
<div id="form">
|
|
<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" id="table">
|
|
<thead>
|
|
<tr>
|
|
<th>Nome</th>
|
|
<th>
|
|
<a href="/kill">kill</a>
|
|
</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>
|