ngx-admin/src/app/@theme/layouts/one-column/one-column.layout.ts

27 lines
581 B
TypeScript
Raw Normal View History

2017-04-13 14:24:23 +03:00
import { Component } from '@angular/core';
@Component({
selector: 'one-column-layout',
2017-04-13 14:24:23 +03:00
template: `
<nga-layout>
<nga-layout-header fixed>
<ngx-header></ngx-header>
</nga-layout-header>
2017-04-17 19:01:47 +03:00
<nga-sidebar>
<ng-content select="nga-menu"></ng-content>
</nga-sidebar>
2017-04-18 15:45:49 +03:00
2017-04-13 14:24:23 +03:00
<nga-layout-column>
<ng-content select="router-outlet"></ng-content>
2017-04-13 14:24:23 +03:00
</nga-layout-column>
2017-04-18 15:45:49 +03:00
<nga-layout-footer fixed>
<ngx-footer></ngx-footer>
2017-04-17 19:01:47 +03:00
</nga-layout-footer>
2017-04-13 14:24:23 +03:00
</nga-layout>
`,
})
export class OneColumnLayoutComponent {
2017-04-13 14:24:23 +03:00
}