feat: A lot of changes

This commit is contained in:
2026-06-02 10:06:18 +02:00
parent 0e0c0ee897
commit 43bd110268
8 changed files with 452 additions and 85 deletions
+9 -8
View File
@@ -1,12 +1,13 @@
<tr>
<td>{id}</td>
<td class="cell-id">{id}</td>
<td>{author}</td>
<td>{text}</td>
<td>{start}</td>
<td>{end}</td>
<td>
<form action="/api/announcements/{id}/delete" method="POST" style="display:inline">
<button type="submit">Delete</button>
<td class="cell-text" title="{text}">{text}</td>
<td class="cell-date">{start}</td>
<td class="cell-date">{end}</td>
<td>{flags_display}</td>
<td class="cell-actions">
<form action="/api/announcements/{id}/delete" method="POST" style="display:inline" onsubmit="return confirm('Delete announcement #{id}?')">
<button class="btn btn-danger btn-sm" type="submit">Delete</button>
</form>
</td>
</tr>
</tr>