Merge pull request #78 from AlineRinquin/aline

Aline
This commit is contained in:
AlineRinquin 2022-03-04 16:18:30 +01:00 committed by GitHub
commit 4ccbbf869b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 56 additions and 83 deletions

View File

@ -1,13 +1,12 @@
<div class="container mt-5 membre"> <div class="card m-1 p-1 avatar bg-light">
<div class="row d-flex justify-content-center">
<div class="col-md-auto"> <div class="card-img-top">
<div class="card p-3 py-4 align-items"> <div class="rounded-circle"id="couleur"[style.background-color]="membre.couleur">
<!-- récuperer couleur du back--> </div>
<div class="text-center"><div class="rounded-circle"id="couleur"[style.background-color]="membre.couleur"></div></div>
<div class="text-center mt-3">
<h3 class="mt-2 mb-0">{{membre.prenom }} {{membre.nom }}</h3>
</div>
</div>
</div>
</div> </div>
</div>
<div class="card-body">
<h6 class="card-title flex-wrap d-flex flex-column border">{{membre.prenom }} {{membre.nom }}</h6>
</div>
</div>

View File

@ -3,18 +3,14 @@
height: 60px; height: 60px;
margin: 0 auto; margin: 0 auto;
background: black; background: black;
} }
.card { .card-title{
min-height: 8px; text-align: center;
border: none;
overflow: hidden;
border-radius: 8px;
justify-content: center;
} }
.avatar{
h3 { width: 150px;
font-size: small; height: 170px;
} border-radius: 20px;
}

View File

@ -2,30 +2,37 @@
<app-side-bar></app-side-bar> <app-side-bar></app-side-bar>
<div class="container"> <div class="container">
<div> <div class="row p-1 col-12 ">
<h3 class="titre">Bienvenue {{ conectedUser.prenom }}!!</h3>
</div> <div class="row ">
<div class="row d-flex align-items-center flex-row"> <h3 class="titre">Bienvenue {{ conectedUser.prenom }}!!</h3>
<div class="col-sm-3 col-xs-6 box border" id="boxThree">
<app-meteo></app-meteo>
</div>
<div class="col-sm-3 col-xs-6 box border" id="boxTwo">
<app-calendrier>A venir</app-calendrier>
</div> </div>
<div class="row"> <div class="row col-12">
<div class="col-sm-3 col-xs-6 box border" id="boxFour">
<div> <div class="col-5 d-flex flex-column align-items-start">
<div class="d-flex justify-content-center w-100 my-2" id="boxThree">
<app-meteo></app-meteo>
</div>
<div class="d-flex justify-content-center w-100 my-2">
<app-humeur></app-humeur> <app-humeur></app-humeur>
</div> </div>
</div> </div>
<div class=" col-7" id="boxTwo">
<app-calendrier class="w-100 h-100">A venir</app-calendrier>
</div>
</div> </div>
<div class="row avatar"> <div class="row d-flex flex-wrap my-2 p-1">
<div class="col" *ngFor="let membreData of listMembres"> <ul class="list-inline">
<app-card-avatar [membre]="membreData"> </app-card-avatar> <li class="list-inline-item" *ngFor="let membreData of listMembres">
<app-card-avatar class="avatar" [membre]="membreData"> </app-card-avatar>
</li>
</ul>
</div> </div>
</div>
</div> </div>
</div> </div>

View File

@ -11,40 +11,9 @@
} }
.container { .container {
display: flex; margin-left:200px;
padding: 20px;
}
button{
margin-bottom: 5px;
}
.calendrier{
align-content: flex-end;
}
#boxFour{
height: 150px;
margin-top: -99px;
width: fit-content;
}
#boxThree{
margin-top: -85px;
height: 150px;
width: fit-content;
}
#boxTwo{
margin-top: 50px;
margin-left: 150px;
height: 50%;
width: fit-content;
} }
.avatar{ .avatar{
margin-top: -50px; margin:O;
justify-content: space-between;
margin: 0;
} }

View File

@ -20,10 +20,10 @@
id="floatingInputlastName" id="floatingInputlastName"
placeholder="" placeholder=""
name="lastName" name="lastName"
formControlName="lastNameFc" value= "{{ listContactInfo.nom }}"> formControlName="lastNameFc" value= "{{ listContactInfo.nom }}"
[(ngModel)]="listContactInfo.nom">
<label for="floatingInputlastName">Nom</label> <label for="floatingInputlastName">Nom</label>
</div> </div>
<div class="form-floating"> <div class="form-floating">
<input type="text" <input type="text"
@ -31,10 +31,10 @@
id="floatingInputfirstName" id="floatingInputfirstName"
placeholder="" placeholder=""
name="firstName" name="firstName"
formControlName="firstNameFc" value= "{{ listContactInfo.prenom }}"> formControlName="firstNameFc" value= "{{ listContactInfo.prenom }}"
[(ngModel)]="listContactInfo.prenom">
<label for="floatingInputfirstName">Prénom</label> <label for="floatingInputfirstName">Prénom</label>
</div> </div>
<div class="form-floating"> <div class="form-floating">
<input type="text" <input type="text"
@ -42,10 +42,10 @@
id="floatingInputTelephone" id="floatingInputTelephone"
placeholder="" placeholder=""
name="telephone" name="telephone"
formControlName="telephoneFc" value= "{{ listContactInfo.telephone }}"> formControlName="telephoneFc" value= "{{ listContactInfo.telephone }}"
[(ngModel)]="listContactInfo.telephone">
<label for="floatingInputfirstName">Téléphone</label> <label for="floatingInputfirstName">Téléphone</label>
</div> </div>
<div class="form-floating"> <div class="form-floating">
<input type="email" <input type="email"
@ -53,29 +53,31 @@
id="floatingInput" id="floatingInput"
placeholder="" placeholder=""
name="email" name="email"
formControlName="emailFc" value= "{{ listContactInfo.email }}"> formControlName="emailFc" value= "{{ listContactInfo.email }}"
[(ngModel)]="listContactInfo.email">
<label for="floatingInput">Adresse email</label> <label for="floatingInput">Adresse email</label>
</div> </div>
<div class="form-floating"> <div class="form-floating">
<input type="date" <input type="date"
class="form-control" class="form-control"
id="floatingInputdateNaissance" id="floatingInputdateNaissance"
placeholder="" placeholder=""
name="dateNaissance" name="dateNaissance"
formControlName="dateNaissanceFc" value= "{{ listContactInfo.dateNaissance }}"> formControlName="dateNaissanceFc"
value= "{{ listContactInfo.dateNaissance }}"
[(ngModel)]="listContactInfo.dateNaissance">
<label for="floatingInputfirstName">Date de naissance</label> <label for="floatingInputfirstName">Date de naissance</label>
</div> </div>
<div class="form-floating"> <div class="form-floating">
<input type="text" <input type="text"
class="form-control" class="form-control"
id="floatingInputAdresse" id="floatingInputAdresse"
placeholder="" placeholder=""
name="adresse" name="adresse"
formControlName="adresseFc" value= "{{ listContactInfo.adresse }}"> formControlName="adresseFc" value= "{{ listContactInfo.adresse }}"
[(ngModel)]="listContactInfo.adresse">
<label for="floatingInputfirstName">Adresse</label> <label for="floatingInputfirstName">Adresse</label>
</div> </div>