fix(beta): formulaire PDF sur 2 pages (la signature depassait de la page)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Cette révision appartient à :
Théo GastineletClaude Sonnet 5.5 a révisé 2026-10-29 10:30:35 +01:00
1 Parent c3829a3848
révision 15da7e1385
2 fichiers modifiés
+178 -155

Aucun fichier ne correspond à votre recherche

+10 -3
Voir le fichier
@@ -59,6 +59,10 @@ def main():
texte(l, x, y, taille=taille); y -= inter
return y
def pied():
c.setStrokeColor(FILET); c.line(M, 50, W - M, 50)
texte("À renvoyer à contact@jobrunner.fr · JobRunner bêta : version d'essai, données fictives, paiements simulés.", M, 34, taille=8.5, couleur=DOUX)
# ---------- Page 1 ----------
fond()
c.drawImage(str(RACINE / "assets" / "img" / "logo.png"), M, Hh - 100, width=56, height=56, mask="auto")
@@ -94,7 +98,11 @@ def main():
case("accord_parental", M, y - 2, "Accord parental")
y = para(["Je suis le responsable légal et j'autorise ce mineur à participer à la bêta."], M + 24, y + 1)
y -= 30
pied()
c.showPage()
fond()
texte("Formulaire testeur JobRunner bêta (suite)", M, Hh - 60, "Chillax-Bold", 14)
y = Hh - 110
texte("3. Engagements (à cocher)", M, y, "Chillax-Bold", 14); y -= 24
blocs = [("accord_participation", "Accord de participation",
["J'accepte de participer à la bêta de JobRunner à titre bénévole, de donner mon avis",
@@ -121,8 +129,7 @@ def main():
texte("Signature (nom, ou signature manuscrite après impression) :", M, y + 26, taille=9.5, couleur=DOUX)
champ("signature", M, y - 12, W - 2 * M, "Signature", h=34)
c.setStrokeColor(FILET); c.line(M, 50, W - M, 50)
texte("À renvoyer à contact@jobrunner.fr · JobRunner bêta : version d'essai, données fictives, paiements simulés.", M, 34, taille=8.5, couleur=DOUX)
pied()
c.showPage()
c.save()
print("PDF écrit :", SORTIE, SORTIE.stat().st_size, "octets")