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