82 lines
3.8 KiB
HTML
82 lines
3.8 KiB
HTML
<html>
|
|
<head>
|
|
<title>App Info</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">
|
|
<div class="col-md-12">
|
|
<h1>{{ data['data']['name'] }}</h1>
|
|
<p>fffff</p>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-6">
|
|
<div id="carousel" class="carousel slide" data-ride="carousel">
|
|
<div class="carousel-inner">
|
|
{% set firstpic = True %}
|
|
{% for x in data['data']['screenshots'] %}
|
|
<div class="carousel-item {% if firstpic == True %}active{% endif %}">
|
|
<img class="d-block w-100" src="{{ x['path_full'] }}">
|
|
</div>
|
|
{% set firstpic = False %}
|
|
{% endfor %}
|
|
</div>
|
|
<a class="carousel-control-prev" href="#carousel" role="button" data-slide="prev">
|
|
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
|
|
</a>
|
|
<a class="carousel-control-next" href="#carousel" role="button" data-slide="next">
|
|
<span class="carousel-control-next-icon" aria-hidden="true"></span>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<p>{{ data['data']['short_description'] }}</p>
|
|
<table class="table table-sm table-dark">
|
|
<tr>
|
|
<td>Applicatie ID</td>
|
|
<td>{{ data['data']['steam_appid'] }}</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Developers</td>
|
|
<td>{% for x in data['data']['developers'] %}{{ x }} {% endfor %}</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Publishers</td>
|
|
<td>{% for x in data['data']['publishers'] %}{{ x }} {% endfor %}</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Platforms</td>
|
|
<td><ul>{% for x in data['data']['platforms'] %}
|
|
<li>
|
|
{% if x == "windows" and data['data']['platforms'][x] == True %}
|
|
Windows: Ja
|
|
{% elif x == "windows" %}
|
|
Windows: Nee
|
|
{% endif %}
|
|
{% if x == "mac" and data['data']['platforms'][x] == True %}
|
|
Mac: Ja
|
|
{% elif x == "mac" %}
|
|
Mac: Nee
|
|
{% endif %}
|
|
{% if x == "linux" and data['data']['platforms'][x] == True %}
|
|
Linux: Ja
|
|
{% elif x == "linux" %}
|
|
Linux: Nee
|
|
{% endif %}
|
|
</li>
|
|
{% endfor %}</ul></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Uitgave datum</td>
|
|
<td>{{ data['data']['release_date']['date'] }}</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
|
|
</html> |