minor improvements

sync_v2
Laurent 7 months ago
parent f1cfabcbe6
commit 23148393e0
  1. 2
      crm/templates/crm/add_prospect.html
  2. 2
      crm/templates/crm/base.html
  3. 2
      crm/templates/crm/event_form.html
  4. 4
      crm/templates/crm/events.html
  5. 4
      shop/templates/shop/cart.html
  6. 4
      shop/templates/shop/checkout.html
  7. 4
      shop/templates/shop/payment.html
  8. 4
      shop/templates/shop/payment_cancel.html
  9. 4
      shop/templates/shop/payment_success.html
  10. 2
      shop/templates/shop/product_item.html
  11. 8
      tournaments/static/tournaments/css/basics.css
  12. 2
      tournaments/static/tournaments/css/blue_style.css
  13. 6
      tournaments/static/tournaments/css/style.css
  14. 6
      tournaments/templates/profile.html
  15. 4
      tournaments/templates/register_tournament.html
  16. 2
      tournaments/templates/registration/activation_failed.html
  17. 2
      tournaments/templates/registration/activation_success.html
  18. 2
      tournaments/templates/registration/login.html
  19. 4
      tournaments/templates/registration/my_tournaments.html
  20. 2
      tournaments/templates/registration/password_reset_complete.html
  21. 2
      tournaments/templates/registration/password_reset_confirm.html
  22. 2
      tournaments/templates/registration/password_reset_done.html
  23. 2
      tournaments/templates/registration/password_reset_form.html
  24. 4
      tournaments/templates/registration/signup.html
  25. 2
      tournaments/templates/registration/signup_success.html
  26. 2
      tournaments/templates/tournaments/admin/mail_test.html
  27. 4
      tournaments/templates/tournaments/base.html
  28. 2
      tournaments/templates/tournaments/bracket_match_cell.html
  29. 2
      tournaments/templates/tournaments/broadcast/broadcast.html
  30. 2
      tournaments/templates/tournaments/broadcast/broadcast_club.html
  31. 8
      tournaments/templates/tournaments/broadcast/broadcasted_auto.html
  32. 8
      tournaments/templates/tournaments/broadcast/broadcasted_auto_event.html
  33. 2
      tournaments/templates/tournaments/broadcast/broadcasted_group_stages.html
  34. 2
      tournaments/templates/tournaments/broadcast/broadcasted_matches.html
  35. 2
      tournaments/templates/tournaments/broadcast/broadcasted_prog.html
  36. 2
      tournaments/templates/tournaments/broadcast/broadcasted_rankings.html
  37. 2
      tournaments/templates/tournaments/broadcast/broadcasted_summons.html
  38. 27
      tournaments/templates/tournaments/club_row.html
  39. 5
      tournaments/templates/tournaments/clubs.html
  40. 12
      tournaments/templates/tournaments/download.html
  41. 2
      tournaments/templates/tournaments/group_stage_cell.html
  42. 4
      tournaments/templates/tournaments/index.html
  43. 2
      tournaments/templates/tournaments/match_cell.html
  44. 2
      tournaments/templates/tournaments/matches.html
  45. 22
      tournaments/templates/tournaments/navigation_base.html
  46. 2
      tournaments/templates/tournaments/player_row.html
  47. 2
      tournaments/templates/tournaments/prog.html
  48. 3
      tournaments/templates/tournaments/rankings.html
  49. 2
      tournaments/templates/tournaments/summons.html
  50. 6
      tournaments/templates/tournaments/team_details.html
  51. 2
      tournaments/templates/tournaments/team_stats.html
  52. 2
      tournaments/templates/tournaments/teams.html
  53. 22
      tournaments/templates/tournaments/tournament_info.html
  54. 4
      tournaments/templates/tournaments/tournaments.html
  55. 2
      tournaments/templates/tournaments/tournaments_list.html

@ -3,7 +3,7 @@
{% block content %} {% block content %}
<div class="container padding-bottom"> <div class="container padding-bottom">
<div class="grid-x padding-bottom"> <div class="grid-x padding-bottom">
<div class="cell medium-6 large-6 my-block bubble"> <div class="cell medium-6 large-6 padding10 bubble">
<h1 class="title">Add New Prospect</h1> <h1 class="title">Add New Prospect</h1>
<form method="post"> <form method="post">

@ -44,7 +44,7 @@
<body class="wrapper"> <body class="wrapper">
<header> <header>
<div class="grid-x"> <div class="grid-x">
<div class="medium-6 large-9 cell topblock my-block "> <div class="medium-6 large-9 cell topblock padding10 ">
<a href="{% url 'index' %}"> <a href="{% url 'index' %}">
<img <img
src="{% static 'tournaments/images/PadelClub_logo_512.png' %}" src="{% static 'tournaments/images/PadelClub_logo_512.png' %}"

@ -1,7 +1,7 @@
{% extends "crm/base.html" %} {% block content %} {% extends "crm/base.html" %} {% block content %}
<div class="container"> <div class="container">
<div class="grid-x padding-bottom"> <div class="grid-x padding-bottom">
<div class="cell medium-6 large-6 my-block bubble"> <div class="cell medium-6 large-6 padding10 bubble">
<h1 class="title"> <h1 class="title">
{% if form.instance.pk %}Edit{% else %}Add{% endif %} Event {% if form.instance.pk %}Edit{% else %}Add{% endif %} Event
</h1> </h1>

