Project

General

Profile

« Previous | Next » 

Revision 60151

[Library | Trunk]: Sidebar add logo label bottom right

View differences:

modules/uoa-services-library/trunk/ng-openaire-library/src/app/dashboard/sharedComponents/sidebar/sideBar.component.ts
11 11
})
12 12
export class SideBarComponent implements OnInit {
13 13
  @Input() items: MenuItem[] = [];
14
  @Input() logoLabel: string;
14 15
  @Input() headerName: string;
15 16
  @Input() headerPosition: "left" | "center" | "right" = "center";
16 17
  @Input() headerDashboard: string;
modules/uoa-services-library/trunk/ng-openaire-library/src/app/dashboard/sharedComponents/sidebar/sideBar.component.html
5 5
      <img *ngIf="properties.environment =='beta' || properties.environment =='development'" class="badge"
6 6
           [src]="'assets/common-assets/'+(properties.environment =='beta'?'beta_flag.svg':'prototype_flag.svg')"
7 7
           [alt]="properties.environment">
8
      <img *ngIf="headerLogoUrl" class="logo " [src]="headerLogoUrl">
9
      <div *ngIf="!headerLogoUrl" class="portalLogo logo"></div>
8
      <div class="logo" [class.portal-logo]="!headerLogoUrl">
9
        <img *ngIf="headerLogoUrl" [src]="headerLogoUrl">
10
        <div *ngIf="logoLabel" class="logo-label uk-position-bottom-right">{{logoLabel}}</div>
11
      </div>
10 12
      <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>
11 13
    </a>
12 14
    <div *ngIf="items.length > 0" class="menu_section uk-margin-xlarge-top">

Also available in: Unified diff