component meteo

This commit is contained in:
Blandine Bajard 2022-02-14 12:59:15 +01:00
parent 2f5705e766
commit d89214db19
5 changed files with 14 additions and 8 deletions

View File

@ -1,7 +1,4 @@
<div class="meteo">
<input type="text" id="ville">
<label for="ville">Entrez votre code postal</label>
<button id="meteo-button">Ok !</button>
<iframe id="widget_autocomplete_preview" width="150" height="300" frameborder="0"
<iframe id="widget_autocomplete_preview" width="400" height="150" frameborder="1" border-radius="5"
src="https://meteofrance.com/widget/prevision/751010"> </iframe>
</div>

View File

@ -1,5 +1,8 @@
<app-header></app-header>
<app-side-bar></app-side-bar>
<div class="meteo">
<app-meteo></app-meteo>
</div>
<div class="d-flex justify-content-center">
<button button type="button" class="btn btn-primary btn-lg"
routerLink="../creation-team"

View File

@ -0,0 +1,5 @@
.meteo {
display: flex;
margin-left: 300px;
margin-top: -60px;
}

View File

@ -23,11 +23,11 @@ export class PageForgotPasswordComponent implements OnInit {
public onSubmit(submittedForm: any): void {
console.log(submittedForm.form.value);
const email = submittedForm.form.value['email'];
console.log(email);
// const email = submittedForm.form.value['email'];
// console.log(email);
window.alert("Vous allez recevoir un email pour re-initialiser votre mot de passe !")
this.router.navigate(['reinitialisation-password']);
;
// this.router.navigate(['reinitialisation-password']);
}
}