2021-07-28 16:27:10 +01:00
|
|
|
<ion-content class=" bg-blue">
|
2023-07-28 16:28:59 +01:00
|
|
|
<div class="main-content header-fix width-100 overflow-y-auto height-100">
|
|
|
|
|
<div class="profile-header width-100 ">
|
2022-10-21 15:40:14 +01:00
|
|
|
<div class="div-logo width-40">
|
2022-03-09 10:06:25 +01:00
|
|
|
<div class="logo-icon">
|
2023-01-24 15:56:47 +01:00
|
|
|
<img *ngIf="ThemeService.currentTheme == 'default' " src='assets/images/logo-no-bg.png' alt='logo'>
|
2022-03-09 10:06:25 +01:00
|
|
|
<img *ngIf="ThemeService.currentTheme == 'gov' " src='assets/images/theme/gov/governoangola_A.png' alt='logo'>
|
2023-07-26 16:48:27 +01:00
|
|
|
<img *ngIf="ThemeService.currentTheme == 'doneIt' "
|
|
|
|
|
src='assets/images/theme/{{ThemeService.currentTheme}}/governoangola_A1.png' alt='logo'>
|
2022-03-09 10:06:25 +01:00
|
|
|
</div>
|
2023-07-26 16:48:27 +01:00
|
|
|
<div *ngIf="ThemeService.currentTheme == 'gov'"
|
|
|
|
|
class="logo-description d-flex align-center justify-content-center">
|
2022-03-09 10:06:25 +01:00
|
|
|
<div class="logo-description-content">
|
2022-09-23 11:23:24 +01:00
|
|
|
<!-- <p class="logo-description-text">Calendário Partilhado</p> -->
|
2023-01-25 15:49:16 +01:00
|
|
|
<p class="logo-description-text tp-5">{{ environment.logoLabel }}</p>
|
2022-07-06 09:59:22 +01:00
|
|
|
<div class="add-line"></div>
|
2022-12-22 17:20:05 +01:00
|
|
|
<p class="logo-description-text tp-5">GABINETE DIGITAL</p>
|
2022-03-09 10:06:25 +01:00
|
|
|
</div>
|
|
|
|
|
</div>
|
2023-07-26 16:48:27 +01:00
|
|
|
<div *ngIf="ThemeService.currentTheme == 'default'"
|
|
|
|
|
class="logo-description d-flex align-center justify-content-center">
|
2022-03-09 10:06:25 +01:00
|
|
|
<div class="logo-description-content">
|
2023-07-26 16:48:27 +01:00
|
|
|
<!-- <p class="logo-description-text color-white">Calendário Partilhado</p> -->
|
2023-01-25 15:49:16 +01:00
|
|
|
<p class="logo-description-text tp-5 color-white">{{ environment.logoLabel }}</p>
|
2022-07-06 09:59:22 +01:00
|
|
|
<div class="add-line-white"></div>
|
2022-12-22 17:20:05 +01:00
|
|
|
<p class="logo-description-text tp-5 color-white">GABINETE DIGITAL</p>
|
2022-03-09 10:06:25 +01:00
|
|
|
</div>
|
2021-07-29 11:40:25 +01:00
|
|
|
</div>
|
2022-10-21 15:40:14 +01:00
|
|
|
|
2023-07-26 16:48:27 +01:00
|
|
|
<div *ngIf="ThemeService.currentTheme == 'doneIt'"
|
|
|
|
|
class="logo-description d-flex align-center justify-content-center">
|
2022-10-21 15:40:14 +01:00
|
|
|
<div class="logo-description-content">
|
2023-07-26 16:48:27 +01:00
|
|
|
<!-- <p class="logo-description-text color-white">Calendário Partilhado</p> -->
|
|
|
|
|
<p class="logo-description-text tp-5 color-white" style="color: transparent;">{{ environment.logoLabel }}
|
|
|
|
|
</p>
|
2022-10-21 15:40:14 +01:00
|
|
|
<div class="add-line-white"></div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2021-07-28 16:27:10 +01:00
|
|
|
</div>
|
2023-08-11 16:38:23 +01:00
|
|
|
<div class="btn-close d-flex cursor-pointer pr-20" (click)="close()">
|
2023-07-26 16:48:27 +01:00
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'default' " class="icon"
|
|
|
|
|
src="assets/images/icons-search-close.svg"></ion-icon>
|
|
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' " class="icon"
|
|
|
|
|
src="assets/images/theme/gov/icons-search-close.svg"></ion-icon>
|
|
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'doneIt' " class="icon"
|
|
|
|
|
src="assets/images/theme/{{ThemeService.currentTheme}}/icons-search-close.svg"></ion-icon>
|
2021-07-28 16:27:10 +01:00
|
|
|
</div>
|
|
|
|
|
</div>
|
2021-07-29 11:40:25 +01:00
|
|
|
<div class="profile-content overflow-y-auto width-100 height-100">
|
|
|
|
|
<div class="profile-title d-flex justify-space-between align-center width-100">
|
|
|
|
|
<div class="d-flex align-center">
|
|
|
|
|
<div>Dados do perfil</div>
|
|
|
|
|
</div>
|
2021-07-28 16:27:10 +01:00
|
|
|
|
2021-07-29 11:40:25 +01:00
|
|
|
<!-- <div class="d-flex " (click)="close()">
|
|
|
|
|
<ion-icon class="icon" src="assets/images/icons-search-close.svg"></ion-icon>
|
|
|
|
|
</div> -->
|
|
|
|
|
</div>
|
2021-07-29 10:56:00 +01:00
|
|
|
|
2021-10-20 17:46:03 +01:00
|
|
|
<div>
|
2024-07-24 13:37:02 +01:00
|
|
|
<div class="d-flex justify-center align-center " >
|
|
|
|
|
<div mat-icon-button [matMenuTriggerFor]="menu" aria-label="Example icon-button with a menu">
|
|
|
|
|
<div class="d-flex align-center flex-column" >
|
2023-08-19 22:25:12 +01:00
|
|
|
|
|
|
|
|
|
2024-07-24 13:37:02 +01:00
|
|
|
<div *ngIf="(profilePictureSubject | async) as calendarData">
|
2025-09-05 11:42:36 +01:00
|
|
|
<img *ngIf="calendarData.base64 != null" class="profile-pic" src={{calendarData.base64}}>
|
|
|
|
|
<img *ngIf="calendarData.base64 == null" class="profile-pic" src="assets/images/theme/gov/icons-profile.svg">
|
2024-07-24 13:37:02 +01:00
|
|
|
</div>
|
2023-08-21 11:52:35 +01:00
|
|
|
|
2023-08-19 22:25:12 +01:00
|
|
|
|
2024-07-24 13:37:02 +01:00
|
|
|
<div
|
|
|
|
|
*ngIf="camecaIcons"
|
|
|
|
|
style="background: black;width: 50px;height: 50px;position: relative;margin-top: -33px;left: 38px;border-radius: 55px;overflow: hidden;border: 5px solid white;">
|
|
|
|
|
<img src="assets/images/camera.png">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2023-08-29 16:05:32 +01:00
|
|
|
</div>
|
2024-07-24 13:37:02 +01:00
|
|
|
<mat-menu #menu="matMenu">
|
|
|
|
|
<button (click)="uploadPicture(CameraSource.Camera)" mat-menu-item>
|
|
|
|
|
<span>take picture</span>
|
|
|
|
|
</button>
|
|
|
|
|
<button (click)="uploadPicture(CameraSource.Photos)" mat-menu-item >
|
|
|
|
|
<span>Ficheiro</span>
|
|
|
|
|
</button>
|
|
|
|
|
</mat-menu>
|
2021-07-29 10:56:00 +01:00
|
|
|
</div>
|
2023-08-29 16:05:32 +01:00
|
|
|
|
2024-07-24 13:37:02 +01:00
|
|
|
|
2021-07-29 10:56:00 +01:00
|
|
|
</div>
|
|
|
|
|
|
2021-07-29 11:40:25 +01:00
|
|
|
<div class="profile-info">
|
2022-10-07 11:01:54 +01:00
|
|
|
<div class="user-role" *ngIf="SessionStore.user.RoleDescription">{{SessionStore.user.RoleDescription}}</div>
|
2021-07-29 11:40:25 +01:00
|
|
|
|
|
|
|
|
<div class="container-div width-100">
|
|
|
|
|
<div class="ion-item-class-2">
|
|
|
|
|
<div class="ion-icon-class">
|
2021-10-26 15:27:25 +01:00
|
|
|
<ion-icon slot="start" name="person" class="ion-icon-class-theme"></ion-icon>
|
2021-07-29 11:40:25 +01:00
|
|
|
</div>
|
|
|
|
|
<div class="ion-input-class">
|
2021-08-27 17:11:05 +01:00
|
|
|
<ion-input disabled placeholder="Nome" [(ngModel)]="SessionStore.user.FullName"></ion-input>
|
2021-07-29 11:40:25 +01:00
|
|
|
</div>
|
2021-07-29 10:56:00 +01:00
|
|
|
</div>
|
2021-07-29 11:40:25 +01:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="container-div width-100">
|
|
|
|
|
<div class="ion-item-class-2">
|
|
|
|
|
<div class="ion-icon-class">
|
2021-10-26 15:27:25 +01:00
|
|
|
<ion-icon slot="start" name="mail" class="ion-icon-class-theme"></ion-icon>
|
2021-07-29 11:40:25 +01:00
|
|
|
</div>
|
|
|
|
|
<div class="ion-input-class">
|
2021-08-27 17:11:05 +01:00
|
|
|
<ion-input disabled placeholder="Email" [(ngModel)]="SessionStore.user.Email"></ion-input>
|
2021-07-29 11:40:25 +01:00
|
|
|
</div>
|
2021-07-29 10:56:00 +01:00
|
|
|
</div>
|
|
|
|
|
</div>
|
2021-10-20 17:46:03 +01:00
|
|
|
|
2021-07-29 10:56:00 +01:00
|
|
|
</div>
|
2021-07-28 16:27:10 +01:00
|
|
|
|
2021-10-20 17:46:03 +01:00
|
|
|
|
2021-09-02 12:17:14 +01:00
|
|
|
<div class="login-preference width-100" *ngIf="!platform.is('desktop') && !platform.is('mobileweb')">
|
2021-07-29 11:40:25 +01:00
|
|
|
<div class="preference">Preferência Login</div>
|
2021-07-28 16:27:10 +01:00
|
|
|
|
2021-07-29 11:40:25 +01:00
|
|
|
<ion-row>
|
|
|
|
|
<ion-col class="align-center d-flex">
|
2021-10-20 17:46:03 +01:00
|
|
|
<div class="d-flex align-center" (click)="LoginPreferenceMethod('Pin')">
|
|
|
|
|
<ion-checkbox [checked]="SessionStore.user.LoginPreference=='Pin' " class="checkBox"></ion-checkbox>
|
2021-07-29 11:40:25 +01:00
|
|
|
PIN
|
|
|
|
|
</div>
|
|
|
|
|
</ion-col>
|
|
|
|
|
</ion-row>
|
|
|
|
|
</div>
|
2021-07-28 16:27:10 +01:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</ion-content>
|
2024-06-10 08:59:19 +01:00
|
|
|
|
2021-07-29 11:40:25 +01:00
|
|
|
<ion-footer hidden class=" footer-container ion-no-border bg-blue">
|
2021-07-28 16:27:10 +01:00
|
|
|
|
|
|
|
|
<div class="d-flex justify-space-between">
|
|
|
|
|
|
2021-10-20 17:46:03 +01:00
|
|
|
<ion-buttons slot="end" (click)="close()">
|
|
|
|
|
<button class="btn-ok" fill="clear" color="#fff">
|
2023-02-15 16:26:34 +01:00
|
|
|
<ion-label>Enviar</ion-label>
|
2021-10-20 17:46:03 +01:00
|
|
|
</button>
|
|
|
|
|
</ion-buttons>
|
2023-10-19 16:51:12 +01:00
|
|
|
<ion-buttons slot="start" (click)="close()">
|
|
|
|
|
<button class="btn-cancel" fill="clear" color="#061b52">
|
|
|
|
|
<ion-label>Cancelar</ion-label>
|
|
|
|
|
</button>
|
|
|
|
|
</ion-buttons>
|
2024-06-10 08:59:19 +01:00
|
|
|
|
2021-07-28 16:27:10 +01:00
|
|
|
</div>
|
|
|
|
|
|
2024-06-10 08:59:19 +01:00
|
|
|
</ion-footer>
|