2020-11-24 13:55:36 +01:00
|
|
|
<html>
|
|
|
|
<head>
|
2021-01-02 19:13:15 +01:00
|
|
|
<title>Index</title>
|
2021-01-07 14:32:24 +01:00
|
|
|
<link href="{{ url_for('static', filename='css/bootstrap.min.css') }}" rel="stylesheet">
|
2020-11-24 13:55:36 +01:00
|
|
|
</head>
|
|
|
|
<body>
|
2021-01-12 13:22:39 +01:00
|
|
|
{% include "t-navbar.html" %}
|
2021-01-07 14:32:24 +01:00
|
|
|
<div class="container">
|
2021-01-07 19:40:39 +01:00
|
|
|
<div class="row row-cols-2">
|
2021-01-07 14:32:24 +01:00
|
|
|
<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>
|
2021-01-12 14:00:47 +01:00
|
|
|
<p>Meest populaire genre is <b>{{ genre }}</b></p>
|
2021-01-07 14:32:24 +01:00
|
|
|
</div>
|
2021-01-07 19:40:39 +01:00
|
|
|
<div class="col mt-3">
|
2021-01-16 18:57:55 +01:00
|
|
|
<!--
|
|
|
|
Dit gaan we voorlopig niet meer gebruiken
|
2021-01-07 19:40:39 +01:00
|
|
|
<form action="/login" method="post">
|
|
|
|
<div class="form-floating mb-3">
|
|
|
|
<input type="text" class="form-control" name="loginACC" placeholder="accountname">
|
|
|
|
</div>
|
|
|
|
<div class="form-floating mb-3">
|
|
|
|
<input type="password" class="form-control" name="loginPASS" placeholder="password">
|
|
|
|
</div>
|
|
|
|
<div class="form-floating mb-3">
|
|
|
|
<input type="text" class="form-control" name="loginMFA" placeholder="mfa token">
|
|
|
|
</div>
|
|
|
|
<div class="form-floating mb-3">
|
|
|
|
<input type="submit" class="form-control" value="Login">
|
|
|
|
</div>
|
|
|
|
</form>
|
2021-01-16 18:57:55 +01:00
|
|
|
-->
|
|
|
|
<img src="{{ url_for('static', filename='img/staem.png') }}" width="500" height="500"/>
|
2021-01-07 19:40:39 +01:00
|
|
|
</div>
|
2021-01-12 13:22:39 +01:00
|
|
|
|
2021-01-07 19:40:39 +01:00
|
|
|
<div class="col col-lg">
|
2021-01-12 13:22:39 +01:00
|
|
|
<hr>
|
2021-01-12 13:26:09 +01:00
|
|
|
<h2 class="text-center">Meest gekochte games</h2>
|
2021-01-07 14:32:24 +01:00
|
|
|
<table class="table table-striped">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
2021-01-12 13:26:09 +01:00
|
|
|
<th>App ID</th>
|
|
|
|
<th>Name</th>
|
|
|
|
<th>Users</th>
|
|
|
|
<th>Release date</th>
|
|
|
|
<th>Price</th>
|
2021-01-07 14:32:24 +01:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{% for row in entries %}
|
|
|
|
<tr style="text-align: center;">
|
2021-01-16 18:50:31 +01:00
|
|
|
<td><a href="/app/{{ row[0] }}">{{ row[0] }}</a></td>
|
2021-01-07 14:32:24 +01:00
|
|
|
<td>{{ row[1] }}</td>
|
2021-01-12 13:22:39 +01:00
|
|
|
<td>{{ row[16] }}</td>
|
2021-01-07 14:32:24 +01:00
|
|
|
<td>{{ row[2] }}</td>
|
2021-01-12 13:26:09 +01:00
|
|
|
<td>€ {{ row[17] }} ,-</td>
|
2021-01-07 14:32:24 +01:00
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-11-24 13:55:36 +01:00
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|