|
|
|
|
@ -15,25 +15,33 @@ |
|
|
|
|
<div class="tournament-dashboard"> |
|
|
|
|
<!-- 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;"> |
|
|
|
|
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 15px;"> |
|
|
|
|
<a href="{% url 'admin:tournaments_customuser_changelist' %}" |
|
|
|
|
style="display: block; padding: 12px 15px; background: #17a2b8; color: white; text-decoration: none; border-radius: 8px; text-align: center; font-weight: 500;"> |
|
|
|
|
Users |
|
|
|
|
</a> |
|
|
|
|
<a href="{% url 'admin:tournaments_purchase_changelist' %}" |
|
|
|
|
style="display: block; padding: 12px 15px; background: #17a2b8; color: white; text-decoration: none; border-radius: 8px; text-align: center; font-weight: 500;"> |
|
|
|
|
Purchases |
|
|
|
|
</a> |
|
|
|
|
<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;"> |
|
|
|
|
style="display: block; padding: 12px 15px; background: #ffc107; color: #212529; 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;"> |
|
|
|
|
style="display: block; padding: 12px 15px; background: #ffc107; color: #212529; 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;"> |
|
|
|
|
style="display: block; padding: 12px 15px; background: #ffc107; color: #212529; 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;"> |
|
|
|
|
style="display: block; padding: 12px 15px; background: #ffc107; color: #212529; 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;"> |
|
|
|
|
style="display: block; padding: 12px 15px; background: #ffc107; color: #212529; text-decoration: none; border-radius: 8px; text-align: center; font-weight: 500;"> |
|
|
|
|
Events |
|
|
|
|
</a> |
|
|
|
|
<a href="{% url 'admin:tournaments_club_changelist' %}" |
|
|
|
|
@ -47,8 +55,8 @@ |
|
|
|
|
<div class="dashboard-stats" style="display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin: 20px 0;"> |
|
|
|
|
|
|
|
|
|
<!-- Running Tournaments Card --> |
|
|
|
|
<div class="stat-card" style="background: linear-gradient(135deg, #28a745, #20c997); color: white; border-radius: 12px; padding: 25px; box-shadow: 0 4px 15px rgba(0,0,0,0.1);"> |
|
|
|
|
<h3 style="margin: 0 0 20px 0; display: flex; align-items: center; gap: 10px;"> |
|
|
|
|
<div class="stat-card" style="background: #17a2b8; color: white; border-radius: 12px; padding: 25px; box-shadow: 0 4px 15px rgba(0,0,0,0.1);"> |
|
|
|
|
<h3 style="margin: 0 0 20px 0; display: flex; align-items: center; gap: 10px; color: white;"> |
|
|
|
|
🎾 Starting Tournaments |
|
|
|
|
</h3> |
|
|
|
|
<div class="tournament-stats"> |
|
|
|
|
@ -86,8 +94,8 @@ |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<!-- Ended Tournaments Card --> |
|
|
|
|
<div class="stat-card" style="background: linear-gradient(135deg, #dc3545, #e74c3c); color: white; border-radius: 12px; padding: 25px; box-shadow: 0 4px 15px rgba(0,0,0,0.1);"> |
|
|
|
|
<h3 style="margin: 0 0 20px 0; display: flex; align-items: center; gap: 10px;"> |
|
|
|
|
<div class="stat-card" style="background: #17a2b8; color: white; border-radius: 12px; padding: 25px; box-shadow: 0 4px 15px rgba(0,0,0,0.1);"> |
|
|
|
|
<h3 style="margin: 0 0 20px 0; display: flex; align-items: center; gap: 10px; color: white;"> |
|
|
|
|
🏁 Ended Tournaments |
|
|
|
|
</h3> |
|
|
|
|
<div class="tournament-stats"> |
|
|
|
|
@ -111,8 +119,8 @@ |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<!-- Participants Card --> |
|
|
|
|
<div class="stat-card" style="background: linear-gradient(135deg, #007bff, #0056b3); color: white; border-radius: 12px; padding: 25px; box-shadow: 0 4px 15px rgba(0,0,0,0.1);"> |
|
|
|
|
<h3 style="margin: 0 0 20px 0; display: flex; align-items: center; gap: 10px;"> |
|
|
|
|
<div class="stat-card" style="background: #17a2b8; color: white; border-radius: 12px; padding: 25px; box-shadow: 0 4px 15px rgba(0,0,0,0.1);"> |
|
|
|
|
<h3 style="margin: 0 0 20px 0; display: flex; align-items: center; gap: 10px; color: white;"> |
|
|
|
|
👥 Participants |
|
|
|
|
</h3> |
|
|
|
|
<div class="participant-stats"> |
|
|
|
|
@ -132,8 +140,8 @@ |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<!-- Matches Card --> |
|
|
|
|
<div class="stat-card" style="background: linear-gradient(135deg, #fd7e14, #e55e2b); color: white; border-radius: 12px; padding: 25px; box-shadow: 0 4px 15px rgba(0,0,0,0.1);"> |
|
|
|
|
<h3 style="margin: 0 0 20px 0; display: flex; align-items: center; gap: 10px;"> |
|
|
|
|
<div class="stat-card" style="background: #17a2b8; color: white; border-radius: 12px; padding: 25px; box-shadow: 0 4px 15px rgba(0,0,0,0.1);"> |
|
|
|
|
<h3 style="margin: 0 0 20px 0; display: flex; align-items: center; gap: 10px; color: white;"> |
|
|
|
|
🏓 Matches |
|
|
|
|
</h3> |
|
|
|
|
<div class="match-stats"> |
|
|
|
|
|