47 lines
2.1 KiB
HTML
47 lines
2.1 KiB
HTML
<html>
|
|
<head>
|
|
<title>Volledig tabel</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 col-lg">
|
|
<table class="table table-striped">
|
|
<thead>
|
|
<tr>
|
|
<th><a href="/fulltable">App ID</a></th>
|
|
<th><a href="?sortby=name{% if reverse %}&reverse=True{% endif %}">Name</a></th>
|
|
<th><a href="?sortby=users{% if reverse %}&reverse=True{% endif %}">Users</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><a href="/app/{{ row[0] }}">{{ row[0] }}</a></td>
|
|
<td>{{ row[1] }}</td>
|
|
<td>{{ row[16] }} gebruikers</td>
|
|
<td>{{ row[2] }}</td>
|
|
<td>€ {{ row[17] }} ,-</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
<form>
|
|
<label>Maximaal aantal rijen</label>
|
|
<select name="r">
|
|
<option value="-1">Max</option>
|
|
<option value="100">100</option>
|
|
<option value="500">500</option>
|
|
</select>
|
|
<input type="submit" value="Submit">
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
|
|
</html> |