first commit

This commit is contained in:
Romulus21 committed 2026-10-26 13:21:14 +01:00
commit dd6a740645
37 files changed
+5424

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
<tr id="entry-{{ e.id }}" class="editing">
<td colspan="2">
<div class="stack">
<input type="datetime-local" name="started_at" value="{{ e.start_input() }}" required aria-label="Début">
{% if e.running() %}
<span class="muted">en cours</span>
{% else %}
<input type="datetime-local" name="ended_at" value="{{ e.end_input() }}" required aria-label="Fin">
{% endif %}
</div>
</td>
<td><select name="project_id" aria-label="Projet">{% include "_project_select.html" %}</select></td>
<td><input name="note" value="{{ e.note }}" aria-label="Note"></td>
<td></td>
<td class="actions">
<button class="btn small primary" hx-put="/ui/entries/{{ e.id }}" hx-include="closest tr" hx-target="closest tr" hx-swap="outerHTML">Enregistrer</button>
<button class="btn small" hx-get="/ui/entries/{{ e.id }}" hx-target="closest tr" hx-swap="outerHTML">Annuler</button>
</td>
</tr>