added user page and create a new modal from use with button and text

This commit is contained in:
2025-11-14 00:14:28 +01:00
parent 43a9bcf1cc
commit b5fa0d0d4b
10 changed files with 247 additions and 10 deletions

View File

@@ -1 +1,7 @@
<p>user works!</p>
<app-modal-button name="Ajouter un utilisateur">
<app-profil-form></app-profil-form>
</app-modal-button>
<div class="mt-2">
<app-user-table></app-user-table>
</div>

View File

@@ -1,8 +1,15 @@
import { Component } from '@angular/core';
import {UserTable} from "../../components/user-table/user-table";
import {ModalButton} from "../../components/modal-button/modal-button";
import {ProfilForm} from "../../components/profil-form/profil-form";
@Component({
selector: 'app-user',
imports: [],
imports: [
UserTable,
ModalButton,
ProfilForm
],
templateUrl: './user.html',
styleUrl: './user.css',
})