providers continue partie2
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
}
|
||||
|
||||
.app-layout {
|
||||
height: 150vh;
|
||||
height: 150vh;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
@@ -36,8 +36,8 @@
|
||||
|
||||
.logo img {
|
||||
display: inline-block;
|
||||
height: 70px;
|
||||
width: 130px;
|
||||
height: 70px;
|
||||
width: 130px;
|
||||
}
|
||||
|
||||
.logo h1 {
|
||||
|
||||
@@ -2,16 +2,16 @@
|
||||
<nz-header>
|
||||
<div class="logo">
|
||||
<a>
|
||||
<img src="../logo-navbar.svg" alt="logo">
|
||||
<h1>Gestion des relations</h1>
|
||||
<img src="../logo-navbar.svg" alt="logo">
|
||||
<h1>Gestion des relations</h1>
|
||||
</a>
|
||||
</div>
|
||||
<ul nz-menu class="top-nav" nzTheme="dark" nzMode="horizontal">
|
||||
<li nz-menu-item class="nav-item" routerLinkActive="ant-menu-item-selected" routerLink="/customers"><nz-icon nzType="shop" nzTheme="outline" /> Clients</li>
|
||||
<li nz-menu-item class="nav-item" routerLinkActive="ant-menu-item-selected" routerLink="/providers"><nz-icon nzType="solution" nzTheme="outline" /> Prestataires</li>
|
||||
<li nz-menu-item class="nav-item" routerLinkActive="ant-menu-item-selected" routerLink="/staff"><nz-icon nzType="fire" nzTheme="fill" /> Artificiers</li>
|
||||
<li nz-menu-item class="nav-item" routerLinkActive="ant-menu-item-selected" routerLink="/opportunities"><nz-icon nzType="stock" nzTheme="outline" /> Opportunités</li>
|
||||
</ul>
|
||||
<ul nz-menu class="top-nav" nzTheme="dark" nzMode="horizontal">
|
||||
<li nz-menu-item class="nav-item" routerLinkActive="ant-menu-item-selected" routerLink="/customers"><nz-icon nzType="shop" nzTheme="outline" /> Clients</li>
|
||||
<li nz-menu-item class="nav-item" routerLinkActive="ant-menu-item-selected" routerLink="/providers"><nz-icon nzType="solution" nzTheme="outline" /> Prestataires</li>
|
||||
<li nz-menu-item class="nav-item" routerLinkActive="ant-menu-item-selected" routerLink="/staff"><nz-icon nzType="fire" nzTheme="fill" /> Artificiers</li>
|
||||
<li nz-menu-item class="nav-item" routerLinkActive="ant-menu-item-selected" routerLink="/opportunities"><nz-icon nzType="stock" nzTheme="outline" /> Opportunités</li>
|
||||
</ul>
|
||||
</nz-header>
|
||||
<nz-content>
|
||||
<div class="inner-content">
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -1 +1 @@
|
||||
<p>providers-card works!</p>
|
||||
<app-providers-card-form/>
|
||||
|
||||
@@ -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',
|
||||
})
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user