[Library | Trunk]: Sidebar add logo label bottom right
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60151 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
e7de14592d
commit
26cf6fe23e
|
@ -5,8 +5,10 @@
|
|||
<img *ngIf="properties.environment =='beta' || properties.environment =='development'" class="badge"
|
||||
[src]="'assets/common-assets/'+(properties.environment =='beta'?'beta_flag.svg':'prototype_flag.svg')"
|
||||
[alt]="properties.environment">
|
||||
<img *ngIf="headerLogoUrl" class="logo " [src]="headerLogoUrl">
|
||||
<div *ngIf="!headerLogoUrl" class="portalLogo logo"></div>
|
||||
<div class="logo" [class.portal-logo]="!headerLogoUrl">
|
||||
<img *ngIf="headerLogoUrl" [src]="headerLogoUrl">
|
||||
<div *ngIf="logoLabel" class="logo-label uk-position-bottom-right">{{logoLabel}}</div>
|
||||
</div>
|
||||
<div *ngIf="headerName" class="uk-disabled uk-text-muted uk-margin-small-left uk-margin-small-right" [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">
|
||||
|
|
|
@ -11,6 +11,7 @@ import {LayoutService} from "./layout.service";
|
|||
})
|
||||
export class SideBarComponent implements OnInit {
|
||||
@Input() items: MenuItem[] = [];
|
||||
@Input() logoLabel: string;
|
||||
@Input() headerName: string;
|
||||
@Input() headerPosition: "left" | "center" | "right" = "center";
|
||||
@Input() headerDashboard: string;
|
||||
|
|
Loading…
Reference in New Issue