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/poc.html

27 lines
927 B
HTML

<html>
<head>
<title>Root</title>
</head>
<body>
<h1>Hello!</h1>
<p>Eerste game in de json blob is <b>{{ gfgn['name'] }}</b> met de game id <b>{{ gfgn['appid'] }}</b></p>
<p>Totaal aantal games in json array is <b>{{ len }}</b></p>
<table style="width:50%">
<tr>
<th><a href="/">App ID</a></th>
<th><a href="?sortby=name">Name</a></th>
<th><a href="?sortby=release_date">Release date</a></th>
<th><a href="?sortby=price">Price</a></th>
</tr>
{% for row in items %}
<tr style="text-align: center;">
<td>{{ row['appid'] }}</td>
<td>{{ row['name'] }}</td>
<td>{{ row['release_date'] }}</td>
<td>{{ row['price'] }} ,-</td>
</tr>
{% endfor %}
</table>
</body>
</html>