Merge branch 'dev' into sana

This commit is contained in:
AlineRinquin 2022-02-14 16:38:15 +01:00 committed by GitHub
commit 42b5ac19ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
24 changed files with 11717 additions and 93 deletions

View file

@ -6,7 +6,7 @@
</button>
</div>
<div class="col-sm">
<button class="w-100 btn btn-lg btn-rounded btn-secondary">
<button class="w-100 btn btn-lg btn-rounded btn-secondary" (click)="onClickDelete(personne.id)">
Supprimer
</button>
</div>

View file

@ -1,4 +1,4 @@
import { Component, Input, OnInit } from '@angular/core';
import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';
@Component({
selector: 'app-fiche-contact',
@ -7,8 +7,13 @@ import { Component, Input, OnInit } from '@angular/core';
})
export class FicheContactComponent implements OnInit {
@Input() personne: any;
@Output() clickDelete = new EventEmitter();
constructor() {}
ngOnInit(): void {}
onClickDelete(numPerson: number){
this.clickDelete.emit(numPerson);
}
}

View file

@ -1 +1,6 @@
<p>humeur works!</p>
<p>Mon humeur est :</p>
<p>Affichage des items du tableau des humeurs</p>
<app-emoticon> *ngFor ="let tabHumeur of tabHumeur"
[tabHumeur]="tabHumeur"></app-emoticon>

View file

@ -7,9 +7,23 @@ import { Component, OnInit } from '@angular/core';
})
export class HumeurComponent implements OnInit {
constructor() { }
constructor() {
}
ngOnInit(): void {
}
}

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>