Files
2022-05-31 23:12:28 +02:00

38 lines
961 B
HTML

<!doctype html>
<head>
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
<title>Demo Analyzer</title>
</head>
<body>
<header class="page-header container">
<h1><a href="/">Demo Analyzer</a></h1>
</header>
<nav class="container"></nav>
<main class="container">
<div class="panel panel-default">
<div class="panel-heading">
<h4>Upload</h4>
</div>
<table class="list-group">
<tr class="list-group-item">
<th class="table-title"><form method=post enctype=multipart/form-data><input type=file name=file></th><th><input type=submit value=Upload></form></th>
</tr>
</table>
</div>
{% if demos is defined %}
<div class="panel panel-default">
<div class="panel-heading">
<h4>Newest demos</h4>
</div>
<table class="list-group">
{% for id in demos %}
<tr class="list-group-item">
<th><a href="/{{ id }}">{{ id }}</a></th>
</tr>
{% endfor %}
</table>
{% endif %}
</div>
</main>
</body>