|
|
|
@@ -0,0 +1,212 @@
|
|
|
|
|
<div class="header-container header-fix" [ngClass]="{'d-none-header':HeaderSettingsService.hideHeader && ActiveTabService.pages.gabineteDetails}" >
|
|
|
|
|
<div class="main-tab pb-10 ion-toolbar header-color">
|
|
|
|
|
|
|
|
|
|
<div class="mobile pt-20 d-flex div-top-header justify-space-between">
|
|
|
|
|
|
|
|
|
|
<div title="Pesquisa" *ngIf="!hideSearchBtn" class="div-search viewport-font-size">
|
|
|
|
|
<div (click)="openSearch()" class="{{Cy.header.b.search}}">
|
|
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'doneIt' " class="font-45-em"
|
|
|
|
|
src="assets/images/theme/doneIt/icons-search.svg"></ion-icon>
|
|
|
|
|
<ion-icon *ngIf=" ThemeService.currentTheme == 'default' " class="font-45-em"
|
|
|
|
|
src='assets/images/icons-search.svg'></ion-icon>
|
|
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' " class="font-45-em"
|
|
|
|
|
src='assets/images/theme/gov/icons-search.svg'></ion-icon>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="div-logo align-center justify-center">
|
|
|
|
|
<div class="logo-icon pr-10-rem">
|
|
|
|
|
<img *ngIf="ThemeService.currentTheme == 'default' " src='assets/images/logo-no-bg.png' alt='logo'>
|
|
|
|
|
<img *ngIf="ThemeService.currentTheme == 'gov' " src='assets/images/theme/gov/governoangola_A.png' alt='logo'>
|
|
|
|
|
<img *ngIf="ThemeService.currentTheme == 'doneIt'" src="assets/images/theme/doneIt/governoangola_A1.png"
|
|
|
|
|
alt='logo' />
|
|
|
|
|
</div>
|
|
|
|
|
<div *ngIf="ThemeService.currentTheme == 'gov'"
|
|
|
|
|
class="logo-description d-flex align-center justify-content-center">
|
|
|
|
|
<div class="logo-description-content">
|
|
|
|
|
<p class="logo-description-text tp-5">{{ environment.logoLabel }}</p>
|
|
|
|
|
|
|
|
|
|
<div class="add-line"></div>
|
|
|
|
|
<p class="logo-description-text tp-5">GABINETE DIGITAL</p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div *ngIf="ThemeService.currentTheme == 'default' "
|
|
|
|
|
class="logo-description d-flex align-center justify-content-center">
|
|
|
|
|
<div class="logo-description-content">
|
|
|
|
|
<p class="logo-description-text tp-5 color-white">{{ environment.logoLabel }}</p>
|
|
|
|
|
<div class="add-line-white"></div>
|
|
|
|
|
<p class="logo-description-text tp-5 color-white">GABINETE DIGITAL</p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div title="Perfil" class="div-profile cursor-pointer viewport-font-size " >
|
|
|
|
|
|
|
|
|
|
<div *ngIf="PublicationHolderService.count != 0" style="color: black" style="display: flex;
|
|
|
|
|
color: black;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
" >
|
|
|
|
|
<span *ngIf="!PublicationHolderService.PublicationFormMV?.[0]?.retry">{{ PublicationHolderService.count }}%</span>
|
|
|
|
|
<span style="padding-right: 12px" *ngIf="PublicationHolderService.PublicationFormMV?.[0]?.retry" (click)="PublicationHolderService.PublicationFormMV?.[0]?.retryFunction()" ><ion-icon src="assets/images/retry-svgrepo-com.svg" > </ion-icon></span>
|
|
|
|
|
<span style="padding-right: 7px" *ngIf="PublicationHolderService.PublicationFormMV?.[0]?.retry" (click)="PublicationHolderService.remove(PublicationHolderService.PublicationFormMV?.[0]?.id)">X</span>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div (click)="openProfile()" *ngIf="(profilePictureSubject | async) as calendarData" class="profile-image">
|
|
|
|
|
<img *ngIf="calendarData.base64 != null" class="profile-image image-prety" src={{calendarData.base64}}>
|
|
|
|
|
<ion-icon *ngIf="calendarData.base64 == null"
|
|
|
|
|
class="icon font-45-em" src='assets/images/theme/gov/icons-profile.svg'></ion-icon>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="profile-text" *ngIf="(notificationCount$ | async) as notificationCount ">
|
|
|
|
|
<div *ngIf="notificationCount > 0" class="icon-badge" style="right: -6px;top: 38px;top: -6px;">
|
|
|
|
|
{{notificationCount}} </div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="desktop mx-20">
|
|
|
|
|
<div class="d-flex justify-space-between align-center">
|
|
|
|
|
<div tab="events" class="div-logo height-fit-content">
|
|
|
|
|
<div class="logo-icon pr-10-rem">
|
|
|
|
|
<img *ngIf="ThemeService.currentTheme == 'default'" src='assets/images/logo-no-bg.png' alt='logo'>
|
|
|
|
|
<img *ngIf="ThemeService.currentTheme == 'gov' " src='assets/images/theme/gov/governoangola_A.png'
|
|
|
|
|
alt='logo'>
|
|
|
|
|
<img *ngIf="ThemeService.currentTheme == 'doneIt' "
|
|
|
|
|
src='assets/images/theme/{{ThemeService.currentTheme}}/governoangola_A1.png' alt='logo'>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="logo-description d-flex align-center justify-content-center">
|
|
|
|
|
|
|
|
|
|
<div class="logo-description-content">
|
|
|
|
|
|
|
|
|
|
<div *ngIf="ThemeService.currentTheme == 'gov' " class="logo-description-content">
|
|
|
|
|
|
|
|
|
|
<p class="logo-description-text">{{ environment.logoLabel }}</p>
|
|
|
|
|
<div class="add-line"></div>
|
|
|
|
|
<p class="logo-description-text">GABINETE DIGITAL</p>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div *ngIf="ThemeService.currentTheme == 'default' " class="logo-description-content">
|
|
|
|
|
|
|
|
|
|
<p class="logo-description-text" style="color: white;">GABINETE DIGITAL</p>
|
|
|
|
|
<div class="add-line" style="border-bottom: 1px solid white;"></div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- <div class="d-flex flex-1 pr-20 pl-50"
|
|
|
|
|
*ngIf="p.userPermissionCount([permissionList.Agenda.access, permissionList.Gabinete.access, permissionList.Actions.access, permissionList.Chat.access]) >= 2 || (p.userPermission([permissionList.Agenda.access]) && loggeduser.OwnerCalendars.length != 0) || p.userPermission([permissionList.Gabinete.access])"> -->
|
|
|
|
|
|
|
|
|
|
<div class="d-flex flex-1 pr-20 pl-50"
|
|
|
|
|
*ngIf="p.userPermissionCount([permissionList.Agenda.access, permissionList.Gabinete.access, permissionList.Actions.access, permissionList.Chat.access]) >= 2 || (p.userPermission([permissionList.Agenda.access])) || p.userPermission([permissionList.Gabinete.access])">
|
|
|
|
|
|
|
|
|
|
<div
|
|
|
|
|
*ngIf="p.userPermission([permissionList.Agenda.access]) || p.userPermission([permissionList.Gabinete.access])"
|
|
|
|
|
class="tab mr-20 d-flex align-center cursor-pointer" (click)="changeRoute('/home/events')"
|
|
|
|
|
[class.active]="ActiveTabService.pages.home">
|
|
|
|
|
|
|
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'default' || ThemeService.currentTheme == 'doneIt' "
|
|
|
|
|
class="font-40-rem" src='assets/images/icons-nav-home-active-black.svg'></ion-icon>
|
|
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' " class="font-40-rem"
|
|
|
|
|
src='assets/images/theme/gov/icons-nav-home-active-black.svg'></ion-icon>
|
|
|
|
|
|
|
|
|
|
<span>Início</span>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div *ngIf="p.userPermission([permissionList.Agenda.access])"
|
|
|
|
|
class="tab mr-20 d-flex align-center cursor-pointer" (click)="changeRoute('/home/agenda')"
|
|
|
|
|
[class.active]="ActiveTabService.pages.agenda">
|
|
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'default' || ThemeService.currentTheme == 'doneIt' "
|
|
|
|
|
class="font-40-rem" src='assets/images/icons-nav-agenda-inactive.svg'></ion-icon>
|
|
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' " class="font-40-rem"
|
|
|
|
|
src='assets/images/theme/gov/icons-nav-agenda-inactive.svg'></ion-icon>
|
|
|
|
|
|
|
|
|
|
<span>Agenda</span>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div *ngIf="p.userPermission([permissionList.Gabinete.access])"
|
|
|
|
|
class="tab mr-20 d-flex align-center cursor-pointer" (click)="changeRoute('/home/gabinete-digital')"
|
|
|
|
|
[class.active]="ActiveTabService.pages.gabinete">
|
|
|
|
|
|
|
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'default' || ThemeService.currentTheme == 'doneIt' "
|
|
|
|
|
class="font-40-rem" src='assets/images/icons-nav-home-dk.svg'></ion-icon>
|
|
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' " class="font-40-rem"
|
|
|
|
|
src='assets/images/theme/gov/icons-nav-home-dk.svg'></ion-icon>
|
|
|
|
|
<span>Gabinete</span>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div *ngIf="p.userPermission([permissionList.Actions.access])"
|
|
|
|
|
class="tab mr-20 d-flex align-center cursor-pointer" (click)="changeRoute('/home/publications')"
|
|
|
|
|
[class.active]="ActiveTabService.pages.publication">
|
|
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'default' || ThemeService.currentTheme == 'doneIt' "
|
|
|
|
|
class="font-40-rem" src='assets/images/icons-nav-a-es-inactive.svg'></ion-icon>
|
|
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' " class="font-40-rem"
|
|
|
|
|
src='assets/images/theme/gov/icons-nav-a-es-inactive.svg'></ion-icon>
|
|
|
|
|
<span>Acções</span>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div *ngIf="p.userPermission([permissionList.Chat.access])"
|
|
|
|
|
class="tab mr-20 d-flex align-center cursor-pointer" (click)="changeRoute('/home/chat')"
|
|
|
|
|
[class.active]="ActiveTabService.pages.chat">
|
|
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'default' || ThemeService.currentTheme == 'doneIt' "
|
|
|
|
|
class="font-40-rem" src='assets/images/icons-nav-grupos-inactive-dk-white.svg'></ion-icon>
|
|
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' " class="font-40-rem"
|
|
|
|
|
src='assets/images/theme/gov/icons-nav-grupos-inactive-dk-white.svg'></ion-icon>
|
|
|
|
|
<span>Chat</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="header-btns d-flex">
|
|
|
|
|
|
|
|
|
|
<div *ngIf="PublicationHolderService.count != 0" style="color: black" >
|
|
|
|
|
<span *ngIf="!PublicationHolderService.PublicationFormMV?.[0]?.retry">{{ PublicationHolderService.count }}%</span>
|
|
|
|
|
<span style="padding-right: 12px" *ngIf="PublicationHolderService.PublicationFormMV?.[0]?.retry" (click)="PublicationHolderService.PublicationFormMV?.[0]?.retryFunction()" ><ion-icon src="assets/images/retry-svgrepo-com.svg" > </ion-icon></span>
|
|
|
|
|
<span style="padding-right: 7px" *ngIf="PublicationHolderService.PublicationFormMV?.[0]?.retry" (click)="PublicationHolderService.remove(PublicationHolderService.PublicationFormMV?.[0]?.id)">X</span>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div title="Pesquisa" *ngIf="!hideSearchBtn" class="mr-20 d-flex align-center cursor-pointer">
|
|
|
|
|
<div style="padding-top: 5px;" (click)="openSearch();showSearch=true" *ngIf="!showSearch">
|
|
|
|
|
<ion-icon title="Perfil" *ngIf="ThemeService.currentTheme == 'doneIt' " class="font-45-rem"
|
|
|
|
|
src="assets/images/theme/doneIt/icons-search.svg"></ion-icon>
|
|
|
|
|
<ion-icon title="Perfil" *ngIf="ThemeService.currentTheme == 'default' " class="font-45-rem"
|
|
|
|
|
src='assets/images/icons-search.svg'></ion-icon>
|
|
|
|
|
<ion-icon title="Perfil" *ngIf="ThemeService.currentTheme == 'gov' " class="font-45-rem"
|
|
|
|
|
src='assets/images/theme/gov/icons-search.svg'></ion-icon>
|
|
|
|
|
</div>
|
|
|
|
|
<button title="Fechar" class="btn-no-color" (click)="closeSearch();showSearch=false;searchSubject=''"
|
|
|
|
|
*ngIf="showSearch">
|
|
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'default' || ThemeService.currentTheme == 'doneIt' "
|
|
|
|
|
class="font-40-rem" name="restaurant-outline" src="assets/images/icons-search-close.svg"></ion-icon>
|
|
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' " class="font-40-rem" name="restaurant-outline"
|
|
|
|
|
src="assets/images/theme/gov/icons-search-close.svg"></ion-icon>
|
|
|
|
|
</button>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div title="Perfil" class="div-profile d-flex cursor-pointer font-45-rem" (click)="openProfile()">
|
|
|
|
|
|
|
|
|
|
<div *ngIf="(profilePictureSubject | async) as calendarData" class="profile-image d-flex">
|
|
|
|
|
<img *ngIf="calendarData.base64 != null" class="profile-image image-prety" src={{calendarData.base64}}>
|
|
|
|
|
<ion-icon *ngIf="calendarData.base64 == null"
|
|
|
|
|
class="icon font-50 image-prety" src='assets/images/theme/gov/icons-profile.svg'></ion-icon>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="profile-text" *ngIf="(notificationCount$ | async) as notificationCount ">
|
|
|
|
|
|
|
|
|
|
<div *ngIf="notificationCount > 0" class="icon-badge" style="right: -6px;top: 38px;top: -6px;">
|
|
|
|
|
{{notificationCount}} </div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<div [class.header-bottom-line]="ThemeService.currentTheme == 'gov'" style="height: 5px;"></div>
|
|
|
|
|
</div>
|