2019-04-24 11:26:53 +02:00
|
|
|
<nav class="navbar navbar-expand-lg navbar-transparent navbar-absolute fixed-top">
|
2019-04-25 11:03:22 +02:00
|
|
|
<div class="container-fluid">
|
|
|
|
<div class="navbar-wrapper">
|
|
|
|
<a routerLink="/home">
|
|
|
|
<i class="material-icons">dashboard</i>
|
|
|
|
</a>
|
|
|
|
<a class="navbar-brand" routerLink="/home">{{ 'NAV-BAR.BREADCRUMB-ROOT' | translate }}</a>
|
|
|
|
</div>
|
2019-04-30 16:14:24 +02:00
|
|
|
<button class="navbar-toggler" type="button" (click)="sidebarToggle()">
|
2019-04-25 11:03:22 +02:00
|
|
|
<span class="sr-only">Toggle navigation</span>
|
|
|
|
<span class="navbar-toggler-icon icon-bar"></span>
|
|
|
|
<span class="navbar-toggler-icon icon-bar"></span>
|
|
|
|
<span class="navbar-toggler-icon icon-bar"></span>
|
|
|
|
</button>
|
|
|
|
<div class="collapse navbar-collapse justify-content-end" id="navigation">
|
2019-04-24 11:26:53 +02:00
|
|
|
|
2019-04-25 11:03:22 +02:00
|
|
|
<!-- <form class="navbar-form">
|
2019-04-24 11:26:53 +02:00
|
|
|
<div class="input-group input-search">
|
|
|
|
<input type="text" value="" class="form-control" placeholder="SEARCH...">
|
|
|
|
<button type="submit" class="btn btn-link"><i class="material-icons">search</i></button>
|
|
|
|
</div>
|
|
|
|
</form> -->
|
|
|
|
|
|
|
|
<app-search></app-search>
|
|
|
|
|
2019-04-25 11:03:22 +02:00
|
|
|
<ul class="navbar-nav">
|
2019-04-24 11:26:53 +02:00
|
|
|
<!-- Notifications -->
|
2019-04-25 11:03:22 +02:00
|
|
|
<!-- <li class="nav-item dropdown">
|
2019-04-24 11:26:53 +02:00
|
|
|
<a class="nav-link" href="#" id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
|
|
|
<i class="material-icons md-32">notifications</i>
|
|
|
|
<span class="notification">3</span>
|
|
|
|
<p>
|
|
|
|
<span class="d-lg-none d-md-block">Some Actions</span>
|
|
|
|
</p>
|
|
|
|
</a>
|
|
|
|
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdownMenuLink">
|
|
|
|
<a class="dropdown-item" href="#">Mike John responded to your email</a>
|
|
|
|
<a class="dropdown-item" href="#">You have 5 new tasks</a>
|
|
|
|
<a class="dropdown-item" href="#">You're now friend with Andrew</a>
|
|
|
|
<a class="dropdown-item" href="#">Another Notification</a>
|
|
|
|
<a class="dropdown-item" href="#">Another One</a>
|
|
|
|
</div>
|
|
|
|
</li> -->
|
|
|
|
|
2019-04-25 11:03:22 +02:00
|
|
|
<!-- Admin -->
|
|
|
|
<!-- <a *ngIf="isAdmin()" mat-button class="buttonNav navbar-button"
|
|
|
|
routerLink="/users">{{'NAV-BAR.USERS' | translate}}</a>
|
|
|
|
<a *ngIf="isAdmin()" mat-button class="buttonNav navbar-button" routerLink="/dmp-profiles">{{'NAV-BAR.DMP-PROFILES' |
|
|
|
|
translate}}</a>
|
|
|
|
<a *ngIf="isAdmin()" mat-button class="buttonNav navbar-button" routerLink="/dataset-profiles">{{'NAV-BAR.DATASETS-ADMIN'
|
|
|
|
| translate}}</a> -->
|
|
|
|
|
2019-04-30 16:14:24 +02:00
|
|
|
|
|
|
|
<!-- Login -->
|
2019-04-25 11:03:22 +02:00
|
|
|
<li class="nav-item" *ngIf="isAuthenticated();else loginoption">
|
2019-04-30 16:14:24 +02:00
|
|
|
<img mat-card-avatar class="my-mat-card-avatar" *ngIf="this.principalHasAvatar()" [src]="this.getPrincipalAvatar()" (click)="openProfile()">
|
2019-04-24 11:26:53 +02:00
|
|
|
</li>
|
|
|
|
<ng-template #loginoption>
|
|
|
|
<button mat-button [routerLink]=" ['/login'] ">
|
2019-04-25 11:03:22 +02:00
|
|
|
<span class="login-label">{{ 'GENERAL.ACTIONS.LOG-IN' | translate }}</span>
|
2019-04-24 11:26:53 +02:00
|
|
|
</button>
|
|
|
|
</ng-template>
|
|
|
|
|
2019-04-25 11:03:22 +02:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-04-24 11:26:53 +02:00
|
|
|
</nav>
|