2021-04-23 10:35:53 +01:00
|
|
|
<div class=" pb-10 ion-toolbar text-white">
|
2021-03-01 15:45:30 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="mobile d-flex div-top-header justify-space-between">
|
2021-07-30 14:25:46 +01:00
|
|
|
<div *ngIf="!hideSearchBtn" class="div-search">
|
2021-08-16 15:29:06 +01:00
|
|
|
<div (click)="openSearch()">
|
2021-04-08 17:25:47 +01:00
|
|
|
<ion-icon class="font-45" src='assets/images/icons-search.svg'></ion-icon>
|
2021-08-16 15:29:06 +01:00
|
|
|
</div>
|
2021-03-01 15:45:30 +01:00
|
|
|
</div>
|
|
|
|
|
<div class="div-logo height-fit-content">
|
|
|
|
|
<img src='assets/images/logo-no-bg.png' alt='logo'>
|
|
|
|
|
</div>
|
2021-07-30 14:11:19 +01:00
|
|
|
<div class="div-profile cursor-pointer" (click)="openProfile()">
|
2021-08-19 18:28:00 +01:00
|
|
|
<div *ngIf="this.notificationLength > 0" class="icon-badge" >{{this.notificationLength}}</div>
|
2021-07-29 16:21:48 +01:00
|
|
|
<ion-icon class="icon" src='assets/images/icons-profile.svg'></ion-icon>
|
|
|
|
|
<ion-label class="profile-text">{{loggeduser.Profile}}</ion-label>
|
2021-03-01 15:45:30 +01:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
2021-03-02 14:46:38 +01:00
|
|
|
<div class="desktop mx-20">
|
2021-03-01 15:45:30 +01:00
|
|
|
<div class="d-flex justify-space-between align-center">
|
|
|
|
|
<div tab="events" class="div-logo height-fit-content">
|
|
|
|
|
<img src='assets/images/logo-no-bg.png' alt='logo'>
|
|
|
|
|
</div>
|
2021-07-22 10:21:51 +01:00
|
|
|
|
2021-03-01 15:45:30 +01:00
|
|
|
<div class="d-flex flex-1 pr-20 pl-50">
|
2021-07-22 10:21:51 +01:00
|
|
|
|
2021-05-06 13:37:22 +01:00
|
|
|
<div class="tab mr-20 d-flex align-center cursor-pointer" (click)="changeRoute('/home/events')" [class.active]="locationPathname() == '/home/events'">
|
2021-03-01 15:45:30 +01:00
|
|
|
<ion-icon class="font-40" src='assets/images/icons-nav-home-active.svg'></ion-icon>
|
2021-05-06 13:37:22 +01:00
|
|
|
<span>Início</span>
|
2021-03-01 15:45:30 +01:00
|
|
|
</div>
|
|
|
|
|
|
2021-05-06 13:37:22 +01:00
|
|
|
<div class="tab mr-20 d-flex align-center cursor-pointer" (click)="changeRoute('/home/agenda')" [class.active]="locationPathname() == '/home/agenda'">
|
2021-03-01 15:45:30 +01:00
|
|
|
<ion-icon class="font-40" src='assets/images/icons-nav-agenda-inactive.svg'></ion-icon>
|
|
|
|
|
<span>Agenda</span>
|
|
|
|
|
</div>
|
|
|
|
|
|
2021-05-06 13:37:22 +01:00
|
|
|
<div class="tab mr-20 d-flex align-center cursor-pointer" (click)="changeRoute('/home/gabinete-digital')" [class.active]="locationPathname() == '/home/gabinete-digital'">
|
2021-03-01 15:45:30 +01:00
|
|
|
<ion-icon class="font-40" src='assets/images/icons-nav-home-dk.svg'></ion-icon>
|
|
|
|
|
<span>Gabinete</span>
|
2020-12-29 10:17:34 +01:00
|
|
|
</div>
|
2021-03-01 15:45:30 +01:00
|
|
|
|
2021-05-06 13:37:22 +01:00
|
|
|
<div class="tab mr-20 d-flex align-center cursor-pointer" (click)="changeRoute('/home/publications')" [class.active]="locationPathname() == '/home/publications'">
|
2021-03-01 15:45:30 +01:00
|
|
|
<ion-icon class="font-40" src='assets/images/icons-nav-a-es-inactive.svg'></ion-icon>
|
2021-04-01 15:35:05 +01:00
|
|
|
<span>Acções</span>
|
2020-12-29 10:17:34 +01:00
|
|
|
</div>
|
2021-03-01 15:45:30 +01:00
|
|
|
|
2021-07-22 16:39:05 +01:00
|
|
|
<div class="tab mr-20 d-flex align-center cursor-pointer" (click)="changeRoute('/home/chat')" [class.active]="locationPathname() == '/home/chat'">
|
2021-03-02 14:46:38 +01:00
|
|
|
<ion-icon class="font-40" src='assets/images/icons-nav-grupos-inactive-dk-white.svg'></ion-icon>
|
2021-03-01 15:45:30 +01:00
|
|
|
<span>Chat</span>
|
2021-07-22 16:39:05 +01:00
|
|
|
</div>
|
2021-07-22 10:21:51 +01:00
|
|
|
|
2021-03-01 15:45:30 +01:00
|
|
|
</div>
|
|
|
|
|
|
2021-07-29 15:51:42 +01:00
|
|
|
<div class="header-btns d-flex">
|
2021-07-30 14:25:46 +01:00
|
|
|
<div *ngIf="!hideSearchBtn" class="mr-10 d-flex align-center cursor-pointer">
|
2021-08-16 15:29:06 +01:00
|
|
|
<div style="padding-top: 5px;" (click)="openSearch();showSearch=true" *ngIf="!showSearch" >
|
2021-04-08 19:25:59 +01:00
|
|
|
<ion-icon class="font-45" src='assets/images/icons-search.svg'></ion-icon>
|
2021-08-16 15:29:06 +01:00
|
|
|
</div>
|
2021-07-30 22:12:50 +01:00
|
|
|
<button class="btn-no-color" (click)="closeSearch();showSearch=false;searchSubject=''" *ngIf="showSearch" >
|
2021-04-08 17:25:47 +01:00
|
|
|
<ion-icon class="font-40" name="restaurant-outline" src="assets/images/icons-search-close.svg"></ion-icon>
|
|
|
|
|
</button>
|
2021-07-22 10:21:51 +01:00
|
|
|
|
2021-06-03 14:48:35 +01:00
|
|
|
<div *ngIf="showSearch">
|
2021-05-06 13:37:22 +01:00
|
|
|
<div class="d-flex search-input-container ml-10 justify-between" *ngIf="showSearch" >
|
2021-03-05 14:54:10 +01:00
|
|
|
<div class="icon" (click)="basicSearch()">
|
|
|
|
|
<ion-icon class="icon-z" slot="end" name="search"></ion-icon>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="input-text d-flex ion-align-items-center">
|
2021-07-09 09:16:45 +01:00
|
|
|
<ion-input (keyup.enter)="basicSearch()" [(ngModel)]='searchSubject' (ngModelChange)="dynamicSearch()" class="search-input text-black" type="search" placeholder="Pesquisar"></ion-input>
|
2021-03-05 14:54:10 +01:00
|
|
|
</div>
|
|
|
|
|
<div class="icon" (click)="clearSearchInput()">
|
|
|
|
|
<ion-icon name="restaurant-outline" src="assets/images/icons-search-close.svg"></ion-icon>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2021-06-03 14:48:35 +01:00
|
|
|
</div>
|
2021-03-01 15:45:30 +01:00
|
|
|
</div>
|
2021-03-02 19:00:55 +01:00
|
|
|
|
2021-07-29 15:51:42 +01:00
|
|
|
<div class="div-profile d-flex cursor-pointer" (click)="openProfile()">
|
2021-08-30 10:24:46 +01:00
|
|
|
|
2021-07-29 15:51:42 +01:00
|
|
|
<ion-icon class="icon" src='assets/images/icons-profile.svg'></ion-icon>
|
2021-08-30 10:24:46 +01:00
|
|
|
|
|
|
|
|
<div class="profile-text">
|
|
|
|
|
<ion-label>{{profileLabel(loggeduser.Profile)}}</ion-label>
|
2021-08-31 09:11:41 +01:00
|
|
|
<div *ngIf="this.notificationLength > 0 && !production" class="icon-badge" style="right: -18px;top: -9px;" >{{notificationLength}}</div>
|
2021-08-30 10:24:46 +01:00
|
|
|
</div>
|
|
|
|
|
|
2020-12-29 10:17:34 +01:00
|
|
|
</div>
|
2021-03-01 15:45:30 +01:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
2021-07-22 10:21:51 +01:00
|
|
|
|
2021-04-23 10:35:53 +01:00
|
|
|
</div>
|