providers continue partie2

This commit is contained in:
2025-11-27 14:19:35 +01:00
parent 043899db3f
commit cbf01acb99
6 changed files with 16 additions and 16 deletions

View File

@@ -1,12 +1,11 @@
import { Component } from '@angular/core';
import {NzModalComponent, NzModalModule} from "ng-zorro-antd/modal";
import {NzButtonComponent, NzButtonModule} from "ng-zorro-antd/button";
import {ProvidersAddForm} from "../providers-add-form/providers-add-form";
import {NzMessageService} from "ng-zorro-antd/message";
@Component({
selector: 'app-providers-card-form',
imports: [NzButtonModule, NzModalModule, ProvidersAddForm],
imports: [NzButtonModule, NzModalModule],
template: `
<button nz-button nzType="primary" (click)="showModal()">
<span>+</span>

View File

@@ -1 +1 @@
<p>providers-card works!</p>
<app-providers-card-form/>

View File

@@ -1,8 +1,9 @@
import { Component } from '@angular/core';
import {ProvidersCardForm} from "../providers-card-form/providers-card-form";
@Component({
selector: 'app-providers-card',
imports: [],
imports: [ProvidersCardForm],
templateUrl: './providers-card.html',
styleUrl: './providers-card.css',
})

View File

@@ -6,4 +6,4 @@
// Override less variables to here
// View all variables: https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/components/style/themes/default.less
@primary-color: #1c1c1c;
// @primary-color: #1890ff;