1
This repository has been archived on 2021-11-25. You can view files and clone it, but cannot push or open issues or pull requests.
Project_Steam_Tracker/templates/index.html

40 lines
1.7 KiB
HTML
Raw Normal View History

2020-11-24 13:55:36 +01:00
<html>
<head>
<title>Index</title>
<link href="{{ url_for('static', filename='css/bootstrap.min.css') }}" rel="stylesheet">
2020-11-24 13:55:36 +01:00
</head>
<body>
<div class="container">
<div class="row">
<div class="col">
<h1>Welkom!</h1>
<p>Eerste game in memory is <b>{{ first_entry[1] }}</b> met de game id <b>{{ first_entry[0] }}</b></p>
<p>Totaal aantal games in memory is <b>{{ sizedb }}</b></p>
</div>
<div class="col">
<table class="table table-striped">
<thead>
<tr>
<th><a href="/">App ID</a></th>
2021-01-07 19:19:43 +01:00
<th><a href="?sortby=name{% if reverse %}&reverse=True{% endif %}">Name</a></th>
<th><a href="?sortby=release_date{% if reverse %}&reverse=True{% endif %}">Release date</a></th>
<th><a href="?sortby=price{% if reverse %}&reverse=True{% endif %}">Price</a></th>
</tr>
</thead>
<tbody>
{% for row in entries %}
<tr style="text-align: center;">
<td>{{ row[0] }}</td>
<td>{{ row[1] }}</td>
<td>{{ row[2] }}</td>
<td>{{ row[17] }} ,-</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
</div>
</div>
2020-11-24 13:55:36 +01:00
</body>
</html>