mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-02-16 21:18:07 +01:00
BaPanel to BaCard rename.
This commit is contained in:
parent
4001b2fdf5
commit
d7b7f14eea
9 changed files with 20 additions and 20 deletions
12
src/app/theme/baCard/baCard.component.ts
Normal file
12
src/app/theme/baCard/baCard.component.ts
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
import {Component, ViewEncapsulation, Input} from 'angular2/core';
|
||||
|
||||
@Component({
|
||||
selector: 'ba-card',
|
||||
styles: [require('./baCard.scss')],
|
||||
template: require('./baCard.html'),
|
||||
encapsulation: ViewEncapsulation.None
|
||||
})
|
||||
export class BaCard {
|
||||
@Input() title:String;
|
||||
@Input() baCardClass:String;
|
||||
}
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
<div class="card {{panelType}} {{baPanelClass || ''}}" zoom-in ba-panel-blur>
|
||||
<div class="card {{cardType}} {{baCardClass || ''}}" zoom-in ba-panel-blur>
|
||||
<div *ngIf="title" class="card-header clearfix">
|
||||
<h3 class="card-title">{{title}}</h3>
|
||||
</div>
|
||||
1
src/app/theme/baCard/index.ts
Normal file
1
src/app/theme/baCard/index.ts
Normal file
|
|
@ -0,0 +1 @@
|
|||
export * from './baCard.component';
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
import {Component, ViewEncapsulation, Input} from 'angular2/core';
|
||||
|
||||
@Component({
|
||||
selector: 'ba-panel',
|
||||
styles: [require('./baPanel.scss')],
|
||||
template: require('./baPanel.html'),
|
||||
encapsulation: ViewEncapsulation.None
|
||||
})
|
||||
export class BaPanel {
|
||||
@Input() title:String;
|
||||
@Input() baPanelClass:String;
|
||||
}
|
||||
|
|
@ -1 +0,0 @@
|
|||
export * from './baPanel.component';
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
export * from './pageTop';
|
||||
export * from './msgCenter';
|
||||
export * from './sidebar';
|
||||
export * from './baPanel';
|
||||
export * from './baCard';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue