2017-09-07 16:43:31 +03:00
|
|
|
<div class="header-container"
|
|
|
|
|
[class.left]="position === 'normal'"
|
|
|
|
|
[class.right]="position === 'inverse'">
|
2017-09-11 11:44:04 +03:00
|
|
|
<div class="logo-containter">
|
2017-09-14 22:15:08 +03:00
|
|
|
<a (click)="toggleSidebar()" href="#" class="navigation"><i class="nb-menu"></i></a>
|
2017-09-20 13:44:22 +03:00
|
|
|
<div class="logo" (click)="goToHome()">ngx-<span>admin</span></div>
|
2017-09-11 11:44:04 +03:00
|
|
|
</div>
|
2017-09-20 12:54:26 +03:00
|
|
|
<ngx-theme-switcher></ngx-theme-switcher>
|
2017-09-07 16:43:31 +03:00
|
|
|
</div>
|
|
|
|
|
|
2018-06-21 15:16:53 +03:00
|
|
|
<div class="header-container">
|
|
|
|
|
<ngx-layout-direction-switcher></ngx-layout-direction-switcher>
|
|
|
|
|
<nb-actions
|
|
|
|
|
size="medium"
|
|
|
|
|
[class.right]="position === 'normal'"
|
|
|
|
|
[class.left]="position === 'inverse'">
|
|
|
|
|
<nb-action *nbIsGranted="['view', 'user']" >
|
|
|
|
|
<nb-user [nbContextMenu]="userMenu" [name]="user?.name" [picture]="user?.picture"></nb-user>
|
|
|
|
|
</nb-action>
|
2018-06-21 17:09:29 +03:00
|
|
|
<nb-action class="control-item notifications" disabled icon="nb-notifications"></nb-action>
|
|
|
|
|
<nb-action class="control-item email" icon="nb-email"></nb-action>
|
|
|
|
|
<nb-action class="control-item search">
|
2018-06-21 15:16:53 +03:00
|
|
|
<nb-search type="rotate-layout" (click)="startSearch()"></nb-search>
|
|
|
|
|
</nb-action>
|
2018-06-21 17:09:29 +03:00
|
|
|
<nb-action class="control-item github-start">
|
|
|
|
|
<iframe src="https://ghbtns.com/github-btn.html?user=akveo&repo=ngx-admin&type=star&count=true" frameborder="0" scrolling="0" width="170px" height="20px"></iframe>
|
|
|
|
|
</nb-action>
|
|
|
|
|
<nb-action class="control-item email-text" *ngIf="!hireTextVariant">
|
|
|
|
|
<strong>Need some help? <a (click)="trackEmailClick()" href="mailto:contact@akveo.com">contact@akveo.com</a></strong>
|
|
|
|
|
</nb-action>
|
|
|
|
|
<nb-action class="control-item email-text text-success" *ngIf="hireTextVariant === 'highlight-hire'">
|
|
|
|
|
<strong>Need some help? <a (click)="trackEmailClick()" href="mailto:contact@akveo.com">contact@akveo.com</a></strong>
|
|
|
|
|
</nb-action>
|
|
|
|
|
<nb-action class="control-item email-text text-success" *ngIf="hireTextVariant === 'developers-hire'">
|
|
|
|
|
<strong>Looking for developers for your project? <a (click)="trackEmailClick()" href="mailto:contact@akveo.com">contact@akveo.com</a></strong>
|
|
|
|
|
</nb-action>
|
|
|
|
|
<nb-action class="control-item email-text text-success" *ngIf="hireTextVariant === 'solution-hire'">
|
|
|
|
|
<strong>Need a custom solution? <a (click)="trackEmailClick()" href="mailto:contact@akveo.com">contact@akveo.com</a></strong>
|
|
|
|
|
</nb-action>
|
|
|
|
|
</nb-actions>
|
2018-06-21 15:16:53 +03:00
|
|
|
</div>
|