diff --git a/beta/pdf/generer_formulaire.py b/beta/pdf/generer_formulaire.py
index 0ef1839..f589f9d 100644
--- a/beta/pdf/generer_formulaire.py
+++ b/beta/pdf/generer_formulaire.py
@@ -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")
diff --git a/beta/static/pdf/formulaire-testeur-jobrunner.pdf b/beta/static/pdf/formulaire-testeur-jobrunner.pdf
index 4064215..e2440e6 100644
--- a/beta/static/pdf/formulaire-testeur-jobrunner.pdf
+++ b/beta/static/pdf/formulaire-testeur-jobrunner.pdf
@@ -2,7 +2,7 @@
%“Œ‹ž ReportLab Generated PDF document (opensource)
1 0 obj
<<
-/F1 2 0 R /F2+0 52 0 R
+/F1 2 0 R /F2+0 53 0 R
>>
endobj
2 0 obj
@@ -51,7 +51,7 @@ endobj
>> /DA (/Helv 11 Tf .176471 .176471 .176471 rg) /DV () /F 4 /FT /Tx
/Ff 0 /MK <<
/BC [ .545098 .619608 .564706 ] /BG [ 1 1 1 ]
->> /MaxLen 100 /P 48 0 R /Rect [ 46 585.8898 290.6378 607.8898 ] /Subtype /Widget
+>> /MaxLen 100 /P 35 0 R /Rect [ 46 585.8898 290.6378 607.8898 ] /Subtype /Widget
/T (prenom) /TU (Pr\351nom) /Type /Annot /V ()
>>
endobj
@@ -77,7 +77,7 @@ endobj
>> /DA (/Helv 11 Tf .176471 .176471 .176471 rg) /DV () /F 4 /FT /Tx
/Ff 0 /MK <<
/BC [ .545098 .619608 .564706 ] /BG [ 1 1 1 ]
->> /MaxLen 100 /P 48 0 R /Rect [ 304.6378 585.8898 549.2756 607.8898 ] /Subtype /Widget
+>> /MaxLen 100 /P 35 0 R /Rect [ 304.6378 585.8898 549.2756 607.8898 ] /Subtype /Widget
/T (nom) /TU (Nom) /Type /Annot /V ()
>>
endobj
@@ -103,7 +103,7 @@ endobj
>> /DA (/Helv 11 Tf .176471 .176471 .176471 rg) /DV () /F 4 /FT /Tx
/Ff 0 /MK <<
/BC [ .545098 .619608 .564706 ] /BG [ 1 1 1 ]
->> /MaxLen 100 /P 48 0 R /Rect [ 46 535.8898 290.6378 557.8898 ] /Subtype /Widget
+>> /MaxLen 100 /P 35 0 R /Rect [ 46 535.8898 290.6378 557.8898 ] /Subtype /Widget
/T (email) /TU (Adresse e-mail) /Type /Annot /V ()
>>
endobj
@@ -129,7 +129,7 @@ endobj
>> /DA (/Helv 11 Tf .176471 .176471 .176471 rg) /DV () /F 4 /FT /Tx
/Ff 0 /MK <<
/BC [ .545098 .619608 .564706 ] /BG [ 1 1 1 ]
->> /MaxLen 100 /P 48 0 R /Rect [ 304.6378 535.8898 549.2756 557.8898 ] /Subtype /Widget
+>> /MaxLen 100 /P 35 0 R /Rect [ 304.6378 535.8898 549.2756 557.8898 ] /Subtype /Widget
/T (tel) /TU (T\351l\351phone) /Type /Annot /V ()
>>
endobj
@@ -155,7 +155,7 @@ endobj
>> /DA (/Helv 11 Tf .176471 .176471 .176471 rg) /DV () /F 4 /FT /Tx
/Ff 0 /MK <<
/BC [ .545098 .619608 .564706 ] /BG [ 1 1 1 ]
->> /MaxLen 100 /P 48 0 R /Rect [ 46 485.8898 290.6378 507.8898 ] /Subtype /Widget
+>> /MaxLen 100 /P 35 0 R /Rect [ 46 485.8898 290.6378 507.8898 ] /Subtype /Widget
/T (naissance) /TU (Date de naissance) /Type /Annot /V ()
>>
endobj
@@ -235,7 +235,7 @@ endobj
>> /F 4 /FT /Btn /Ff 2
/H /N /MK <<
/BC [ .545098 .619608 .564706 ] /BG [ 1 1 1 ] /CA (4)
->> /P 48 0 R /Rect [ 46 425.8898 60 439.8898 ] /Subtype /Widget /T (age_15_ou_plus)
+>> /P 35 0 R /Rect [ 46 425.8898 60 439.8898 ] /Subtype /Widget /T (age_15_ou_plus)
/TU (J'ai 15 ans ou plus) /Type /Annot /V /Off
>>
endobj
@@ -261,7 +261,7 @@ endobj
>> /DA (/Helv 11 Tf .176471 .176471 .176471 rg) /DV () /F 4 /FT /Tx
/Ff 0 /MK <<
/BC [ .545098 .619608 .564706 ] /BG [ 1 1 1 ]
->> /MaxLen 100 /P 48 0 R /Rect [ 46 351.8898 290.6378 373.8898 ] /Subtype /Widget
+>> /MaxLen 100 /P 35 0 R /Rect [ 46 351.8898 290.6378 373.8898 ] /Subtype /Widget
/T (parent_nom) /TU (Responsable l\351gal) /Type /Annot /V ()
>>
endobj
@@ -287,7 +287,7 @@ endobj
>> /DA (/Helv 11 Tf .176471 .176471 .176471 rg) /DV () /F 4 /FT /Tx
/Ff 0 /MK <<
/BC [ .545098 .619608 .564706 ] /BG [ 1 1 1 ]
->> /MaxLen 100 /P 48 0 R /Rect [ 304.6378 351.8898 549.2756 373.8898 ] /Subtype /Widget
+>> /MaxLen 100 /P 35 0 R /Rect [ 304.6378 351.8898 549.2756 373.8898 ] /Subtype /Widget
/T (parent_email) /TU (E-mail du responsable l\351gal) /Type /Annot /V ()
>>
endobj
@@ -306,27 +306,20 @@ endobj
>> /F 4 /FT /Btn /Ff 2
/H /N /MK <<
/BC [ .545098 .619608 .564706 ] /BG [ 1 1 1 ] /CA (4)
->> /P 48 0 R /Rect [ 46 319.8898 60 333.8898 ] /Subtype /Widget /T (accord_parental)
+>> /P 35 0 R /Rect [ 46 319.8898 60 333.8898 ] /Subtype /Widget /T (accord_parental)
/TU (Accord parental) /Type /Annot /V /Off
>>
endobj
35 0 obj
<<
-/AP <<
-/D <<
-/Off 24 0 R /Yes 23 0 R
->> /N <<
-/Off 22 0 R /Yes 21 0 R
->> /R <<
-/Off 26 0 R /Yes 25 0 R
+/Annots [ 8 0 R 11 0 R 14 0 R 17 0 R 20 0 R 27 0 R 30 0 R 33 0 R 34 0 R ] /Contents 57 0 R /MediaBox [ 0 0 595.2756 841.8898 ] /Parent 56 0 R /Resources <<
+/Font 1 0 R /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ] /XObject <<
+/FormXob.a0ead3c46bdf4dde94efec4094db8672 3 0 R
>>
->> /AS /Off /BS <<
-/S /S /W 1
->> /F 4 /FT /Btn /Ff 2
- /H /N /MK <<
-/BC [ .545098 .619608 .564706 ] /BG [ 1 1 1 ] /CA (4)
->> /P 48 0 R /Rect [ 46 253.8898 60 267.8898 ] /Subtype /Widget /T (accord_participation)
- /TU (Accord de participation) /Type /Annot /V /Off
+>> /Rotate 0
+ /Trans <<
+
+>> /Type /Page
>>
endobj
36 0 obj
@@ -344,8 +337,8 @@ endobj
>> /F 4 /FT /Btn /Ff 2
/H /N /MK <<
/BC [ .545098 .619608 .564706 ] /BG [ 1 1 1 ] /CA (4)
->> /P 48 0 R /Rect [ 46 206.8898 60 220.8898 ] /Subtype /Widget /T (confidentialite)
- /TU (Confidentialit\351 de la b\352ta) /Type /Annot /V /Off
+>> /P 49 0 R /Rect [ 46 705.8898 60 719.8898 ] /Subtype /Widget /T (accord_participation)
+ /TU (Accord de participation) /Type /Annot /V /Off
>>
endobj
37 0 obj
@@ -363,8 +356,8 @@ endobj
>> /F 4 /FT /Btn /Ff 2
/H /N /MK <<
/BC [ .545098 .619608 .564706 ] /BG [ 1 1 1 ] /CA (4)
->> /P 48 0 R /Rect [ 46 159.8898 60 173.8898 ] /Subtype /Widget /T (rgpd)
- /TU (Consentement RGPD minimal) /Type /Annot /V /Off
+>> /P 49 0 R /Rect [ 46 658.8898 60 672.8898 ] /Subtype /Widget /T (confidentialite)
+ /TU (Confidentialit\351 de la b\352ta) /Type /Annot /V /Off
>>
endobj
38 0 obj
@@ -382,42 +375,35 @@ endobj
>> /F 4 /FT /Btn /Ff 2
/H /N /MK <<
/BC [ .545098 .619608 .564706 ] /BG [ 1 1 1 ] /CA (4)
->> /P 48 0 R /Rect [ 46 99.88976 60 113.8898 ] /Subtype /Widget /T (suivi_reseaux)
- /TU (Facultatif : r\351seaux sociaux) /Type /Annot /V /Off
+>> /P 49 0 R /Rect [ 46 611.8898 60 625.8898 ] /Subtype /Widget /T (rgpd)
+ /TU (Consentement RGPD minimal) /Type /Annot /V /Off
>>
endobj
39 0 obj
-<< /BaseFont /Helvetica /Subtype /Type1 /Name /Helv /Type /Font /Encoding 5 0 R >>
+<<
+/AP <<
+/D <<
+/Off 24 0 R /Yes 23 0 R
+>> /N <<
+/Off 22 0 R /Yes 21 0 R
+>> /R <<
+/Off 26 0 R /Yes 25 0 R
+>>
+>> /AS /Off /BS <<
+/S /S /W 1
+>> /F 4 /FT /Btn /Ff 2
+ /H /N /MK <<
+/BC [ .545098 .619608 .564706 ] /BG [ 1 1 1 ] /CA (4)
+>> /P 49 0 R /Rect [ 46 551.8898 60 565.8898 ] /Subtype /Widget /T (suivi_reseaux)
+ /TU (Facultatif : r\351seaux sociaux) /Type /Annot /V /Off
+>>
endobj
40 0 obj
-<<
-/BBox [ 0 0 244.6378 22 ] /Filter [ /FlateDecode ] /FormType 1 /Length 120 /Matrix [ 1 0 0 1 0 0 ] /Resources << /ProcSet [/PDF /Text] /Font <> >>
- /Subtype /Form /Type /XObject
->>
-stream
-xœeŽ;
-ADó:E�`ìîížOê"m ž@Í×@�ïLª<ŠJŠG)µ³Ý!š{ÊS)-¬D4‰J3nWÜ�ÂCZeÊÚ²ôŽìE2O”oH
-Ž˜O†vç÷ëL>
endobj
41 0 obj
<<
-/AP <<
-/N 40 0 R
->> /BS <<
-/S /S /W 1
->> /DA (/Helv 11 Tf .176471 .176471 .176471 rg) /DV () /F 4 /FT /Tx
- /Ff 0 /MK <<
-/BC [ .545098 .619608 .564706 ] /BG [ 1 1 1 ]
->> /MaxLen 100 /P 48 0 R /Rect [ 46 15.88976 290.6378 37.88976 ] /Subtype /Widget
- /T (lieu) /TU (Lieu) /Type /Annot /V ()
->>
-endobj
-42 0 obj
-<< /BaseFont /Helvetica /Subtype /Type1 /Name /Helv /Type /Font /Encoding 5 0 R >>
-endobj
-43 0 obj
-<<
-/BBox [ 0 0 244.6378 22 ] /Filter [ /FlateDecode ] /FormType 1 /Length 120 /Matrix [ 1 0 0 1 0 0 ] /Resources << /ProcSet [/PDF /Text] /Font <> >>
+/BBox [ 0 0 244.6378 22 ] /Filter [ /FlateDecode ] /FormType 1 /Length 120 /Matrix [ 1 0 0 1 0 0 ] /Resources << /ProcSet [/PDF /Text] /Font <> >>
/Subtype /Form /Type /XObject
>>
stream
@@ -425,107 +411,128 @@ x
ADó:E�`ìîížOê"m ž@Í×@�ïLª<ŠJŠG)µ³Ý!š{ÊS)-¬D4‰J3nWÜ�ÂCZeÊÚ²ôŽìE2O”oH
Ž˜O†vç÷ëL> /BS <<
/S /S /W 1
>> /DA (/Helv 11 Tf .176471 .176471 .176471 rg) /DV () /F 4 /FT /Tx
/Ff 0 /MK <<
/BC [ .545098 .619608 .564706 ] /BG [ 1 1 1 ]
->> /MaxLen 100 /P 48 0 R /Rect [ 304.6378 15.88976 549.2756 37.88976 ] /Subtype /Widget
+>> /MaxLen 100 /P 49 0 R /Rect [ 46 467.8898 290.6378 489.8898 ] /Subtype /Widget
+ /T (lieu) /TU (Lieu) /Type /Annot /V ()
+>>
+endobj
+43 0 obj
+<< /BaseFont /Helvetica /Subtype /Type1 /Name /Helv /Type /Font /Encoding 5 0 R >>
+endobj
+44 0 obj
+<<
+/BBox [ 0 0 244.6378 22 ] /Filter [ /FlateDecode ] /FormType 1 /Length 120 /Matrix [ 1 0 0 1 0 0 ] /Resources << /ProcSet [/PDF /Text] /Font <> >>
+ /Subtype /Form /Type /XObject
+>>
+stream
+xœeŽ;
+ADó:E�`ìîížOê"m ž@Í×@�ïLª<ŠJŠG)µ³Ý!š{ÊS)-¬D4‰J3nWÜ�ÂCZeÊÚ²ôŽìE2O”oH
+Ž˜O†vç÷ëL> /BS <<
+/S /S /W 1
+>> /DA (/Helv 11 Tf .176471 .176471 .176471 rg) /DV () /F 4 /FT /Tx
+ /Ff 0 /MK <<
+/BC [ .545098 .619608 .564706 ] /BG [ 1 1 1 ]
+>> /MaxLen 100 /P 49 0 R /Rect [ 304.6378 467.8898 549.2756 489.8898 ] /Subtype /Widget
/T (date_signature) /TU (Date) /Type /Annot /V ()
>>
endobj
-45 0 obj
+46 0 obj
<< /BaseFont /Helvetica /Subtype /Type1 /Name /Helv /Type /Font /Encoding 5 0 R >>
endobj
-46 0 obj
+47 0 obj
<<
-/BBox [ 0 0 503.2756 34 ] /Filter [ /FlateDecode ] /FormType 1 /Length 119 /Matrix [ 1 0 0 1 0 0 ] /Resources << /ProcSet [/PDF /Text] /Font <> >>
+/BBox [ 0 0 503.2756 34 ] /Filter [ /FlateDecode ] /FormType 1 /Length 119 /Matrix [ 1 0 0 1 0 0 ] /Resources << /ProcSet [/PDF /Text] /Font <> >>
/Subtype /Form /Type /XObject
>>
stream
xœeŽ1Â0CwŸÂ'ÿ'qÚ¬T¨SªJœ Ø�(Ÿd®,ËËÓ“�Þ²?a4ÊRˆƒTMrÝÅ”¹ßñ@P–Õ‘¡x-ÖV%V¸Îp~aAì•Ń!uçíÇó2oDFæZ¤uò†W;Ó͸â²Lø—v!endstream
endobj
-47 0 obj
+48 0 obj
<<
/AP <<
-/N 46 0 R
+/N 47 0 R
>> /BS <<
/S /S /W 1
>> /DA (/Helv 11 Tf .176471 .176471 .176471 rg) /DV () /F 4 /FT /Tx
/Ff 0 /MK <<
/BC [ .545098 .619608 .564706 ] /BG [ 1 1 1 ]
->> /MaxLen 100 /P 48 0 R /Rect [ 46 -46.11024 549.2756 -12.11024 ] /Subtype /Widget
+>> /MaxLen 100 /P 49 0 R /Rect [ 46 405.8898 549.2756 439.8898 ] /Subtype /Widget
/T (signature) /TU (Signature) /Type /Annot /V ()
>>
endobj
-48 0 obj
+49 0 obj
<<
-/Annots [ 8 0 R 11 0 R 14 0 R 17 0 R 20 0 R 27 0 R 30 0 R 33 0 R 34 0 R 35 0 R
- 36 0 R 37 0 R 38 0 R 41 0 R 44 0 R 47 0 R ] /Contents 56 0 R /MediaBox [ 0 0 595.2756 841.8898 ] /Parent 55 0 R /Resources <<
-/Font 1 0 R /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ] /XObject <<
-/FormXob.a0ead3c46bdf4dde94efec4094db8672 3 0 R
->>
+/Annots [ 36 0 R 37 0 R 38 0 R 39 0 R 42 0 R 45 0 R 48 0 R ] /Contents 58 0 R /MediaBox [ 0 0 595.2756 841.8898 ] /Parent 56 0 R /Resources <<
+/Font 1 0 R /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ]
>> /Rotate 0
/Trans <<
>> /Type /Page
>>
endobj
-49 0 obj
-<<
-/Filter [ /FlateDecode ] /Length 689
->>
-stream
-xœeÕËnÚP…á9Oáa«Àg߈„�r•2èEM_€˜CŠŒeÈ oß³¼PzÔ"‘ýãù„{~ûx÷ØïÏÍüÇxìžò¹Ùíûí˜OÇ·±ËÍs~Ù÷³65Û}w¾|šþv‡Í0›—›ŸÞOç|xìwÇÙjÕÌ–“§óøÞ|ºž^_v›×Sþ<›·yÜ÷/ÿ�xz†×|Èý¹YÌÖëf›wå‹¿n†o›CnæõÕÏýzr“¦Ï-YÝq›OæËã¦É³Õb±nVñ°žå~ûϹ6-yÏó®û½/×.Êk]º�úþ�¦¾ ´ðøt�²¯Ð6õít½³§ãÁNè%¯_¢¯x|úžëêÿÞT}[õ]Õ÷U?üí¶ò·mÕ©j©Z«¶ª½ê¨zYõUÕ•¿ümåo+[ùÛÊŸèOSÓ_Fiú~ÃD¥é/£4ýe”¦¿ŒÒô'<»DÂïŸèOxF‰þ„g—è/£4ýe”¦¿ŒÒô—Qšþ2f+¡_àú~¡_àú~¡_àú~¡_àú~¡_àú~¡_àú~¡_àú~¡_àú~¥_áWú~¥_áWú~¥_áWú~¥_áWú~¥_áWú~¥_áWú~¥_áWú~¥_áWú~£ßà7ú
~£ßà7ú
~£ßà7ú
~£ßà7ú
~£ßà7ú
~£ßà7ú
~£ßà7ú
~£ßà7ú
~§ßáwú~§ßáwú~§ßáwú~§ßáwú~§ßáwú~§ßáwú~§ßáwú~§ßáwúþ ?àúþ ?àúþ ?àúþ ?àúþ ?àúþ ?àúþ ?àúþ ?àú/â² °+°Ø>ÖO÷6Že3MÛoZ,Èá8à.¼ÿ Î%š;endstream
-endobj
50 0 obj
<<
-/Filter [ /FlateDecode ] /Length 7259 /Length1 11296
+/Filter [ /FlateDecode ] /Length 688
>>
stream
-xœ•z @[Ç™ÿÌ$@\º¹yB a›[—sØ€
cã„‘’� ÛÄŽo¯›ÄG0NšØmRÇq¶ÙÆé¦‰›d³Ý$ë8mÒM7N¶í×›nÒœþw»MÖNR·<í7óž g‰÷Þ÷Þ›ùæ÷�óÍ „Bqh/’ ®½«¸¬gúótxò8úúG\¹Nþ/áx8´[½;÷øÕ»"¹eå¹]%kó
qË ½mÄ^‹º ÷{á>whdlÇ©©oÂý9èÎëïw_þÀ„rhûwG\;è´!CÜs>׈»+þYÜÛŠy%à�…_Gå úE>�¢aü{H