Rewrite server: FastAPI + auth (users/roles/tokens) + admin WebUI + server-authoritative covers/metadata
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
{% 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 %}
|
||||
Reference in New Issue
Block a user