providers create form added
This commit is contained in:
@@ -1 +1 @@
|
|||||||
<p>customers works!</p>
|
<app-customers-card-form/>
|
||||||
|
|||||||
@@ -1,8 +1,11 @@
|
|||||||
import { Component } from '@angular/core';
|
import { Component } from '@angular/core';
|
||||||
|
import {CustomersCardForm} from "./customers-card-form/customers-card-form";
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-customers',
|
selector: 'app-customers',
|
||||||
imports: [],
|
imports: [
|
||||||
|
CustomersCardForm
|
||||||
|
],
|
||||||
templateUrl: './customers.html',
|
templateUrl: './customers.html',
|
||||||
styleUrl: './customers.css',
|
styleUrl: './customers.css',
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -2,13 +2,14 @@ import { Component } from '@angular/core';
|
|||||||
import {NzModalComponent, NzModalModule} from "ng-zorro-antd/modal";
|
import {NzModalComponent, NzModalModule} from "ng-zorro-antd/modal";
|
||||||
import {NzButtonComponent, NzButtonModule} from "ng-zorro-antd/button";
|
import {NzButtonComponent, NzButtonModule} from "ng-zorro-antd/button";
|
||||||
import {NzMessageService} from "ng-zorro-antd/message";
|
import {NzMessageService} from "ng-zorro-antd/message";
|
||||||
|
import {ProvidersAddForm} from "../providers-add-form/providers-add-form";
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-providers-card-form',
|
selector: 'app-providers-card-form',
|
||||||
imports: [NzButtonModule, NzModalModule],
|
imports: [NzButtonModule, NzModalModule, ProvidersAddForm],
|
||||||
template: `
|
template: `
|
||||||
<button nz-button nzType="primary" (click)="showModal()">
|
<button nz-button nzType="primary" (click)="showModal()">
|
||||||
<span>+</span>
|
<span style="font-weight: bold">+</span>
|
||||||
</button>
|
</button>
|
||||||
<nz-modal
|
<nz-modal
|
||||||
[(nzVisible)]="isVisible"
|
[(nzVisible)]="isVisible"
|
||||||
@@ -17,10 +18,10 @@ import {NzMessageService} from "ng-zorro-antd/message";
|
|||||||
[nzFooter]="modalFooter"
|
[nzFooter]="modalFooter"
|
||||||
(nzOnCancel)="handleCancel()"
|
(nzOnCancel)="handleCancel()"
|
||||||
>
|
>
|
||||||
<ng-template #modalTitle style="text-align: center">Création de prestataires</ng-template>
|
<ng-template #modalTitle>Création de prestataires</ng-template>
|
||||||
|
|
||||||
<ng-template #modalContent>
|
<ng-template #modalContent>
|
||||||
<app-providers-add-form></app-providers-add-form>
|
<app-providers-add-form/>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
|
|
||||||
<ng-template #modalFooter>
|
<ng-template #modalFooter>
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
<app-providers-card-form></app-providers-card-form>
|
<app-providers-card-form/>
|
||||||
@@ -1 +1 @@
|
|||||||
<p>staff works!</p>
|
<app-staff-card-form/>
|
||||||
|
|||||||
@@ -1,8 +1,11 @@
|
|||||||
import { Component } from '@angular/core';
|
import { Component } from '@angular/core';
|
||||||
|
import {StaffCardForm} from "./staff-card-form/staff-card-form";
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-staff',
|
selector: 'app-staff',
|
||||||
imports: [],
|
imports: [
|
||||||
|
StaffCardForm
|
||||||
|
],
|
||||||
templateUrl: './staff.html',
|
templateUrl: './staff.html',
|
||||||
styleUrl: './staff.css',
|
styleUrl: './staff.css',
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -6,4 +6,4 @@
|
|||||||
// Override less variables to here
|
// Override less variables to here
|
||||||
// View all variables: https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/components/style/themes/default.less
|
// View all variables: https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/components/style/themes/default.less
|
||||||
|
|
||||||
// @primary-color: #1890ff;
|
@primary-color: #1c1c1c;
|
||||||
|
|||||||
Reference in New Issue
Block a user