[Library | Trunk]: Add header position on sidebard
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59995 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
b37eb7dbf8
commit
26db1ae453
|
@ -7,7 +7,7 @@
|
|||
[alt]="properties.environment">
|
||||
<img *ngIf="headerLogoUrl" class="logo " [src]="headerLogoUrl">
|
||||
<div *ngIf="!headerLogoUrl" class="portalLogo logo"></div>
|
||||
<div *ngIf="headerName" class="uk-disabled uk-text-muted uk-text-center">{{headerName}}</div>
|
||||
<div *ngIf="headerName" class="uk-disabled uk-text-muted" [class.uk-text-center]="!open" [ngClass]="open?('uk-text-' + headerPosition):''">{{headerName}}</div>
|
||||
</a>
|
||||
<div *ngIf="items.length > 0" class="menu_section uk-margin-xlarge-top">
|
||||
<ul class="uk-list">
|
||||
|
|
|
@ -12,6 +12,7 @@ import {LayoutService} from "./layout.service";
|
|||
export class SideBarComponent implements OnInit {
|
||||
@Input() items: MenuItem[] = [];
|
||||
@Input() headerName: string;
|
||||
@Input() headerPosition: "left" | "center" | "right" = "center";
|
||||
@Input() headerDashboard: string;
|
||||
@Input() headerLogoUrl: string;
|
||||
@Input() headerUrl: string;
|
||||
|
|
Loading…
Reference in New Issue