diff --git a/templates/bda/bda-attrib-extra.html b/templates/bda/bda-attrib-extra.html new file mode 100644 index 00000000..c2c266d2 --- /dev/null +++ b/templates/bda/bda-attrib-extra.html @@ -0,0 +1,27 @@ +{% extends "bda-attrib.html" %} + +{% block extracontent %} + +

Attribution (détails)

+

Token : {{ token }}

+

Placés : {{ total_slots }} ; Déçus : {{ total_losers }}

+ + +{% for member, shows in members2 %} + + + + + + +{% for show in shows %} + + + + + + +{% endfor %} +{% endfor %} +
{{ member.user.get_full_name }}{{ member.user.email }}Total: {{ member.total }}€
{{ show }}
+{% endblock %} diff --git a/templates/bda/bda-attrib.html b/templates/bda/bda-attrib.html new file mode 100644 index 00000000..959016d1 --- /dev/null +++ b/templates/bda/bda-attrib.html @@ -0,0 +1,40 @@ +{% extends "base_title.html" %} + +{% block extra_head %} + +{% endblock %} + +{% block realcontent %} + +

Attribution

+

Token : {{ token }}

+

Placés : {{ total_slots }} ; Déçus : {{ total_losers }}

+{% if user.get_profile.is_buro %}

Déficit total: {{ total_deficit }} €, Opéra: {{ opera_deficit }} €, Attribué: {{ total_sold }} €

{% endif %} + +{% for show, members, losers in results %} +
+

{{ show.title }} - {{ show.date_no_seconds }} @ {{ show.location }}

+

+{{ show.nrequests }} demandes pour {{ show.slots }} places +{{ show.price }}€ par place{% if user.get_profile.is_buro and show.nrequests < show.slots %}, {{ show.deficit }}€ de déficit{% endif %} +

+Places : + +Déçus : +{% if not losers %}/{% else %} + +{% endif %} +
+{% endfor %} +{% block extracontent %} +{% endblock %} +{% endblock %} diff --git a/templates/bda/bda-emails.html b/templates/bda/bda-emails.html new file mode 100644 index 00000000..39744ae1 --- /dev/null +++ b/templates/bda/bda-emails.html @@ -0,0 +1,7 @@ +{% extends "base_title.html" %} + +{% block realcontent %} +

{{ spectacle }}

+ +{% endblock %} diff --git a/templates/bda/bda-notpaid.html b/templates/bda/bda-notpaid.html new file mode 100644 index 00000000..10b272d8 --- /dev/null +++ b/templates/bda/bda-notpaid.html @@ -0,0 +1,6 @@ +{% extends "base_title.html" %} + +{% block realcontent %} +

Nope

+

Avant de revendre des places, il faut aller les payer !

+{% endblock %} diff --git a/templates/bda/bda-revente.html b/templates/bda/bda-revente.html new file mode 100644 index 00000000..e2a4804b --- /dev/null +++ b/templates/bda/bda-revente.html @@ -0,0 +1,25 @@ +{% extends "base_title.html" %} + +{% block extra_head %} + +{% endblock %} + +{% block realcontent %} + +

Revente de place

+
+ {% csrf_token %} +{% if form.spectacle.errors %}{% endif %} +

+ +Bonjour,
+
+Je souhaite revendre {{ form.count }} place(s) pour {{ form.spectacle }}.
+Contactez-moi par email si vous êtes intéressé !
+
+{{ user.get_full_name }} ({{ user.email }}) +
+

+ +
+{% endblock %} diff --git a/templates/bda/bda-success.html b/templates/bda/bda-success.html new file mode 100644 index 00000000..004503fe --- /dev/null +++ b/templates/bda/bda-success.html @@ -0,0 +1,11 @@ +{% extends "base_title.html" %} + +{% block extra_head %} + +{% endblock %} + +{% block realcontent %} + +

Revente de place

+

Votre offre de revente de {{ places }} pour {{ show.title }} le {{ show.date_no_seconds }} ({{ show.location }}) à {{ show.price }}€ a bien été envoyée.

+{% endblock %} diff --git a/templates/bda/bda-token.html b/templates/bda/bda-token.html new file mode 100644 index 00000000..cbe72a76 --- /dev/null +++ b/templates/bda/bda-token.html @@ -0,0 +1,13 @@ +{% extends "base_title.html" %} + +{% block realcontent %} +

Tirage au sort du BdA

+
+ {% csrf_token %} + La graine : +
+ {{ form.token }} +
+ +
+{% endblock %} diff --git a/templates/bda/bda-unpaid.html b/templates/bda/bda-unpaid.html new file mode 100644 index 00000000..5596dd82 --- /dev/null +++ b/templates/bda/bda-unpaid.html @@ -0,0 +1,7 @@ +{% extends "base_title.html" %} + +{% block realcontent %} +

