add group page

This commit is contained in:
2025-01-20 16:30:39 +02:00
parent 850360f553
commit 7ef65cb44f
5 changed files with 122 additions and 4 deletions

View File

@@ -8,6 +8,20 @@
<div class="container py-5">
<h1 class="text-center mb-4">Player Schedule for {{ player.username }}</h1>
<!-- Group Membership Section -->
<div class="mb-4">
{% if player.groups %}
<h4 class="text-center">Member of Group(s):</h4>
<ul class="list-group">
{% for group in player.groups %}
<li class="list-group-item">{{ group.name }}</li>
{% endfor %}
</ul>
{% else %}
<h4 class="text-center">Not a member of any group</h4>
{% endif %}
</div>
<!-- Schedule Section -->
<div class="card mb-4">
<div class="card-header bg-primary text-white">