-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2ca5dda
commit 97f6ce3
Showing
27 changed files
with
14,704 additions
and
71 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,46 @@ | ||
<div *ngFor="let item of centres"> | ||
<!-- <div *ngFor="let item of centres"> | ||
{{ item.nom_centre }} | ||
</div> --> | ||
<div class="contain"> | ||
<div class="title"> | ||
<h1>Liste des centres</h1> | ||
<span>{{ centres.length }} centre</span> | ||
</div> | ||
<div class="container"> | ||
<div class="detailLieuPart" *ngFor="let item of centres"> | ||
<div class="actionPart"> | ||
<button (click)="update(item._id)"> | ||
<img | ||
src="assets/img/icon/create-outline.svg" | ||
alt="" | ||
class="icoAction" | ||
/> | ||
</button> | ||
</div> | ||
<div class="titre"> | ||
{{ item.nom_centre }} | ||
</div> | ||
<div class="adresse"> | ||
{{ item.adresse_centre }} | ||
</div> | ||
<div class="detailsPart"> | ||
<img | ||
src="assets/img/icon/navigate-outline.svg" | ||
alt="" | ||
class="icoDetails" | ||
/> | ||
<span> {{ item.coordonnees_centre }} </span> | ||
</div> | ||
<hr /> | ||
<!-- <div class="titre">QR Code</div> | ||
<div class="qrcode"> | ||
<ngx-qrcode | ||
value="{{ lieux!._id }}" | ||
cssClass="qrcodeshadow" | ||
[width]="500" | ||
[margin]="0" | ||
></ngx-qrcode> --> | ||
<!-- </div> --> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
.contain { | ||
width: 80%; | ||
margin: 0 auto; | ||
} | ||
.container { | ||
display: flex; | ||
flex-wrap: wrap; | ||
justify-content: space-around; | ||
} | ||
* { | ||
font-family: "Poppins", sans-serif; | ||
} | ||
.title { | ||
padding: 1em; | ||
} | ||
|
||
.title h1 { | ||
font-size: 2em; | ||
font-weight: bold; | ||
color: #040608; | ||
font-family: "Poppins", sans-serif; | ||
margin: 0; | ||
} | ||
|
||
.title span { | ||
color: #5d5f66; | ||
} | ||
|
||
.detailLieuPart { | ||
width: 45%; | ||
background-color: #f6f6f6; | ||
padding: 1em; | ||
border-radius: 5px; | ||
} | ||
|
||
.actionPart { | ||
display: flex; | ||
justify-content: flex-end; | ||
margin-bottom: 1em; | ||
} | ||
|
||
.actionPart button { | ||
background-color: transparent; | ||
border: 1px solid #e3e3e3; | ||
border-radius: 5px; | ||
cursor: pointer; | ||
} | ||
|
||
.actionPart .icoAction { | ||
width: 20px; | ||
height: 20px; | ||
filter: invert(12%) sepia(14%) saturate(177%) hue-rotate(181deg) | ||
brightness(96%) contrast(97%); | ||
margin: 0 0.5em; | ||
} | ||
|
||
.detailLieuPart .titre { | ||
font-size: 1.1em; | ||
color: #040608; | ||
} | ||
|
||
.detailLieuPart .adresse { | ||
font-size: 0.9em; | ||
color: #828282; | ||
margin-bottom: 1em; | ||
} | ||
|
||
.detailsPart { | ||
display: flex; | ||
align-items: center; | ||
} | ||
|
||
.detailsPart span { | ||
margin-right: 1em; | ||
} | ||
|
||
.detailsPart .icoDetails { | ||
width: 20px; | ||
height: 20px; | ||
filter: invert(42%) sepia(0%) saturate(7040%) hue-rotate(280deg) | ||
brightness(99%) contrast(92%); | ||
margin-right: 0.5em; | ||
} | ||
|
||
hr { | ||
border: 2px dotted #e3e3e3; | ||
margin: 2em 0; | ||
} | ||
|
||
.qrcode { | ||
display: flex; | ||
justify-content: center; | ||
} | ||
|
||
:host ::ng-deep { | ||
.qrcode, | ||
.qrcodeshadow, | ||
.qrcodeshadow img { | ||
// width: 100%; | ||
height: 200px; | ||
margin-top: 0.5em; | ||
margin-bottom: 3em; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<div class="conteuneurFormulaire"> | ||
<div class="title"> | ||
<h1>Mis à jour centre</h1> | ||
<div class="formButton" (click)="updateCentre()"> | ||
<button type="submit"><span id="addPerson"></span> Ajouter</button> | ||
</div> | ||
</div> | ||
<div class="formulaire"> | ||
<!-- <mat-card> --> | ||
<div class="formGroupItem"> | ||
<div class="formItem"> | ||
<label for="nom">Nom centre</label> | ||
<input | ||
type="text" | ||
id="nom" | ||
name="nom" | ||
[(ngModel)]="centre.nom_centre" | ||
/> | ||
</div> | ||
<div class="formItem"> | ||
<label for="adresse_centre">Adresse centre</label> | ||
<input | ||
type="text" | ||
id="adresse_centre" | ||
name="adresse_centre" | ||
[(ngModel)]="centre.adresse_centre" | ||
/> | ||
</div> | ||
</div> | ||
<div class="formItem"> | ||
<label for="coordonnees_centre">Coordonnées centre</label> | ||
<input | ||
type="text" | ||
id="coordonnees_centre" | ||
name="coordonnees_centre" | ||
[disabled]="centre.id_centre !== ''" | ||
[(ngModel)]="centre.coordonnees_centre" | ||
readonly | ||
/> | ||
</div> | ||
<!-- </mat-card> --> | ||
</div> | ||
</div> | ||
|
||
<div class="map-container" #map></div> | ||
<pre id="coordinates" class="coordinates"></pre> |
Oops, something went wrong.