Impayés

+ +{% endblock %} diff --git a/templates/bda/etat-places.html b/templates/bda/etat-places.html new file mode 100644 index 00000000..086ca648 --- /dev/null +++ b/templates/bda/etat-places.html @@ -0,0 +1,11 @@ +{% extends "base_title.html" %} + +{% block realcontent %} +

Etat des inscriptions BDA

+ + Total : {{ total }} demandes +{% endblock %} diff --git a/templates/bda/spectacle_list.html b/templates/bda/spectacle_list.html new file mode 100644 index 00000000..fa869e3d --- /dev/null +++ b/templates/bda/spectacle_list.html @@ -0,0 +1,11 @@ +{% extends "base_title.html" %} + +{% block realcontent %} +

Spectacles

+ +{% endblock %} diff --git a/templates/bda2/bda-attrib-extra.html b/templates/bda2/bda-attrib-extra.html new file mode 100644 index 00000000..c2c266d2 --- /dev/null +++ b/templates/bda2/bda-attrib-extra.html @@ -0,0 +1,27 @@ +{% extends "bda-attrib.html" %} + +{% block extracontent %} + +

Attribution (détails)

+

Token : {{ token }}

+

Placés : {{ total_slots }} ; Déçus : {{ total_losers }}

+ + +{% for member, shows in members2 %} + + + + + + +{% for show in shows %} + + + + + + +{% endfor %} +{% endfor %} +
{{ member.user.get_full_name }}{{ member.user.email }}Total: {{ member.total }}€
{{ show }}
+{% endblock %} diff --git a/templates/bda2/bda-attrib.html b/templates/bda2/bda-attrib.html new file mode 100644 index 00000000..959016d1 --- /dev/null +++ b/templates/bda2/bda-attrib.html @@ -0,0 +1,40 @@ +{% extends "base_title.html" %} + +{% block extra_head %} + +{% endblock %} + +{% block realcontent %} + +

Attribution

+

Token : {{ token }}

+

Placés : {{ total_slots }} ; Déçus : {{ total_losers }}

+{% if user.get_profile.is_buro %}

Déficit total: {{ total_deficit }} €, Opéra: {{ opera_deficit }} €, Attribué: {{ total_sold }} €

{% endif %} + +{% for show, members, losers in results %} +
+

{{ show.title }} - {{ show.date_no_seconds }} @ {{ show.location }}

+

+{{ show.nrequests }} demandes pour {{ show.slots }} places +{{ show.price }}€ par place{% if user.get_profile.is_buro and show.nrequests < show.slots %}, {{ show.deficit }}€ de déficit{% endif %} +

+Places : + +Déçus : +{% if not losers %}/{% else %} + +{% endif %} +
+{% endfor %} +{% block extracontent %} +{% endblock %} +{% endblock %} diff --git a/templates/bda2/bda-emails.html b/templates/bda2/bda-emails.html new file mode 100644 index 00000000..39744ae1 --- /dev/null +++ b/templates/bda2/bda-emails.html @@ -0,0 +1,7 @@ +{% extends "base_title.html" %} + +{% block realcontent %} +

{{ spectacle }}

+ +{% endblock %} diff --git a/templates/bda2/bda-notpaid.html b/templates/bda2/bda-notpaid.html new file mode 100644 index 00000000..10b272d8 --- /dev/null +++ b/templates/bda2/bda-notpaid.html @@ -0,0 +1,6 @@ +{% extends "base_title.html" %} + +{% block realcontent %} +

Nope

+

Avant de revendre des places, il faut aller les payer !

+{% endblock %} diff --git a/templates/bda2/bda-revente.html b/templates/bda2/bda-revente.html new file mode 100644 index 00000000..e2a4804b --- /dev/null +++ b/templates/bda2/bda-revente.html @@ -0,0 +1,25 @@ +{% extends "base_title.html" %} + +{% block extra_head %} + +{% endblock %} + +{% block realcontent %} + +

Revente de place

+
+ {% csrf_token %} +{% if form.spectacle.errors %}{% endif %} +

+ +Bonjour,
+
+Je souhaite revendre {{ form.count }} place(s) pour {{ form.spectacle }}.
+Contactez-moi par email si vous êtes intéressé !
+
+{{ user.get_full_name }} ({{ user.email }}) +
+

+ +
+{% endblock %} diff --git a/templates/bda2/bda-success.html b/templates/bda2/bda-success.html new file mode 100644 index 00000000..004503fe --- /dev/null +++ b/templates/bda2/bda-success.html @@ -0,0 +1,11 @@ +{% extends "base_title.html" %} + +{% block extra_head %} + +{% endblock %} + +{% block realcontent %} + +

Revente de place

+

Votre offre de revente de {{ places }} pour {{ show.title }} le {{ show.date_no_seconds }} ({{ show.location }}) à {{ show.price }}€ a bien été envoyée.

