add ability to add users, cards, arcades and cabs on the webui

This commit is contained in:
Hay1tsme
2024-03-23 20:01:32 -04:00
parent de2e2349e6
commit 87c7c91e3a
4 changed files with 252 additions and 12 deletions

View File

@@ -10,7 +10,7 @@ Cab added successfully
{% endif %}
<ul style="font-size: 20px;">
{% for c in arcade.cabs %}
<li><a href="/cab/{{ c.id }}">{{ c.serial }} ({{ c.game }})</a>&nbsp;<button class="btn btn-secondary" onclick="prep_edit_form()">Edit</button>&nbsp;<button class="btn-danger btn">Delete</button></li>
<li><a href="/cab/{{ c.id }}">{{ c.serial }}</a> ({{ c.game if c.game else "Any" }})&nbsp;<button class="btn btn-secondary" onclick="prep_edit_form()">Edit</button>&nbsp;<button class="btn-danger btn">Delete</button></li>
{% endfor %}
</ul>
{% else %}