latest changes

This commit is contained in:
Joren de Graaf
2026-10-15 12:50:21 +02:00
parent 76b42b670e
commit 2733eb8b67
150 changed files with 119 additions and 8 deletions
@@ -24,8 +24,14 @@
<section class="dashboard-section" aria-label="{% trans "Quick fireworks report" %}">
<div class="dashboard-report">
<button id="field-notes-toggle" class="field-notes-trigger" type="button" aria-label="{% trans 'Field notes' %}" aria-haspopup="dialog" aria-controls="field-notes-dialog" title="{% trans 'Field notes' %}">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M8 4.5h8l3 3V19a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V5.5a1 1 0 0 1 1-1h2Z"/><path d="M15.5 4.5V8H19M8.5 12h7M8.5 15.5h5"/></svg>
</button>
{% include "fireworks_detect/includes/manual_report_form.html" %}
{% if user.is_authenticated %}{% include "fireworks_detect/notes/panel.html" %}{% else %}<p><a href="{% url 'login' %}?next=/">{% trans "Sign in to add private field notes" %}</a></p>{% endif %}
<dialog id="field-notes-dialog" class="field-notes-dialog" aria-label="{% trans 'Field notes' %}">
<div class="field-notes-dialog__toolbar"><button id="field-notes-close" type="button" aria-label="{% trans 'Close field notes' %}">×</button></div>
{% if user.is_authenticated %}{% include "fireworks_detect/notes/panel.html" %}{% else %}<div class="field-notes-dialog__signin"><h2>{% trans "Field notes" %}</h2><p><a href="{% url 'login' %}?next=/">{% trans "Sign in to add private field notes" %}</a></p></div>{% endif %}
</dialog>
</div>
</section>