Fix bug and change text
This commit is contained in:
parent
ffe6e16754
commit
9b0cf5e857
4 changed files with 6 additions and 6 deletions
|
|
@ -94,9 +94,9 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Liste des commentaires -->
|
||||
<!-- Liste des informations -->
|
||||
<div *ngIf="infos.length > 0; else noComment" class="d-flex flex-column align-items-center w-50">
|
||||
<h3 class="text-center text-primary">Liste des commentaires</h3>
|
||||
<h3 class="text-center text-primary">Liste des informations</h3>
|
||||
<ul class="list-group shadow-sm">
|
||||
<li class="list-group-item d-flex justify-content-between align-items-start" *ngFor="let info of infos">
|
||||
<div class="ms-2 me-auto">
|
||||
|
|
@ -114,6 +114,6 @@
|
|||
|
||||
<!-- Message si aucun commentaire -->
|
||||
<ng-template #noComment>
|
||||
<p class="text-muted text-center mt-3">Aucun commentaire pour le moment</p>
|
||||
<p class="text-muted text-center mt-3">Aucune information pour le moment</p>
|
||||
</ng-template>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ export class AccountComponent {
|
|||
nameFirst: ['', [Validators.required, Validators.minLength(3)]],
|
||||
email: ['', [Validators.required, Validators.pattern(/^[a-zA-Z0-9._%+-]+$/)]],
|
||||
address: ['', [Validators.required, Validators.minLength(10)]],
|
||||
codePostal: ['', [Validators.required, Validators.minLength(4), Validators.pattern(/^0-9$/)]],
|
||||
codePostal: ['', [Validators.required, Validators.minLength(4), Validators.pattern(/^\d{4,}$/)]],
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<!-- Contenu principal -->
|
||||
<div class="container text-center mt-4">
|
||||
<h1 class="text-primary">Bienvenue à la formation AngularJS</h1>
|
||||
<h1 class="text-primary">Bienvenue à la formation Angular</h1>
|
||||
|
||||
<div class="mt-3">
|
||||
<a class="btn btn-outline-primary me-2" routerLink="/about">About</a>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<!-- Navbar Bootstrap -->
|
||||
<nav class="navbar navbar-expand-lg navbar-dark bg-primary">
|
||||
<div class="container">
|
||||
<a class="navbar-brand" routerLink="/">AngularJS</a>
|
||||
<a class="navbar-brand" routerLink="/">Angular</a>
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue