added user page and create a new modal from use with button and text
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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',
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user