LOL - Im sorry - I forgot the Add Game Button

This commit is contained in:
nocci 2025-05-19 14:34:55 +02:00
parent 106c96ba47
commit d8e53aa02f
2 changed files with 15 additions and 0 deletions

View file

@ -1672,6 +1672,13 @@ cat <<'HTML_END' > templates/index.html
{% extends "base.html" %}
{% block content %}
<button id="toggle-keys" class="btn btn-sm btn-outline-secondary mb-2">{{ _('Show/Hide Keys') }}</button>
</a>
<button id="toggle-keys" class="btn btn-sm btn-outline-secondary mb-2">{{ _('Show/Hide Keys') }}</button>
<div class="mb-2 d-flex justify-content-end">
<a href="{{ url_for('add_game') }}" class="btn btn-sm btn-warning">
{{ _('Add New Game') }}
</a>
</div>
{% if games %}
<div class="table-responsive">
<table class="table table-hover align-middle">

View file

@ -1,6 +1,14 @@
{% extends "base.html" %}
{% block content %}
<a href="{{ url_for('add_game') }}" class="btn btn-warning mb-3" style="font-weight: 600;">
{{ _(Add New Game') }}
</a>
<button id="toggle-keys" class="btn btn-sm btn-outline-secondary mb-2">{{ _('Show/Hide Keys') }}</button>
<div class="mb-2 d-flex justify-content-end">
<a href="{{ url_for('add_game') }}" class="btn btn-sm btn-warning">
{{ _('Add New Game') }}
</a>
</div>
{% if games %}
<div class="table-responsive">
<table class="table table-hover align-middle">