30 lines
1023 B
HTML
30 lines
1023 B
HTML
{% extends "base.html" %}
|
|
{% block title %}Games & Videos · psppt{% endblock %}
|
|
{% block content %}
|
|
<h1>Games & Videos</h1>
|
|
<form method="get" action="/releases" class="filters">
|
|
<select name="system">
|
|
<option value="">All systems</option>
|
|
<option value="games" {% if system == 'games' %}selected{% endif %}>Games</option>
|
|
<option value="videos" {% if system == 'videos' %}selected{% endif %}>Videos</option>
|
|
</select>
|
|
<input name="q" value="{{ q }}" placeholder="Search…">
|
|
<button>Filter</button>
|
|
</form>
|
|
<table>
|
|
<tr><th>Name</th><th>System</th><th>Region</th><th>Serial</th><th>Cover</th><th></th></tr>
|
|
{% for it in items %}
|
|
<tr>
|
|
<td>{{ it.name }}</td>
|
|
<td>{{ it.system }}</td>
|
|
<td>{{ it.region or '' }}</td>
|
|
<td>{{ it.serial or '' }}</td>
|
|
<td>{% if it.has_cover %}✓{% else %}—{% endif %}</td>
|
|
<td><a href="/releases/{{ it.id }}/edit">Edit</a></td>
|
|
</tr>
|
|
{% else %}
|
|
<tr><td colspan="6">Nothing found.</td></tr>
|
|
{% endfor %}
|
|
</table>
|
|
{% endblock %}
|