mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-18 00:10:14 +01:00
contentTop -> baContentTop
This commit is contained in:
parent
1224cf17db
commit
e125febda6
7 changed files with 11 additions and 10 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
import {Component, ViewEncapsulation} from '@angular/core';
|
import {Component, ViewEncapsulation} from '@angular/core';
|
||||||
import {RouteConfig} from '@angular/router-deprecated';
|
import {RouteConfig} from '@angular/router-deprecated';
|
||||||
|
|
||||||
import {PageTop, ContentTop, Sidebar, BaBackTop} from '../theme/components';
|
import {PageTop, BaContentTop, Sidebar, BaBackTop} from '../theme/components';
|
||||||
|
|
||||||
import {Dashboard} from './dashboard';
|
import {Dashboard} from './dashboard';
|
||||||
import {Ui} from './ui';
|
import {Ui} from './ui';
|
||||||
|
|
@ -14,13 +14,13 @@ import {Tables} from './tables';
|
||||||
selector: 'pages',
|
selector: 'pages',
|
||||||
encapsulation: ViewEncapsulation.None,
|
encapsulation: ViewEncapsulation.None,
|
||||||
styles: [],
|
styles: [],
|
||||||
directives: [PageTop, Sidebar, ContentTop, BaBackTop],
|
directives: [PageTop, Sidebar, BaContentTop, BaBackTop],
|
||||||
template: `
|
template: `
|
||||||
<sidebar></sidebar>
|
<sidebar></sidebar>
|
||||||
<page-top></page-top>
|
<page-top></page-top>
|
||||||
<div class="al-main">
|
<div class="al-main">
|
||||||
<div class="al-content">
|
<div class="al-content">
|
||||||
<content-top></content-top>
|
<ba-content-top></ba-content-top>
|
||||||
<router-outlet></router-outlet>
|
<router-outlet></router-outlet>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -3,12 +3,13 @@ import {Component} from '@angular/core';
|
||||||
import {AppState} from "../../../app.state";
|
import {AppState} from "../../../app.state";
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'content-top',
|
selector: 'ba-content-top',
|
||||||
styles: [require('./contentTop.scss')],
|
styles: [require('./baContentTop.scss')],
|
||||||
template: require('./contentTop.html'),
|
template: require('./baContentTop.html'),
|
||||||
})
|
})
|
||||||
export class ContentTop {
|
export class BaContentTop {
|
||||||
activePageTitle = '';
|
|
||||||
|
public activePageTitle:string = '';
|
||||||
|
|
||||||
constructor(private _state:AppState) {
|
constructor(private _state:AppState) {
|
||||||
this._state.subscribe('menu.activeLink', (activeLink) => {
|
this._state.subscribe('menu.activeLink', (activeLink) => {
|
||||||
1
src/app/theme/components/baContentTop/index.ts
Normal file
1
src/app/theme/components/baContentTop/index.ts
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
export * from './baContentTop.component.ts';
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
export * from './contentTop.component.ts';
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
export * from './pageTop';
|
export * from './pageTop';
|
||||||
export * from './msgCenter';
|
export * from './msgCenter';
|
||||||
export * from './sidebar';
|
export * from './sidebar';
|
||||||
export * from './contentTop';
|
export * from './baContentTop';
|
||||||
export * from './baCard';
|
export * from './baCard';
|
||||||
export * from './baAmChart';
|
export * from './baAmChart';
|
||||||
export * from './baChartistChart';
|
export * from './baChartistChart';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue