42 lines
1.9 KiB
HTML
42 lines
1.9 KiB
HTML
<html>
|
|
<head>
|
|
<title>Search</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">
|
|
{% if (entries is defined) and entries %}
|
|
<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>
|
|
{% else %}
|
|
<h3 class="text-center">Geen zoekresultaten gevonden</h3>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
|
|
</html> |