@ -23,7 +23,7 @@
</div> </div>
<div class="container grid-x padding-bottom"> <div class="container grid-x padding-bottom">
<div class="cell medium-6 large-6 my-block bubble"> <div class="cell medium-6 large-6 padding10 bubble">
<div class="d-flex justify-content-between align-items-center mb-4"> <div class="d-flex justify-content-between align-items-center mb-4">
<h1 class="title">Completed Events</h1> <h1 class="title">Completed Events</h1>
@ -39,7 +39,7 @@
</div> </div>
<div class="cell medium-6 large-6 my-block bubble"> <div class="cell medium-6 large-6 padding10 bubble">
<div class="d-flex justify-content-between align-items-center mb-4"> <div class="d-flex justify-content-between align-items-center mb-4">
<h1 class="title">Planned Events</h1> <h1 class="title">Planned Events</h1>

@ -25,8 +25,8 @@
{% endif %} {% endif %}
<div class="grid-x"> <div class="grid-x">
<div class="small-12 medium-9 large-6 my-block"> <div class="small-12 medium-9 large-6 padding10">
<h1 class="club my-block topmargin20">Votre panier</h1> <h1 class="club padding10 topmargin20">Votre panier</h1>
<div class="bubble"> <div class="bubble">
{% if display_data.items %} {% if display_data.items %}
<div class="info-box" style="background-color: #f8f9fa; border-left: 4px solid #4e73df; padding: 15px; margin: 15px 0; border-radius: 5px;"> <div class="info-box" style="background-color: #f8f9fa; border-left: 4px solid #4e73df; padding: 15px; margin: 15px 0; border-radius: 5px;">

@ -17,9 +17,9 @@
<a href="{% url 'login' %}">Se connecter</a> <a href="{% url 'login' %}">Se connecter</a>
{% endif %} {% endif %}
</nav> </nav>
<h1 class="club my-block topmargin20">Validation de la commande</h1> <h1 class="club padding10 topmargin20">Validation de la commande</h1>
<div class="grid-x"> <div class="grid-x">
<div class="small-12 medium-6 large-6 my-block"> <div class="small-12 medium-6 large-6 padding10">
<div class="bubble checkout-container"> <div class="bubble checkout-container">
{% if request.user.is_authenticated %} {% if request.user.is_authenticated %}
<div class="checkout-section"> <div class="checkout-section">

@ -25,8 +25,8 @@
</nav> </nav>
<div class="grid-x"> <div class="grid-x">
<div class="cell medium-6 large-6 my-block"> <div class="cell medium-6 large-6 padding10">
<h1 class="club my-block topmargin20">Résumé de votre commande</h1> <h1 class="club padding10 topmargin20">Résumé de votre commande</h1>
<div class="bubble"> <div class="bubble">
{% include 'shop/partials/order_items_display.html' with items=display_data.items total_quantity=display_data.total_quantity total_price=display_data.total_price edit_mode=False %} {% include 'shop/partials/order_items_display.html' with items=display_data.items total_quantity=display_data.total_quantity total_price=display_data.total_price edit_mode=False %}

@ -20,8 +20,8 @@
</nav> </nav>
<div class="grid-x"> <div class="grid-x">
<div class="cell medium-6 large-6 my-block"> <div class="cell medium-6 large-6 padding10">
<h1 class="club my-block topmargin20">Paiement</h1> <h1 class="club padding10 topmargin20">Paiement</h1>
<div class="bubble"> <div class="bubble">
<h2>Le paiement a été annulé</h2> <h2>Le paiement a été annulé</h2>
<p>Votre commande n'a pas été finalisée car le paiement a été annulé.</p> <p>Votre commande n'a pas été finalisée car le paiement a été annulé.</p>

@ -18,8 +18,8 @@
</nav> </nav>
<div class="grid-x"> <div class="grid-x">
<div class="cell medium-6 large-6 my-block"> <div class="cell medium-6 large-6 padding10">
<h1 class="club my-block topmargin20">Paiement réussi</h1> <h1 class="club padding10 topmargin20">Paiement réussi</h1>
<div class="bubble"> <div class="bubble">
<h2>Merci pour votre commande !</h2> <h2>Merci pour votre commande !</h2>
<p>Votre paiement a été traité avec succès.</p> <p>Votre paiement a été traité avec succès.</p>

@ -1,5 +1,5 @@
{% load shop_extras %} {% load shop_extras %}
<div class="small-12 medium-6 large-3 my-block"> <div class="small-12 medium-6 large-3 padding10">
<div class="bubble"> <div class="bubble">
{% if product.image %} {% if product.image %}
<div class="slider-container" id="slider-{{ product.id }}"> <div class="slider-container" id="slider-{{ product.id }}">

