From 47395c3f61b9c00e6870bd808e8074627549216e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arthur=20Gu=C3=A9don?= <60623551+arthurgdn@users.noreply.github.com> Date: Thu, 27 Aug 2020 00:16:44 +0200 Subject: [PATCH] Supprime ggform (#41) * Modify inscription page (#32) * modify the order of blocks * Update dependencies and TravisCI build (#33) * Update dependencies via a clean npm install * Use Node.js 10 in Travis CI * Specify node==10.x for Heroku * retire le lien vers le gg form * supprime le lien vers le gg form * supprime le lien vers le ggform Co-authored-by: AurianeStrasser2 <32937502+AurianeStrasser2@users.noreply.github.com> Co-authored-by: chiahetcho <44137047+chiahetcho@users.noreply.github.com> Co-authored-by: Florimond Manca <florimond.manca@gmail.com> --- src/app/app.component.css | 1 + .../student-signup.component.html | 24 +++++++++++++------ 2 files changed, 18 insertions(+), 7 deletions(-) diff --git a/src/app/app.component.css b/src/app/app.component.css index fc2b98b..df02f47 100644 --- a/src/app/app.component.css +++ b/src/app/app.component.css @@ -4,3 +4,4 @@ left: 0; width: 100vw; } + \ No newline at end of file diff --git a/src/app/signup/student-signup/student-signup.component.html b/src/app/signup/student-signup/student-signup.component.html index 97d3cb6..a2fec31 100644 --- a/src/app/signup/student-signup/student-signup.component.html +++ b/src/app/signup/student-signup/student-signup.component.html @@ -32,7 +32,7 @@ Il nous permettra de te contacter en cas de nécessité. </mat-hint> </mat-form-field> - + <!-- <p> Pour assurer ton inscription au tutorat, il est <strong>obligatoire</strong> @@ -47,28 +47,38 @@ target="_blank">mentions légales</a>. </small> </p> + <p> J'accepte qu'OSER utilise mes données personnelles fournies ci-dessus ou dans le formulaire d'inscription adminsitrative, dans le strict respect du cadre spécifié ci-dessus : </p> - <mat-checkbox id="checkboxUtilisation" class="checkbox-field" formControlName="agree" required> + <mat-checkbox id="checkboxUtilisation" class="checkbox-field" formControlName="acceptedConditions" required onclick='if (document.getElementById("checkboxUtilisation").classList.contains("mat-checkbox-checked")) { + document.getElementById("boutonChiant").setAttribute("disabled", "true"); + } + else { + document.getElementById("boutonChiant").removeAttribute("disabled"); + }'> J'accepte cette utilisation - </mat-checkbox> + <p class="text-center"> - <a mat-raised-button color="accent" [disabled]="formGroup.value.agree == false" - href="https://docs.google.com/forms/u/1/d/1mIEy-FVgYvrL0Ntl8YpLKVn0DqpjSl9S_ekjqYo53rI/viewform" - target="_blank"> + <a mat-raised-button color="accent" disabled id="boutonChiant" + href="https://docs.google.com/forms/d/e/1FAIpQLScJnkGaDdXWL-sPyHuq58gJivr5xkZ_M5AASRCBHx4a9wR4-Q/viewform?usp=sf_link" + rel="noreferrer" target="_blank"> <mat-icon>launch</mat-icon> Remplir le formulaire </a> </p> + + <mat-checkbox class="checkbox-field" formControlName="filledForm" required> J'ai rempli le formulaire </mat-checkbox> - + --> + + <p> Il ne te reste plus qu'à choisir un mot de passe. :-) </p> -- GitLab