mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-03-07 14:20:15 +01:00
fix(demo): replace @akveo with @nebular
This commit is contained in:
parent
b772882cd6
commit
210c6f2355
129 changed files with 1010 additions and 1010 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import { NgModule } from '@angular/core';
|
||||
import { NgaCheckboxModule } from '@akveo/nga-theme';
|
||||
import { NbCheckboxModule } from '@nebular/theme';
|
||||
|
||||
import { TreeModule } from 'ng2-tree';
|
||||
import { ToasterModule } from 'angular2-toaster';
|
||||
|
|
@ -14,7 +14,7 @@ import { ComponentsRoutingModule, routedComponents } from './components-routing.
|
|||
ComponentsRoutingModule,
|
||||
TreeModule,
|
||||
ToasterModule,
|
||||
NgaCheckboxModule,
|
||||
NbCheckboxModule,
|
||||
],
|
||||
declarations: [
|
||||
...routedComponents,
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
<nga-card>
|
||||
<nga-card-header>
|
||||
<nb-card>
|
||||
<nb-card-header>
|
||||
Toaster configuration
|
||||
</nga-card-header>
|
||||
<nga-card-body>
|
||||
</nb-card-header>
|
||||
<nb-card-body>
|
||||
<toaster-container [toasterconfig]="config"></toaster-container>
|
||||
|
||||
<div class="row">
|
||||
|
|
@ -66,17 +66,17 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div><nga-checkbox [(ngModel)]="isNewestOnTop">Newest on top</nga-checkbox></div>
|
||||
<div><nga-checkbox [(ngModel)]="isHideOnClick">Hide on click</nga-checkbox></div>
|
||||
<div><nga-checkbox [(ngModel)]="isDuplicatesPrevented">Prevent arising of duplicate toast</nga-checkbox></div>
|
||||
<div><nga-checkbox [(ngModel)]="isCloseButton">Close button</nga-checkbox></div>
|
||||
<div><nb-checkbox [(ngModel)]="isNewestOnTop">Newest on top</nb-checkbox></div>
|
||||
<div><nb-checkbox [(ngModel)]="isHideOnClick">Hide on click</nb-checkbox></div>
|
||||
<div><nb-checkbox [(ngModel)]="isDuplicatesPrevented">Prevent arising of duplicate toast</nb-checkbox></div>
|
||||
<div><nb-checkbox [(ngModel)]="isCloseButton">Close button</nb-checkbox></div>
|
||||
</div>
|
||||
</div>
|
||||
</nga-card-body>
|
||||
</nb-card-body>
|
||||
|
||||
<nga-card-footer>
|
||||
<nb-card-footer>
|
||||
<button class="btn btn-primary" (click)="makeToast()">Show toast</button>
|
||||
<button class="btn btn-success" (click)="openRandomToast()">Random toast</button>
|
||||
<button class="btn btn-danger" (click)="clearToasts()">Clear all toasts</button>
|
||||
</nga-card-footer>
|
||||
</nga-card>
|
||||
</nb-card-footer>
|
||||
</nb-card>
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
@import '../../../@theme/styles/variables';
|
||||
|
||||
@include nga-install-component() {
|
||||
@include nb-install-component() {
|
||||
|
||||
nga-card-footer {
|
||||
nb-card-footer {
|
||||
padding-bottom: 0.25rem;
|
||||
|
||||
button {
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<nga-card>
|
||||
<nga-card-header>Tree</nga-card-header>
|
||||
<nga-card-body>
|
||||
<nb-card>
|
||||
<nb-card-header>Tree</nb-card-header>
|
||||
<nb-card-body>
|
||||
<tree [tree]="tree"></tree>
|
||||
</nga-card-body>
|
||||
</nga-card>
|
||||
</nb-card-body>
|
||||
</nb-card>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue