|
|
|
@ -13,7 +13,35 @@ |
|
|
|
|
|
|
|
|
|
|
|
{% block content %} |
|
|
|
{% block content %} |
|
|
|
<div class="tournament-dashboard"> |
|
|
|
<div class="tournament-dashboard"> |
|
|
|
<h1>🏆 Tournament Dashboard</h1> |
|
|
|
<!-- Quick Actions - Déplacé en haut --> |
|
|
|
|
|
|
|
<div class="quick-actions" style="background: #f8f9fa; border: 1px solid #dee2e6; border-radius: 12px; padding: 25px; margin-bottom: 20px;"> |
|
|
|
|
|
|
|
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px;"> |
|
|
|
|
|
|
|
<a href="{% url 'admin:tournaments_tournament_changelist' %}" |
|
|
|
|
|
|
|
style="display: block; padding: 12px 15px; background: #007bff; color: white; text-decoration: none; border-radius: 8px; text-align: center; font-weight: 500;"> |
|
|
|
|
|
|
|
Tournaments |
|
|
|
|
|
|
|
</a> |
|
|
|
|
|
|
|
<a href="{% url 'admin:tournaments_teamregistration_changelist' %}" |
|
|
|
|
|
|
|
style="display: block; padding: 12px 15px; background: #28a745; color: white; text-decoration: none; border-radius: 8px; text-align: center; font-weight: 500;"> |
|
|
|
|
|
|
|
Teams |
|
|
|
|
|
|
|
</a> |
|
|
|
|
|
|
|
<a href="{% url 'admin:tournaments_playerregistration_changelist' %}" |
|
|
|
|
|
|
|
style="display: block; padding: 12px 15px; background: #6c757d; color: white; text-decoration: none; border-radius: 8px; text-align: center; font-weight: 500;"> |
|
|
|
|
|
|
|
Players |
|
|
|
|
|
|
|
</a> |
|
|
|
|
|
|
|
<a href="{% url 'admin:tournaments_match_changelist' %}" |
|
|
|
|
|
|
|
style="display: block; padding: 12px 15px; background: #fd7e14; color: white; text-decoration: none; border-radius: 8px; text-align: center; font-weight: 500;"> |
|
|
|
|
|
|
|
Matches |
|
|
|
|
|
|
|
</a> |
|
|
|
|
|
|
|
<a href="{% url 'admin:tournaments_event_changelist' %}" |
|
|
|
|
|
|
|
style="display: block; padding: 12px 15px; background: #17a2b8; color: white; text-decoration: none; border-radius: 8px; text-align: center; font-weight: 500;"> |
|
|
|
|
|
|
|
Events |
|
|
|
|
|
|
|
</a> |
|
|
|
|
|
|
|
<a href="{% url 'admin:tournaments_club_changelist' %}" |
|
|
|
|
|
|
|
style="display: block; padding: 12px 15px; background: #ffc107; color: #212529; text-decoration: none; border-radius: 8px; text-align: center; font-weight: 500;"> |
|
|
|
|
|
|
|
Clubs |
|
|
|
|
|
|
|
</a> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<!-- Summary Statistics Cards --> |
|
|
|
<!-- Summary Statistics Cards --> |
|
|
|
<div class="dashboard-stats" style="display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin: 20px 0;"> |
|
|
|
<div class="dashboard-stats" style="display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin: 20px 0;"> |
|
|
|
@ -377,36 +405,6 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<!-- Quick Actions --> |
|
|
|
|
|
|
|
<div class="quick-actions" style="background: #f8f9fa; border: 1px solid #dee2e6; border-radius: 12px; padding: 25px; margin-top: 20px;"> |
|
|
|
|
|
|
|
<h3 style="margin: 0 0 20px 0; color: #495057;">🚀 Quick Actions</h3> |
|
|
|
|
|
|
|
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px;"> |
|
|
|
|
|
|
|
<a href="{% url 'admin:tournaments_tournament_changelist' %}" |
|
|
|
|
|
|
|
style="display: block; padding: 12px 15px; background: #007bff; color: white; text-decoration: none; border-radius: 8px; text-align: center; font-weight: 500;"> |
|
|
|
|
|
|
|
View All Tournaments |
|
|
|
|
|
|
|
</a> |
|
|
|
|
|
|
|
<a href="{% url 'admin:tournaments_teamregistration_changelist' %}" |
|
|
|
|
|
|
|
style="display: block; padding: 12px 15px; background: #28a745; color: white; text-decoration: none; border-radius: 8px; text-align: center; font-weight: 500;"> |
|
|
|
|
|
|
|
Manage Teams |
|
|
|
|
|
|
|
</a> |
|
|
|
|
|
|
|
<a href="{% url 'admin:tournaments_playerregistration_changelist' %}" |
|
|
|
|
|
|
|
style="display: block; padding: 12px 15px; background: #6c757d; color: white; text-decoration: none; border-radius: 8px; text-align: center; font-weight: 500;"> |
|
|
|
|
|
|
|
Manage Players |
|
|
|
|
|
|
|
</a> |
|
|
|
|
|
|
|
<a href="{% url 'admin:tournaments_match_changelist' %}" |
|
|
|
|
|
|
|
style="display: block; padding: 12px 15px; background: #fd7e14; color: white; text-decoration: none; border-radius: 8px; text-align: center; font-weight: 500;"> |
|
|
|
|
|
|
|
View Matches |
|
|
|
|
|
|
|
</a> |
|
|
|
|
|
|
|
<a href="{% url 'admin:tournaments_event_changelist' %}" |
|
|
|
|
|
|
|
style="display: block; padding: 12px 15px; background: #17a2b8; color: white; text-decoration: none; border-radius: 8px; text-align: center; font-weight: 500;"> |
|
|
|
|
|
|
|
Manage Events |
|
|
|
|
|
|
|
</a> |
|
|
|
|
|
|
|
<a href="{% url 'admin:tournaments_club_changelist' %}" |
|
|
|
|
|
|
|
style="display: block; padding: 12px 15px; background: #ffc107; color: #212529; text-decoration: none; border-radius: 8px; text-align: center; font-weight: 500;"> |
|
|
|
|
|
|
|
Manage Clubs |
|
|
|
|
|
|
|
</a> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<style> |
|
|
|
<style> |
|
|
|
|