contentTop -> baContentTop

This commit is contained in:
nixa 2016-05-18 17:04:35 +03:00
parent 1224cf17db
commit e125febda6
7 changed files with 11 additions and 10 deletions

View file

@ -1,7 +1,7 @@
import {Component, ViewEncapsulation} from '@angular/core';
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 {Ui} from './ui';
@ -14,13 +14,13 @@ import {Tables} from './tables';
selector: 'pages',
encapsulation: ViewEncapsulation.None,
styles: [],
directives: [PageTop, Sidebar, ContentTop, BaBackTop],
directives: [PageTop, Sidebar, BaContentTop, BaBackTop],
template: `
<sidebar></sidebar>
<page-top></page-top>
<div class="al-main">
<div class="al-content">
<content-top></content-top>
<ba-content-top></ba-content-top>
<router-outlet></router-outlet>
</div>
</div>

View file

@ -3,12 +3,13 @@ import {Component} from '@angular/core';
import {AppState} from "../../../app.state";
@Component({
selector: 'content-top',
styles: [require('./contentTop.scss')],
template: require('./contentTop.html'),
selector: 'ba-content-top',
styles: [require('./baContentTop.scss')],
template: require('./baContentTop.html'),
})
export class ContentTop {
activePageTitle = '';
export class BaContentTop {
public activePageTitle:string = '';
constructor(private _state:AppState) {
this._state.subscribe('menu.activeLink', (activeLink) => {

View file

@ -0,0 +1 @@
export * from './baContentTop.component.ts';

View file

@ -1 +0,0 @@
export * from './contentTop.component.ts';

View file

@ -1,7 +1,7 @@
export * from './pageTop';
export * from './msgCenter';
export * from './sidebar';
export * from './contentTop';
export * from './baContentTop';
export * from './baCard';
export * from './baAmChart';
export * from './baChartistChart';