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

67 lines
2.9 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>
{% include "t-navbar.html" %}
<div class="container">
2021-01-07 19:40:39 +01:00
<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>
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-07 19:40:39 +01:00
<div class="col col-lg">
<hr>
2021-01-12 13:26:09 +01:00
<h2 class="text-center">Meest gekochte games</h2>
<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>
</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>
<td>{{ row[1] }}</td>
<td>{{ row[16] }}</td>
<td>{{ row[2] }}</td>
2021-01-12 13:26:09 +01:00
<td>€ {{ row[17] }} ,-</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
</div>
</div>
2020-11-24 13:55:36 +01:00
</body>
</html>