mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
committed by
Eugenio Romano
parent
dc4d9e59e6
commit
f298e78392
Before Width: | Height: | Size: 9.6 KiB After Width: | Height: | Size: 9.6 KiB |
@@ -20,15 +20,12 @@ import { Component, Input, Output, EventEmitter, ViewEncapsulation } from '@angu
|
|||||||
@Component({
|
@Component({
|
||||||
selector: 'adf-layout-header',
|
selector: 'adf-layout-header',
|
||||||
templateUrl: './header.component.html',
|
templateUrl: './header.component.html',
|
||||||
styleUrls: ['./header.component.scss'],
|
|
||||||
encapsulation: ViewEncapsulation.None,
|
encapsulation: ViewEncapsulation.None,
|
||||||
host: { 'class': 'adf-layout-header' }
|
host: { class: 'adf-layout-header' }
|
||||||
})
|
})
|
||||||
|
|
||||||
export class HeaderLayoutComponent {
|
export class HeaderLayoutComponent {
|
||||||
|
|
||||||
@Input() title: string;
|
@Input() title: string;
|
||||||
@Input() logo: string = './assets/logo.png';
|
@Input() logo: string = './assets/images/logo.png';
|
||||||
@Input() color: string;
|
@Input() color: string;
|
||||||
@Input() showSidenavToggle: boolean = true;
|
@Input() showSidenavToggle: boolean = true;
|
||||||
@Output() clicked = new EventEmitter<any>();
|
@Output() clicked = new EventEmitter<any>();
|
||||||
|
@@ -23,13 +23,13 @@
|
|||||||
@import '../viewer/components/imgViewer.component';
|
@import '../viewer/components/imgViewer.component';
|
||||||
@import '../form/components/form.component';
|
@import '../form/components/form.component';
|
||||||
@import '../layout/components/sidebar-action/sidebar-action-menu.component';
|
@import '../layout/components/sidebar-action/sidebar-action-menu.component';
|
||||||
|
@import '../layout/components/header/header.component';
|
||||||
@import '../comments/comment-list.component';
|
@import '../comments/comment-list.component';
|
||||||
@import '../comments/comments.component';
|
@import '../comments/comments.component';
|
||||||
@import '../layout/components/layout-container/layout-container.component';
|
@import '../layout/components/layout-container/layout-container.component';
|
||||||
@import "../templates/empty-content/empty-content.component";
|
@import '../templates/empty-content/empty-content.component';
|
||||||
@import "../templates/error-content/error-content.component";
|
@import '../templates/error-content/error-content.component';
|
||||||
@import "../buttons-menu/buttons-menu.component";
|
@import '../buttons-menu/buttons-menu.component';
|
||||||
@import '../layout/components/header/header.component';
|
|
||||||
|
|
||||||
@mixin adf-core-theme($theme) {
|
@mixin adf-core-theme($theme) {
|
||||||
@include adf-colors-theme($theme);
|
@include adf-colors-theme($theme);
|
||||||
@@ -63,5 +63,3 @@
|
|||||||
@include adf-buttons-menu-theme($theme);
|
@include adf-buttons-menu-theme($theme);
|
||||||
@include adf-header-layout-theme($theme);
|
@include adf-header-layout-theme($theme);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user