67 lines
2.9 KiB
HTML
67 lines
2.9 KiB
HTML
<html>
|
|
<head>
|
|
<title>Index</title>
|
|
<link href="{{ url_for('static', filename='css/bootstrap.min.css') }}" rel="stylesheet">
|
|
</head>
|
|
<body>
|
|
{% include "t-navbar.html" %}
|
|
<div class="container">
|
|
<div class="row row-cols-2">
|
|
<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>
|
|
<p>Meest populaire genre is <b>{{ genre }}</b></p>
|
|
</div>
|
|
<div class="col mt-3">
|
|
<!--
|
|
Dit gaan we voorlopig niet meer gebruiken
|
|
<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>
|
|
-->
|
|
<img src="{{ url_for('static', filename='img/staem.png') }}" width="500" height="500"/>
|
|
</div>
|
|
|
|
<div class="col col-lg">
|
|
<hr>
|
|
<h2 class="text-center">Meest gekochte games</h2>
|
|
<table class="table table-striped">
|
|
<thead>
|
|
<tr>
|
|
<th>App ID</th>
|
|
<th>Name</th>
|
|
<th>Users</th>
|
|
<th>Release date</th>
|
|
<th>Price</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for row in entries %}
|
|
<tr style="text-align: center;">
|
|
<td><a href="/app/{{ row[0] }}">{{ row[0] }}</a></td>
|
|
<td>{{ row[1] }}</td>
|
|
<td>{{ row[16] }}</td>
|
|
<td>{{ row[2] }}</td>
|
|
<td>€ {{ row[17] }} ,-</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
|
|
</html> |