@ -6,6 +6,10 @@
/* PADDING */ /* PADDING */
.padding10 {
padding: 10px;
}
.padding15 { .padding15 {
padding: 15px; padding: 15px;
} }
@ -14,6 +18,10 @@
padding: 20px; padding: 20px;
} }
.hpadding10 {
padding: 0px 10px;
}
/* MARGIN */ /* MARGIN */
.margin10 { .margin10 {

@ -137,7 +137,7 @@ p {
margin-top: 20px; margin-top: 20px;
} }
.my-block { .padding10 {
padding: 10px 10px; padding: 10px 10px;
} }
.simple { .simple {

@ -399,10 +399,6 @@ tr {
margin: 0 auto; margin: 0 auto;
} }
.my-block {
padding: 10px 10px;
}
.red { .red {
background-color: #e84038; background-color: #e84038;
} }
@ -576,7 +572,7 @@ h-margin {
.table-row-1-colum { .table-row-1-colum {
display: grid; display: grid;
grid-template-columns: 1px auto; grid-template-columns: 1fr;
/* Vertically center the content within each column */ /* Vertically center the content within each column */
padding: 5px 0px; padding: 5px 0px;
} }

@ -21,7 +21,7 @@
{% load tz %} {% load tz %}
{% if form.errors or password_change_form.errors %} {% if form.errors or password_change_form.errors %}
<div class="cell medium-6 large-6 topblock my-block"> <div class="cell medium-6 large-6 topblock padding10">
<div class="bubble"> <div class="bubble">
<div> <div>
{% for field in form %} {% for field in form %}
@ -45,7 +45,7 @@
</div> </div>
{% endif %} {% endif %}
<div class="cell medium-6 large-6 topblock my-block"> <div class="cell medium-6 large-6 topblock padding10">
<div class="bubble"> <div class="bubble">
<label class="title">Mes informations</label> <label class="title">Mes informations</label>
<form method="post"> <form method="post">
@ -55,7 +55,7 @@
</form> </form>
</div> </div>
</div> </div>
<div class="cell medium-6 large-6 topblock my-block"> <div class="cell medium-6 large-6 topblock padding10">
<div class="bubble"> <div class="bubble">
<label class="title">Mot de passe</label> <label class="title">Mot de passe</label>
<form method="post" action="{% url 'custom_password_change' %}"> <form method="post" action="{% url 'custom_password_change' %}">

@ -14,8 +14,8 @@
<div class="grid-x"> <div class="grid-x">
<div class="cell medium-6 large-6 my-block"> <div class="cell medium-6 large-6 padding10">
<h1 class="club my-block topmargin20">Inscription : {{ tournament.display_name }} {{ tournament.get_federal_age_category_display}}</h1 > <h1 class="club padding10 topmargin20">Inscription : {{ tournament.display_name }} {{ tournament.get_federal_age_category_display}}</h1 >
<div class="bubble"> <div class="bubble">

@ -9,7 +9,7 @@
<div class="grid-x"> <div class="grid-x">
<div class="bubble"> <div class="bubble">
<div class="cell medium-6 large-6 my-block"> <div class="cell medium-6 large-6 padding10">
<label class="title">Lien d'Activation Invalide</label> <label class="title">Lien d'Activation Invalide</label>
<p>Le lien d'activation est invalide ou a expiré.</p> <p>Le lien d'activation est invalide ou a expiré.</p>
<div> <div>

@ -9,7 +9,7 @@
<div class="grid-x"> <div class="grid-x">
<div class="bubble"> <div class="bubble">
<div class="cell medium-6 large-6 my-block"> <div class="cell medium-6 large-6 padding10">
<label class="title">Compte Activé avec Succès !</label> <label class="title">Compte Activé avec Succès !</label>
<p>Votre compte a été activé et vous êtes maintenant connecté.</p> <p>Votre compte a été activé et vous êtes maintenant connecté.</p>
<a href="{% url 'index' %}" class="btn styled-link">Aller à la page d'accueil</a> <a href="{% url 'index' %}" class="btn styled-link">Aller à la page d'accueil</a>

@ -10,7 +10,7 @@
<div class="grid-x"> <div class="grid-x">
<div class="bubble"> <div class="bubble">
<div class="cell medium-6 large-6 my-block"> <div class="cell medium-6 large-6 padding10">
{% if form.non_field_errors %} {% if form.non_field_errors %}
<div class="alert alert-error"> <div class="alert alert-error">
{% if form.non_field_errors %} {% if form.non_field_errors %}

@ -11,7 +11,7 @@
{% load tz %} {% load tz %}
<div class="grid-x"> <div class="grid-x">
<div class="cell medium-10 large-5 topblock my-block"> <div class="cell medium-10 large-5 topblock padding10">
<div> <div>
<label class="title">Vos tournois en cours</label> <label class="title">Vos tournois en cours</label>
{% if running_tournaments %} {% if running_tournaments %}
@ -37,7 +37,7 @@
</div> </div>
<div class="cell large-offset-1 medium-10 large-5 topblock my-block"> <div class="cell large-offset-1 medium-10 large-5 topblock padding10">
<div> <div>
<label class="title">Vos tournois terminés</label> <label class="title">Vos tournois terminés</label>
{% if ended_tournaments %} {% if ended_tournaments %}

@ -6,7 +6,7 @@
{% block content %} {% block content %}
<div class="grid-x"> <div class="grid-x">
<div class="bubble"> <div class="bubble">
<div class="cell medium-6 large-6 my-block"> <div class="cell medium-6 large-6 padding10">
<p> <p>
Votre mot de passe a été réinitialisé avec succès. Vous pouvez maintenant vous connecter avec votre nouveau mot de passe. Votre mot de passe a été réinitialisé avec succès. Vous pouvez maintenant vous connecter avec votre nouveau mot de passe.
</p> </p>

@ -6,7 +6,7 @@
{% block content %} {% block content %}
<div class="grid-x"> <div class="grid-x">
<div class="bubble"> <div class="bubble">
<div class="cell medium-6 large-6 my-block"> <div class="cell medium-6 large-6 padding10">
{% if form.non_field_errors %} {% if form.non_field_errors %}
<div class="alert"> <div class="alert">
{% for error in form.non_field_errors %} {% for error in form.non_field_errors %}

@ -6,7 +6,7 @@
{% block content %} {% block content %}
<div class="grid-x"> <div class="grid-x">
<div class="bubble"> <div class="bubble">
<div class="cell medium-6 large-6 my-block"> <div class="cell medium-6 large-6 padding10">
<p> <p>
Un e-mail contenant un lien pour réinitialiser votre mot de passe a été envoyé à votre adresse. Un e-mail contenant un lien pour réinitialiser votre mot de passe a été envoyé à votre adresse.
Veuillez vérifier votre boîte de réception. Veuillez vérifier votre boîte de réception.

@ -6,7 +6,7 @@
{% block content %} {% block content %}
<div class="grid-x"> <div class="grid-x">
<div class="bubble"> <div class="bubble">
<div class="cell medium-6 large-6 my-block"> <div class="cell medium-6 large-6 padding10">
<!-- Add non-field errors (if any) --> <!-- Add non-field errors (if any) -->
{% if form.non_field_errors %} {% if form.non_field_errors %}
<div class="alert"> <div class="alert">

@ -10,7 +10,7 @@
<div class="grid"> <div class="grid">
{% if form.errors %} {% if form.errors %}
<div class="cell medium-6 large-6 topblock my-block"> <div class="cell medium-6 large-6 topblock padding10">
<div class="bubble"> <div class="bubble">
<div> <div>
{% for field in form %} {% for field in form %}
@ -25,7 +25,7 @@
</div> </div>
{% endif %} {% endif %}
<div class="cell medium-6 large-6 my-block"> <div class="cell medium-6 large-6 padding10">
<div class="bubble"> <div class="bubble">
{% if form.non_field_errors %} {% if form.non_field_errors %}
<div class="alert"> <div class="alert">

@ -11,7 +11,7 @@
<div class="grid-x"> <div class="grid-x">
<div class="bubble"> <div class="bubble">
<label class="title">Bienvenue ! Votre compte a été créé avec succès</label> <label class="title">Bienvenue ! Votre compte a été créé avec succès</label>
<div class="cell medium-6 large-6 my-block"> <div class="cell medium-6 large-6 padding10">
<p>Un e-mail de confirmation a été envoyé à :<br> <p>Un e-mail de confirmation a été envoyé à :<br>
<strong>{{ user_email }}</strong></p> <strong>{{ user_email }}</strong></p>

@ -11,7 +11,7 @@
<div class="grid-x"> <div class="grid-x">
<div class="cell medium-6 large-6 my-block"> <div class="cell medium-6 large-6 padding10">
<div class="bubble"> <div class="bubble">
<form method="post"> <form method="post">

@ -47,7 +47,7 @@
<body class="wrapper"> <body class="wrapper">
<header> <header>
<div class="grid-x"> <div class="grid-x">
<div class="medium-6 large-9 cell topblock my-block "> <div class="medium-6 large-9 cell topblock padding10 ">
<a href="{% url 'index' %}"> <a href="{% url 'index' %}">
<img <img
src="{% static 'tournaments/images/PadelClub_logo_512.png' %}" src="{% static 'tournaments/images/PadelClub_logo_512.png' %}"
@ -73,7 +73,7 @@
{% endblock %} {% endblock %}
</main> </main>
<footer/> <footer></footer>
</body> </body>
</html> </html>

@ -1,6 +1,6 @@
{% load static %} {% load static %}
<div class="cell medium-12 large-3 my-block"> <div class="cell medium-12 large-3 padding10">
<div class="bubble"> <div class="bubble">
<div class="status-container-bracket-header flex-row"> <div class="status-container-bracket-header flex-row">

@ -9,7 +9,7 @@
{% block content %} {% block content %}
<div class="grid-x"> <div class="grid-x">
<div class="cell medium-6 large-6 topblock my-block"> <div class="cell medium-6 large-6 topblock padding10">
<div class="bubble"> <div class="bubble">
<div><a href="{% url 'automatic-broadcast' tournament.id %}">Automatique</a></div> <div><a href="{% url 'automatic-broadcast' tournament.id %}">Automatique</a></div>
<div><a href="{% url 'broadcasted-matches' tournament.id %}">Matchs</a></div> <div><a href="{% url 'broadcasted-matches' tournament.id %}">Matchs</a></div>

@ -8,7 +8,7 @@
{% block content %} {% block content %}
<div class="grid-x"> <div class="grid-x">
<div class="cell topblock my-block"> <div class="cell topblock padding10">
<div class="bubble"> <div class="bubble">
{% for tournament in tournaments %} {% for tournament in tournaments %}

@ -141,7 +141,7 @@
<template x-for="i in paginatedSummons.length"> <template x-for="i in paginatedSummons.length">
<template x-for="column in paginatedSummons[i-1]"> <template x-for="column in paginatedSummons[i-1]">
<div class="cell medium-6 large-6 topblock my-block" x-show="active === i"> <div class="cell medium-6 large-6 topblock padding10" x-show="active === i">
{% include 'tournaments/broadcast/broadcasted_summon.html' %} {% include 'tournaments/broadcast/broadcasted_summon.html' %}
</div> </div>
</template> </template>
@ -149,7 +149,7 @@
<template x-for="i in paginatedMatches.length" > <template x-for="i in paginatedMatches.length" >
<template x-for="match in paginatedMatches[i-1]" > <template x-for="match in paginatedMatches[i-1]" >
<div class="cell medium-6 large-3 my-block" x-show="active === i + paginatedSummons.length"> <div class="cell medium-6 large-3 padding10" x-show="active === i + paginatedSummons.length">
{% include 'tournaments/broadcast/broadcasted_match.html' %} {% include 'tournaments/broadcast/broadcasted_match.html' %}
</div> </div>
</template> </template>
@ -157,7 +157,7 @@
<template x-for="i in paginatedGroupStages.length"> <template x-for="i in paginatedGroupStages.length">
<template x-for="group_stage in paginatedGroupStages[i-1]"> <template x-for="group_stage in paginatedGroupStages[i-1]">
<div class="cell medium-6 large-3 my-block" x-show="active === i + paginatedSummons.length + paginatedMatches.length"> <div class="cell medium-6 large-3 padding10" x-show="active === i + paginatedSummons.length + paginatedMatches.length">
{% include 'tournaments/broadcast/broadcasted_group_stage.html' %} {% include 'tournaments/broadcast/broadcasted_group_stage.html' %}
</div> </div>
</template> </template>
@ -165,7 +165,7 @@
<template x-for="i in paginatedRankings.length"> <template x-for="i in paginatedRankings.length">
<template x-for="column in paginatedRankings[i-1]"> <template x-for="column in paginatedRankings[i-1]">
<div class="cell medium-6 large-6 topblock my-block" x-show="active === i + paginatedSummons.length + paginatedMatches.length + paginatedGroupStages.length"> <div class="cell medium-6 large-6 topblock padding10" x-show="active === i + paginatedSummons.length + paginatedMatches.length + paginatedGroupStages.length">
{% include 'tournaments/broadcast/broadcasted_ranking.html' %} {% include 'tournaments/broadcast/broadcasted_ranking.html' %}
</div> </div>
</template> </template>

@ -202,7 +202,7 @@
<template x-for="i in paginatedSummons.length"> <template x-for="i in paginatedSummons.length">
<template x-for="column in paginatedSummons[i-1]"> <template x-for="column in paginatedSummons[i-1]">
<div class="cell medium-6 large-6 topblock my-block" x-show="active === i"> <div class="cell medium-6 large-6 topblock padding10" x-show="active === i">
{% include 'tournaments/broadcast/broadcasted_summon.html' %} {% include 'tournaments/broadcast/broadcasted_summon.html' %}
</div> </div>
</template> </template>
@ -210,7 +210,7 @@
<template x-for="i in paginatedMatches.length" > <template x-for="i in paginatedMatches.length" >
<template x-for="match in paginatedMatches[i-1]" > <template x-for="match in paginatedMatches[i-1]" >
<div class="cell medium-6 large-3 my-block" x-show="active === i + paginatedSummons.length"> <div class="cell medium-6 large-3 padding10" x-show="active === i + paginatedSummons.length">
{% include 'tournaments/broadcast/broadcasted_match.html' %} {% include 'tournaments/broadcast/broadcasted_match.html' %}
</div> </div>
</template> </template>
@ -218,7 +218,7 @@
<template x-for="i in paginatedGroupStages.length"> <template x-for="i in paginatedGroupStages.length">
<template x-for="group_stage in paginatedGroupStages[i-1]"> <template x-for="group_stage in paginatedGroupStages[i-1]">
<div class="cell medium-6 large-3 my-block" x-show="active === i + paginatedSummons.length + paginatedMatches.length"> <div class="cell medium-6 large-3 padding10" x-show="active === i + paginatedSummons.length + paginatedMatches.length">
{% include 'tournaments/broadcast/broadcasted_group_stage.html' %} {% include 'tournaments/broadcast/broadcasted_group_stage.html' %}
</div> </div>
</template> </template>
@ -226,7 +226,7 @@
<template x-for="i in paginatedRankings.length"> <template x-for="i in paginatedRankings.length">
<template x-for="column in paginatedRankings[i-1]"> <template x-for="column in paginatedRankings[i-1]">
<div class="cell medium-6 large-6 topblock my-block" x-show="active === i + paginatedSummons.length + paginatedMatches.length + paginatedGroupStages.length"> <div class="cell medium-6 large-6 topblock padding10" x-show="active === i + paginatedSummons.length + paginatedMatches.length + paginatedGroupStages.length">
{% include 'tournaments/broadcast/broadcasted_ranking.html' %} {% include 'tournaments/broadcast/broadcasted_ranking.html' %}
</div> </div>
</template> </template>

@ -85,7 +85,7 @@
<template x-for="i in paginatedGroupStages.length" > <template x-for="i in paginatedGroupStages.length" >
<template x-for="group_stage in paginatedGroupStages[i-1]" > <template x-for="group_stage in paginatedGroupStages[i-1]" >
<div class="cell medium-6 large-3 my-block" x-show="active === i"> <div class="cell medium-6 large-3 padding10" x-show="active === i">
{% include 'tournaments/broadcast/broadcasted_group_stage.html' %} {% include 'tournaments/broadcast/broadcasted_group_stage.html' %}

@ -83,7 +83,7 @@
<template x-for="i in paginatedMatches.length" > <template x-for="i in paginatedMatches.length" >
<template x-for="match in paginatedMatches[i-1]" > <template x-for="match in paginatedMatches[i-1]" >
<div class="cell medium-6 large-3 my-block" x-show="active === i"> <div class="cell medium-6 large-3 padding10" x-show="active === i">
{% include 'tournaments/broadcast/broadcasted_match.html' %} {% include 'tournaments/broadcast/broadcasted_match.html' %}

@ -83,7 +83,7 @@
<template x-for="i in paginatedMatches.length" > <template x-for="i in paginatedMatches.length" >
<template x-for="match in paginatedMatches[i-1]" > <template x-for="match in paginatedMatches[i-1]" >
<div class="cell medium-6 large-3 my-block" x-show="active === i"> <div class="cell medium-6 large-3 padding10" x-show="active === i">
<template x-if="!match.empty"> <template x-if="!match.empty">
{% include 'tournaments/broadcast/broadcasted_match.html' %} {% include 'tournaments/broadcast/broadcasted_match.html' %}

@ -53,7 +53,7 @@
<div class="grid-x"> <div class="grid-x">
<template x-for="i in paginatedRankings.length" > <template x-for="i in paginatedRankings.length" >
<template x-for="column in paginatedRankings[i-1]" > <template x-for="column in paginatedRankings[i-1]" >
<div class="cell medium-6 large-6 topblock my-block" x-show="active === i"> <div class="cell medium-6 large-6 topblock padding10" x-show="active === i">
{% include 'tournaments/broadcast/broadcasted_ranking.html' %} {% include 'tournaments/broadcast/broadcasted_ranking.html' %}
</div> </div>
</template> </template>

@ -53,7 +53,7 @@
<div class="grid-x"> <div class="grid-x">
<template x-for="i in paginatedMatches.length" > <template x-for="i in paginatedMatches.length" >
<template x-for="column in paginatedMatches[i-1]" > <template x-for="column in paginatedMatches[i-1]" >
<div class="cell medium-6 large-6 topblock my-block" x-show="active === i"> <div class="cell medium-6 large-6 topblock padding10" x-show="active === i">
{% include 'tournaments/broadcast/broadcasted_summon.html' %} {% include 'tournaments/broadcast/broadcasted_summon.html' %}

@ -1,15 +1,18 @@
{% load static %} {% load static %}
<div class="table-row-1-colum padding10">
<a href="{% url 'index' %}?club={{ club.id }}">
<div class="semibold">
{{ club.name }}
</div>
<div class="table-row-1-colum"> {% if club.city %}
<div>
{{ club.city|title }}
</div>
{% endif %}
</a>
</div>
<div class="table-cell table-cell-large semibold"> {% if not forloop.last %}
<a href="{% url 'index' %}?club={{ club.id }}">{{ club.name }}</a> <hr/>
</div> {% endif %}
<!-- <div class="table-cell center">{{ summon.weight }}</div>
<div class="table-cell large center">{{ summon.date|date:'H:i' }}</div>
<div class="table-cell"><div class="mybox center">{{ summon.stage }}</div></div> -->
</div>
{% if not forloop.last %}
<hr/>
{% endif %}

@ -11,10 +11,9 @@
{% include 'tournaments/navigation_base.html' %} {% include 'tournaments/navigation_base.html' %}
{% if clubs %} {% if clubs %}
<div class="grid-x padding-bottom"> <div class="grid-x padding-bottom">
<div class="cell medium-6 large-6 my-block"> <div class="cell medium-6 large-6 padding10">
<div class="bubble"> <div class="bubble">
{% for club in clubs %} {% for club in clubs %}
@ -23,9 +22,7 @@
{% endfor %} {% endfor %}
</div> </div>
</div> </div>
</div> </div>
{% endif %} {% endif %}
{% endblock %} {% endblock %}

@ -44,7 +44,7 @@
<div class="wrapper"> <div class="wrapper">
<header> <header>
<div class="grid-x"> <div class="grid-x">
<div class="cell topblock my-block header"> <div class="cell topblock padding10 header">
<div class="flex2"> <div class="flex2">
<a href="{% url 'index' %}"> <a href="{% url 'index' %}">
@ -72,7 +72,7 @@
<main> <main>
<section class="grid-x"> <section class="grid-x">
<div class="cell large-6 topblock my-block"> <div class="cell large-6 topblock padding10">
<h3 class="topmargin40"> <h3 class="topmargin40">
<span class="orange">Organisez vos tournois comme les pros</span> et accueillez les joueurs et le public comme dans les plus grands événements <span class="orange">Organisez vos tournois comme les pros</span> et accueillez les joueurs et le public comme dans les plus grands événements
</h3> </h3>
@ -102,12 +102,12 @@
<section class="grid-x topmargin40"> <section class="grid-x topmargin40">
<div class="cell medium-6 large-6 topblock my-block"> <div class="cell medium-6 large-6 topblock padding10">
<img src="{% static 'tournaments/images/photo1@2x.png' %}" class="rounded" /> <img src="{% static 'tournaments/images/photo1@2x.png' %}" class="rounded" />
<img src="{% static 'tournaments/images/photo2@2x.png' %}" class="topmargin40 rounded" /> <img src="{% static 'tournaments/images/photo2@2x.png' %}" class="topmargin40 rounded" />
</div> </div>
<div class="cell medium-6 large-6 topblock my-block"> <div class="cell medium-6 large-6 topblock padding10">
<div class="bubble"> <div class="bubble">
<h4 class="orange">Avant le tournoi</h4> <h4 class="orange">Avant le tournoi</h4>
<ul> <ul>
@ -292,10 +292,10 @@
<section class="grid-x topmargin40"> <section class="grid-x topmargin40">
<div class="cell medium-6 large-6 topblock my-block"> <div class="cell medium-6 large-6 topblock padding10">
<img src="{% static 'tournaments/images/photo3@2x.png' %}" /> <img src="{% static 'tournaments/images/photo3@2x.png' %}" />
</div> </div>
<div class="cell medium-6 large-6 topblock my-block"> <div class="cell medium-6 large-6 topblock padding10">
<img src="{% static 'tournaments/images/photo4@2x.png' %}" /> <img src="{% static 'tournaments/images/photo4@2x.png' %}" />
</div> </div>
</section> </section>

@ -1,6 +1,6 @@
{% load static %} {% load static %}
<div class="cell large-3 my-block"> <div class="cell large-3 padding10">
<div class="dark_bubble"> <div class="dark_bubble">
<div class="flex-row"> <div class="flex-row">

@ -43,7 +43,7 @@
<main class="page-body"> <main class="page-body">
<div class="container"> <div class="container">
<div class="grid-x"> <div class="grid-x">
<div class="cell medium-6 large-6 topblock my-block"> <div class="cell medium-6 large-6 topblock padding10">
<div class="bubble"> <div class="bubble">
<img <img
src="{% static 'tournaments/PadelClub_logo_512.png' %}" src="{% static 'tournaments/PadelClub_logo_512.png' %}"
@ -61,7 +61,7 @@
<div class="grid-x"> <div class="grid-x">
{% if live %} {% if live %}
<div class="cell medium-6 large-6 topblock my-block"> <div class="cell medium-6 large-6 topblock padding10">
<div class="bubble"> <div class="bubble">
<label class="matchtitle">En cours</label> <label class="matchtitle">En cours</label>
<div class="test1">test1</div> <div class="test1">test1</div>

@ -1,6 +1,6 @@
{% load static %} {% load static %}
<div class="cell medium-12 large-3 my-block"> <div class="cell medium-12 large-3 padding10">
<div class="bubble"> <div class="bubble">
<div class="flex-row"> <div class="flex-row">

@ -31,7 +31,7 @@
{% if match_group.matches %} {% if match_group.matches %}
<h1 class="club my-block topmargin20">{{ match_group.name }}{{ match_group.formatted_schedule }}</h1> <h1 class="club padding10 topmargin20">{{ match_group.name }}{{ match_group.formatted_schedule }}</h1>
<div class="grid-x"> <div class="grid-x">
{% for match in match_group.matches %} {% for match in match_group.matches %}

@ -1,12 +1,12 @@
<nav class="margin10"> <nav class="margin10">
<a href="{% url 'index' %}" class="orange">Accueil</a> <a href="{% url 'index' %}" class="orange">Accueil</a>
<a href="{% url 'clubs' %}" class="orange">Clubs</a> <a href="{% url 'clubs' %}" class="orange">Clubs</a>
{% if user.is_authenticated %} {% if user.is_authenticated %}
<a href="{% url 'my-tournaments' %}" class="orange">Mes tournois</a> <a href="{% url 'my-tournaments' %}" class="orange">Mes tournois</a>
<a href="{% url 'profile' %}">Mon compte</a> <a href="{% url 'profile' %}">Mon compte</a>
{% else %} {% else %}
<a href="{% url 'custom-login' %}">Se connecter</a> <a href="{% url 'custom-login' %}">Se connecter</a>
{% endif %} {% endif %}
<a href="{% url 'download' %}" class="download-button">Ajouter vos tournois</a> <a href="{% url 'download' %}" class="download-button">Ajouter vos tournois</a>
</nav> </nav>

@ -1,4 +1,4 @@
<div class="cell medium-12 large-3 my-block"> <div class="cell medium-12 large-3 padding10">
<div class="bubble"> <div class="bubble">
<label class="matchtitle">{{ player.name }}</label> <label class="matchtitle">{{ player.name }}</label>

@ -18,7 +18,7 @@
{% regroup date.list by start_date|date:"H:i" as matches_by_hour %} {% regroup date.list by start_date|date:"H:i" as matches_by_hour %}
{% for hour_group in matches_by_hour %} {% for hour_group in matches_by_hour %}
<h1 class="club my-block topmargin20">{{ date.grouper }} {{ hour_group.grouper }}</h1> <h1 class="club padding10 topmargin20">{{ date.grouper }} {{ hour_group.grouper }}</h1>
{% regroup hour_group.list by court_index as matches_by_court %} {% regroup hour_group.list by court_index as matches_by_court %}

@ -13,7 +13,7 @@
{% include 'tournaments/navigation_tournament.html' %} {% include 'tournaments/navigation_tournament.html' %}
<div class="grid-x padding-bottom"> <div class="grid-x padding-bottom">
<div class="cell medium-6 large-6 my-block"> <div class="cell medium-6 large-6 padding10">
<div class="bubble"> <div class="bubble">
{% if rankings %} {% if rankings %}
@ -32,7 +32,6 @@
</div> </div>
{% endif %} {% endif %}
</div>
</div> </div>
</div> </div>
{% endif %} {% endif %}

@ -16,7 +16,7 @@
<div class="grid-x padding-bottom"> <div class="grid-x padding-bottom">
<div class="cell large-6 my-block"> <div class="cell large-6 padding10">
<div class="bubble"> <div class="bubble">
{% if tournament.summon_count_display %} {% if tournament.summon_count_display %}
<label class="title">{{ tournament.summon_count_display }}</label> <label class="title">{{ tournament.summon_count_display }}</label>

@ -13,7 +13,7 @@
} }
</style> </style>
<div class="cell medium-12"> <div class="cell medium-12">
<h1 class="club my-block topmargin20">{{ team.formatted_team_names }} {{team.formatted_special_status}}</h1> <h1 class="club padding10 topmargin20">{{ team.formatted_team_names }} {{team.formatted_special_status}}</h1>
<div class="grid-x"> <div class="grid-x">
{% for player in team.player_registrations.all %} {% for player in team.player_registrations.all %}
{% include 'tournaments/player_row.html' with player=player %} {% include 'tournaments/player_row.html' with player=player %}
@ -28,7 +28,7 @@
{% if upcoming_matches %} {% if upcoming_matches %}
<!-- Upcoming Matches --> <!-- Upcoming Matches -->
<div class="cell medium-12"> <div class="cell medium-12">
<h1 class="club my-block topmargin20">Prochains matchs</h1> <h1 class="club padding10 topmargin20">Prochains matchs</h1>
<div class="grid-x"> <div class="grid-x">
{% for match in upcoming_matches %} {% for match in upcoming_matches %}
{% include 'tournaments/match_cell.html' %} {% include 'tournaments/match_cell.html' %}
@ -42,7 +42,7 @@
{% if completed_matches %} {% if completed_matches %}
<!-- Completed Matches --> <!-- Completed Matches -->
<div class="cell medium-12"> <div class="cell medium-12">
<h1 class="club my-block topmargin20">Matchs terminés</h1> <h1 class="club padding10 topmargin20">Matchs terminés</h1>
<div class="grid-x"> <div class="grid-x">
{% for match in completed_matches %} {% for match in completed_matches %}
{% include 'tournaments/match_cell.html' %} {% include 'tournaments/match_cell.html' %}

@ -1,4 +1,4 @@
<div class="cell medium-12 large-3 my-block"> <div class="cell medium-12 large-3 padding10">
<div class="dark_bubble"> <div class="dark_bubble">
<label class="matchtitle winner">Statistiques du tournoi</label> <label class="matchtitle winner">Statistiques du tournoi</label>

@ -11,7 +11,7 @@
{% if tournament.display_teams %} {% if tournament.display_teams %}
{% include 'tournaments/navigation_tournament.html' %} {% include 'tournaments/navigation_tournament.html' %}
<div class="grid-x padding-bottom"> <div class="grid-x padding-bottom">
<div class="cell medium-6 large-6 my-block"> <div class="cell medium-6 large-6 padding10">
{% if selected_teams|length > 0 %} {% if selected_teams|length > 0 %}
<label class="title topmargin20">Équipes sélectionnées : {{ selected_teams|length }}</label> <label class="title topmargin20">Équipes sélectionnées : {{ selected_teams|length }}</label>

@ -14,9 +14,9 @@
<div class="grid-x"> <div class="grid-x">
<div class="cell medium-6 large-6 my-block"> <div class="cell medium-6 large-6 padding10">
{% if tournament.enable_online_registration and team %} {% if tournament.enable_online_registration and team %}
<h1 class="club my-block topmargin20">Votre équipe</h1 > <h1 class="club padding10 topmargin20">Votre équipe</h1 >
<div class="bubble"> <div class="bubble">
<div class="alert"> <div class="alert">
@ -68,7 +68,7 @@
{% endif %} {% endif %}
</div> </div>
{% endif %} {% endif %}
<h1 class="club my-block topmargin20">{{ tournament.display_name }} {{ tournament.get_federal_age_category_display}}</h1> <h1 class="club padding10 topmargin20">{{ tournament.display_name }} {{ tournament.get_federal_age_category_display}}</h1>
<div class="bubble"> <div class="bubble">
<p> <p>
<div class="semibold">{{ tournament.local_start_date_formatted }}</div> <div class="semibold">{{ tournament.local_start_date_formatted }}</div>
@ -76,14 +76,20 @@
<div>{{ tournament.court_count }} terrains</div> <div>{{ tournament.court_count }} terrains</div>
</p> </p>
<hr/>
<p> <p>
<div class="semibold">{{ tournament.event.club.name }}</div> <a href="{% url 'index' %}?club={{ tournament.event.club.id }}">
{% if tournament.has_club_address %} <div class="semibold">{{ tournament.event.club.name }}</div>
<div>{{ tournament.event.club.address }}</div> {% if tournament.has_club_address %}
<div>{{ tournament.event.club.city_zipcode }}</div> <div>{{ tournament.event.club.address }}</div>
{% endif %} <div>{{ tournament.event.club.city_zipcode }}</div>
{% endif %}
</a>
</p> </p>
<hr/>
<p> <p>
{% if tournament.umpire_contact %} {% if tournament.umpire_contact %}
<div class="semibold">Organisateur</div> <div class="semibold">Organisateur</div>

@ -15,7 +15,7 @@
<div class="grid-x"> <div class="grid-x">
{% if live or future %} {% if live or future %}
<div class="cell medium-10 large-5 topblock my-block"> <div class="cell medium-10 large-5 topblock padding10">
<div> <div>
@ -73,7 +73,7 @@
{% endif %} {% endif %}
{% if ended %} {% if ended %}
<div class="cell large-offset-1 medium-10 large-5 topblock my-block"> <div class="cell large-offset-1 medium-10 large-5 topblock padding10">
<div> <div>
<div class="table-row-5-colums-tournament header"> <div class="table-row-5-colums-tournament header">

@ -11,7 +11,7 @@
<div class="grid-x"> <div class="grid-x">
{% if tournaments %} {% if tournaments %}
<div class="cell medium-10 large-5 topblock my-block"> <div class="cell medium-10 large-5 topblock padding10">
<div> <div>

Loading…
Cancel
Save