Skip to content
This repository has been archived by the owner on May 25, 2021. It is now read-only.

Commit

Permalink
adding logo back in header (#668)
Browse files Browse the repository at this point in the history
* adding logo back in header

* fixing logo image
  • Loading branch information
sumitarora authored Sep 16, 2016
1 parent bb67829 commit 7d422d1
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/frontend/components/app-trees/app-trees.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<bt-tab-menu
showLogo="true"
[tabs]="tabs"
(tabChange)="onTabSelectionChanged($event)"
[selectedTab]="selectedTab">
Expand Down
2 changes: 2 additions & 0 deletions src/frontend/components/tab-menu/tab-menu.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<header class="flex flex-justify bg-panel border-bottom">
<div class="flex">
<img *ngIf="showLogo" src="../images/augury-logo.svg"
class="logo">
<div
class="primary-color tab-menu-title px2 py2 border-transparent mt1"
[ngClass]="{'bg-base border-top border-right border-left selected': t.selected}"
Expand Down
1 change: 1 addition & 0 deletions src/frontend/components/tab-menu/tab-menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export interface TabDescription {
export class TabMenu {
@Input() tabs: Array<TabDescription>;
@Input() selectedTab;
@Input() showLogo: boolean = false;

@Output() tabChange: EventEmitter<any> = new EventEmitter<any>();

Expand Down
8 changes: 8 additions & 0 deletions src/styles/components/header.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,11 @@
max-width: 25em;
}
}

.logo {
margin-top: 4px;
margin-left: 5px;
margin-right: 10px;
width: 20px;
height: 22px;
}

0 comments on commit 7d422d1

Please sign in to comment.