+{% endblock %} diff --git a/templates/bda2/bda-token.html b/templates/bda2/bda-token.html new file mode 100644 index 00000000..cbe72a76 --- /dev/null +++ b/templates/bda2/bda-token.html @@ -0,0 +1,13 @@ +{% extends "base_title.html" %} + +{% block realcontent %} +

Tirage au sort du BdA

+
+ {% csrf_token %} + La graine : +
+ {{ form.token }} +
+ +
+{% endblock %} diff --git a/templates/bda2/bda-unpaid.html b/templates/bda2/bda-unpaid.html new file mode 100644 index 00000000..5596dd82 --- /dev/null +++ b/templates/bda2/bda-unpaid.html @@ -0,0 +1,7 @@ +{% extends "base_title.html" %} + +{% block realcontent %} +

Impayés

+ +{% endblock %} diff --git a/templates/bda2/etat-places.html b/templates/bda2/etat-places.html new file mode 100644 index 00000000..086ca648 --- /dev/null +++ b/templates/bda2/etat-places.html @@ -0,0 +1,11 @@ +{% extends "base_title.html" %} + +{% block realcontent %} +

Etat des inscriptions BDA

+ + Total : {{ total }} demandes +{% endblock %} diff --git a/templates/bda2/inscription-bda.html b/templates/bda2/inscription-bda.html new file mode 100644 index 00000000..0bc3daeb --- /dev/null +++ b/templates/bda2/inscription-bda.html @@ -0,0 +1,116 @@ +{% extends "base_title.html" %} + +{% block extra_head %} + + + + + +{% endblock %} + +{% block realcontent %} + + +

Inscription au tirage au sort du BDA

+ {% if success %} +

Votre inscription a été mise à jour avec succès !

+ {% endif %} +
+ {% csrf_token %} + {% include "inscription-formset.html" %} + + + + Prix total actuel : {{ total_price }}€ +
+

+ 1: demander deux places pour ce spectable
+ 2: abandonner une place si impossible d'en obtenir une seconde pour ce spectacle (si vous avez coché l'option Deux places pour ce spectacle)
+ 3: cette liste de vœu est ordonnée (du plus important au moins important), pour ajuster la priorité vous pouvez déplacer chaque vœu
+

+
+{% endblock %} diff --git a/templates/bda2/inscription-formset.html b/templates/bda2/inscription-formset.html new file mode 100644 index 00000000..04b68a6b --- /dev/null +++ b/templates/bda2/inscription-formset.html @@ -0,0 +1,40 @@ +{{ formset.non_form_errors.as_ul }} + +{{ formset.management_form }} +{% for form in formset.forms %} + {% if forloop.first %} + + {% for field in form.visible_fields %} + {% if field.name != "DELETE" and field.name != "priority" %} + + {% endif %} + {% endfor %} + + + + {% endif %} + + {% for field in form.visible_fields %} + {% if field.name != "DELETE" and field.name != "priority" %} + + {% endif %} + {% endfor %} + + +{% endfor %} + +
{{ field.label|safe|capfirst }}3
+ {% if forloop.first %} + {{ form.non_field_errors }} + {% for hidden in form.hidden_fields %}{{ hidden }}{% endfor %} + {% endif %} + {{ field.errors.as_ul }} + {{ field }} +
+ + + + +
+
+
diff --git a/templates/bda2/spectacle_list.html b/templates/bda2/spectacle_list.html new file mode 100644 index 00000000..0d437f7f --- /dev/null +++ b/templates/bda2/spectacle_list.html @@ -0,0 +1,11 @@ +{% extends "base_title.html" %} + +{% block realcontent %} +

Spectacles

+ +{% endblock %} diff --git a/templates/gestioncof/404.html b/templates/gestioncof/404.html new file mode 100644 index 00000000..9af1bd00 --- /dev/null +++ b/templates/gestioncof/404.html @@ -0,0 +1,6 @@ +{% extends "base_title.html" %} + +{% block realcontent %} +

404

+

Wouh pinaise, y'a rien ici !

+{% endblock %} diff --git a/templates/gestioncof/500.html b/templates/gestioncof/500.html new file mode 100644 index 00000000..451991a2 --- /dev/null +++ b/templates/gestioncof/500.html @@ -0,0 +1,5 @@ +500 +

500

+

Wouh pinaise, y'a une cacahuète dans le beurre !

+ + diff --git a/templates/gestioncof/autocomplete_user.html b/templates/gestioncof/autocomplete_user.html new file mode 100644 index 00000000..6779d5b8 --- /dev/null +++ b/templates/gestioncof/autocomplete_user.html @@ -0,0 +1,29 @@ +{% load utils %} + diff --git a/templates/gestioncof/demande-petit-cours.html b/templates/gestioncof/demande-petit-cours.html new file mode 100644 index 00000000..2ab1d2df --- /dev/null +++ b/templates/gestioncof/demande-petit-cours.html @@ -0,0 +1,16 @@ +{% extends "base_title.html" %} + +{% block realcontent %} +

