image created

This commit is contained in:
2025-01-22 16:33:00 +02:00
parent 9f63572e5e
commit 4b8d075bfe
9 changed files with 115 additions and 3 deletions

View File

@@ -81,6 +81,11 @@
<div>
<a href="{{ url_for('manage_group', group_id=group.id) }}" class="btn btn-sm btn-secondary">Manage Group</a>
<a href="{{ url_for('group_fullscreen', group_id=group.id) }}" class="btn btn-sm btn-primary">Full Screen</a>
{% if current_user.role == 'admin' %}
<form action="{{ url_for('delete_group', group_id=group.id) }}" method="post" style="display:inline;">
<button type="submit" class="btn btn-sm btn-danger" onclick="return confirm('Are you sure you want to delete this group?');">Delete</button>
</form>
{% endif %}
</div>
</li>
{% endfor %}