Demande de petits cours

+ {% if success %} +

Votre demande a été enregistrée avec succès !

+ {% else %} +
+ {% csrf_token %} + + {{ form.as_table }} +
+ +
+ {% endif %} +{% endblock %} diff --git a/templates/gestioncof/error.html b/templates/gestioncof/error.html new file mode 100644 index 00000000..49b49cac --- /dev/null +++ b/templates/gestioncof/error.html @@ -0,0 +1,14 @@ +{% extends "base_title.html" %} + +{% block realcontent %} + {% if error_type == "use_clipper_login" %} +

Votre identifiant est lié à un compte clipper

+

Veuillez vous connecter à l'aide de votre compte clipper

+ {% elif error_type == "no_password" %} +

Votre compte n'a pas de mot de passe associé

+

Veuillez nous contacter pour que nous en définissions un et que nous vous le transmettions !

+ {% else %} +

{{ error_title }}

+

{{ error_description }}

+ {% endif %} +{% endblock %} diff --git a/templates/gestioncof/inscription-petit-cours.html b/templates/gestioncof/inscription-petit-cours.html new file mode 100644 index 00000000..0bc3daeb --- /dev/null +++ b/templates/gestioncof/inscription-petit-cours.html @@ -0,0 +1,116 @@ +{% extends "base_title.html" %} + +{% block extra_head %} + + + + + +{% endblock %} + +{% block realcontent %} + + +

Inscription au tirage au sort du BDA

+ {% if success %} +

Votre inscription a été mise à jour avec succès !

+ {% endif %} +
+ {% csrf_token %} + {% include "inscription-formset.html" %} + + + + Prix total actuel : {{ total_price }}€ +
+

+ 1: demander deux places pour ce spectable
+ 2: abandonner une place si impossible d'en obtenir une seconde pour ce spectacle (si vous avez coché l'option Deux places pour ce spectacle)
+ 3: cette liste de vœu est ordonnée (du plus important au moins important), pour ajuster la priorité vous pouvez déplacer chaque vœu
+

+
+{% endblock %} diff --git a/templates/gestioncof/registration_form.html b/templates/gestioncof/registration_form.html new file mode 100644 index 00000000..4f97157b --- /dev/null +++ b/templates/gestioncof/registration_form.html @@ -0,0 +1,21 @@ + {% if login_clipper %}

Inscription associée au compte clipper {{ login_clipper }}

+ {% elif member %}

Inscription du compte GestioCOF existant {{ member.username }}

+ {% else %}

Inscription d'un nouveau compte (extérieur ?)

{% endif %} +
+ {% csrf_token %} + + {{ user_form.as_table }} + {{ profile_form.as_table }} + {% if event_forms %} +
+ {% for event_form in event_forms %} +
+

Inscription {{ event_form.event.title }} :

+ + {{ event_form.as_table }} +
+ {% endfor %} + {% endif %} + {% if login_clipper or member %}{% endif %} + +
diff --git a/templates/gestioncof/registration_post.html b/templates/gestioncof/registration_post.html new file mode 100644 index 00000000..987f6821 --- /dev/null +++ b/templates/gestioncof/registration_post.html @@ -0,0 +1,12 @@ +{% extends "base_title.html" %} + +{% block realcontent %} +

Inscription d'un nouveau membre

+ {% if success %} +

L'inscription de {{ member.first_name }} {{ member.last_name }} ({{ member.username }}) a été enregistrée avec succès. + {% if member.get_profile.is_cof %}Il est désormais membre du COF n°{{ member.get_profile.num }} !{% endif %}

+ {% endif %} +
+ {% include "registration_form.html" %} +
+{% endblock %} diff --git a/templates/gestioncof/utile_bda.html b/templates/gestioncof/utile_bda.html new file mode 100644 index 00000000..775be4bc --- /dev/null +++ b/templates/gestioncof/utile_bda.html @@ -0,0 +1,14 @@ +{% extends "base_title.html" %} + +{% block homelink %} +{% endblock %} + +{% block realcontent %} +

Liens utiles du BdA

+

Premier tirage

+ +{% endblock %} diff --git a/templates/gestioncof/utile_cof.html b/templates/gestioncof/utile_cof.html new file mode 100644 index 00000000..fd21a381 --- /dev/null +++ b/templates/gestioncof/utile_cof.html @@ -0,0 +1,19 @@ +{% extends "base_title.html" %} + +{% block homelink %} +{% endblock %} + +{% block realcontent %} +

Liens utiles du COF

+

COF

+ + +

Mega

+ +{% endblock %}