2021-03-11 15:44:19 +01:00
|
|
|
<ion-header class="ion-no-border">
|
2020-12-16 15:07:28 +01:00
|
|
|
<app-header></app-header>
|
|
|
|
|
</ion-header>
|
2020-11-30 16:08:29 +01:00
|
|
|
|
|
|
|
|
<ion-content>
|
2020-12-10 11:22:06 +01:00
|
|
|
<ion-refresher name="refresher" slot="fixed" (ionRefresh)="doRefresh($event)">
|
2021-03-11 15:44:19 +01:00
|
|
|
<ion-progress-bar type="indeterminate" *ngIf="showLoader"></ion-progress-bar>
|
|
|
|
|
<ion-refresher-content>
|
|
|
|
|
</ion-refresher-content>
|
|
|
|
|
</ion-refresher>
|
|
|
|
|
|
|
|
|
|
<!-- Main container -->
|
2021-03-30 15:35:22 +01:00
|
|
|
<div class="main-content d-flex height-100 background-white overflow-hidden border-t-radius ">
|
2021-03-12 11:37:26 +01:00
|
|
|
<!-- Left -->
|
2021-03-30 15:35:22 +01:00
|
|
|
<div class="aside-left app-default-padding d-flex flex-grow-1 flex-column aside max-width-md-35">
|
2021-03-11 15:44:19 +01:00
|
|
|
<!-- Header -->
|
2021-03-12 11:37:26 +01:00
|
|
|
<ion-toolbar >
|
2021-03-30 15:35:22 +01:00
|
|
|
<div class="main-header">
|
2021-03-11 15:44:19 +01:00
|
|
|
<div class="title-content">
|
|
|
|
|
<div class="div-title">
|
2021-04-01 15:13:32 +01:00
|
|
|
<ion-label class="title">Acções Presidenciais</ion-label>
|
2021-03-11 15:44:19 +01:00
|
|
|
</div>
|
|
|
|
|
<div class="div-icon">
|
|
|
|
|
<ion-icon (click)="AddPublicationFolder()" slot="end" src='assets/images/icons-add.svg'></ion-icon>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</ion-toolbar>
|
|
|
|
|
<!-- Content -->
|
|
|
|
|
|
|
|
|
|
<div class="main-content overflow-auto-y">
|
2021-03-16 17:28:25 +01:00
|
|
|
<div class="item d-flex"
|
|
|
|
|
*ngFor="let viagem of publicationsTravelFolderList"
|
|
|
|
|
(click)="viewPublications(viagem.ProcessId)">
|
2021-03-11 15:44:19 +01:00
|
|
|
<div class="item-icon">
|
|
|
|
|
<ion-icon slot="end" src='assets/images/icons-plane-active.svg'></ion-icon>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="item-content">
|
2021-03-16 17:35:37 +01:00
|
|
|
<p class="item-content-date my-5">De {{viagem.DateBegin}} a {{viagem.DateEnd}}</p>
|
|
|
|
|
<p class="item-content-title my-10">{{viagem.Description}}</p>
|
|
|
|
|
<p class="item-content-detail my-5">{{viagem.Detail}}</p>
|
2021-03-11 15:44:19 +01:00
|
|
|
</div>
|
|
|
|
|
</div>
|
2021-03-15 16:47:16 +01:00
|
|
|
<div class="item width-100"
|
|
|
|
|
*ngFor="let evento of publicationsEventFolderList"
|
|
|
|
|
(click)="viewPublications(evento)">
|
2021-03-11 15:44:19 +01:00
|
|
|
<div class="item-icon2">
|
|
|
|
|
<ion-icon slot="end" src='assets/images/icons-nav-actions.svg'></ion-icon>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="item-content">
|
|
|
|
|
<ion-label>
|
|
|
|
|
<p class="item-content-date">{{evento.DateBegin}}</p>
|
|
|
|
|
<p class="item-content-title">{{evento.Description}}</p>
|
|
|
|
|
</ion-label>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2020-11-30 16:08:29 +01:00
|
|
|
</div>
|
2021-03-11 15:44:19 +01:00
|
|
|
|
2021-03-12 11:37:26 +01:00
|
|
|
<!-- Right -->
|
2021-03-30 15:35:22 +01:00
|
|
|
<div class="content d-none d-md-flex flex-grow-1 flex-column max-width-65 max-width-md-60">
|
2021-03-16 14:35:52 +01:00
|
|
|
|
|
|
|
|
<div class="width-100 height-100 d-flex align-center justify-center"
|
|
|
|
|
*ngIf="(
|
|
|
|
|
desktopComponent.showViewPublication == false &&
|
|
|
|
|
desktopComponent.showAddNewPublication == false &&
|
|
|
|
|
desktopComponent.showPublicationDetail == false &&
|
|
|
|
|
desktopComponent.showAddActions == false
|
2021-03-30 15:35:22 +01:00
|
|
|
)"><div>Nenhuma ação presidencial selecionada</div></div>
|
2021-03-15 12:06:06 +01:00
|
|
|
|
|
|
|
|
<!-- View Publication -->
|
2021-03-12 14:38:55 +01:00
|
|
|
<app-view-publications
|
|
|
|
|
*ngIf="desktopComponent.showViewPublication"
|
|
|
|
|
[folderId]="folderId"
|
2021-03-16 14:35:52 +01:00
|
|
|
class="height-100 d-flex flex-column overflow-hidden flex-grow-1"
|
2021-03-15 12:06:06 +01:00
|
|
|
(addNewPublication)="addNewPublication($event)"
|
2021-03-15 16:47:16 +01:00
|
|
|
(openPublicationDetails)="openPublicationDetails($event)"
|
2021-03-17 10:03:39 +01:00
|
|
|
(goBacktoPublicationDetails)="goBacktoPublicationDetails($event)"
|
2021-03-17 09:01:24 +01:00
|
|
|
(goBackToViewPublications)="goBackToViewPublications($event)"
|
|
|
|
|
(closeDesktopComponent)="closeDesktopComponent($event)"
|
2021-03-12 14:38:55 +01:00
|
|
|
>
|
|
|
|
|
</app-view-publications>
|
|
|
|
|
|
2021-03-17 09:01:24 +01:00
|
|
|
<app-new-publication
|
|
|
|
|
*ngIf="desktopComponent.showAddNewPublication"
|
2021-03-16 14:35:52 +01:00
|
|
|
class="height-100 d-flex flex-column overflow-hidden background-white flex-grow-1"
|
2021-03-15 12:06:06 +01:00
|
|
|
[folderId]="folderId"
|
|
|
|
|
[publicationType]="publicationType"
|
2021-03-16 14:35:52 +01:00
|
|
|
[publication]="publication"
|
2021-03-15 16:47:16 +01:00
|
|
|
(closeDesktopComponent)="closeDesktopComponent($event)"
|
2021-03-17 09:01:24 +01:00
|
|
|
(goBacktoPublicationDetails)="goBacktoPublicationDetails($event)"
|
|
|
|
|
(goBackToViewPublications)="goBackToViewPublications($event)"
|
2021-03-15 12:06:06 +01:00
|
|
|
>
|
|
|
|
|
</app-new-publication>
|
|
|
|
|
|
2021-03-15 16:47:16 +01:00
|
|
|
<app-publication-detail-shared
|
|
|
|
|
*ngIf="desktopComponent.showPublicationDetail"
|
2021-03-16 14:35:52 +01:00
|
|
|
class="height-100 d-flex flex-column overflow-hidden background-white flex-grow-1"
|
2021-03-15 16:47:16 +01:00
|
|
|
[publicationId]="publicationId"
|
2021-03-16 14:35:52 +01:00
|
|
|
(addNewPublication)="addNewPublication($event)"
|
|
|
|
|
(closeDesktopComponent)="closeDesktopComponent($event)"
|
2021-03-17 09:01:24 +01:00
|
|
|
(goBacktoPublicationDetails)="goBacktoPublicationDetails($event)"
|
|
|
|
|
(goBackToViewPublications)="goBackToViewPublications($event)"
|
2021-03-15 16:47:16 +01:00
|
|
|
></app-publication-detail-shared>
|
|
|
|
|
|
2021-03-16 12:14:46 +01:00
|
|
|
<app-new-action
|
|
|
|
|
*ngIf="desktopComponent.showAddActions"
|
2021-03-16 14:35:52 +01:00
|
|
|
class="height-100 d-flex flex-column overflow-hidden background-white flex-grow-1"
|
2021-03-16 12:14:46 +01:00
|
|
|
(closeDesktopComponent)="closeDesktopComponent($event)"
|
|
|
|
|
></app-new-action>
|
|
|
|
|
|
2020-11-30 16:08:29 +01:00
|
|
|
</div>
|
2021-03-11 15:44:19 +01:00
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
2020-11-30 16:08:29 +01:00
|
|
|
</ion-content>
|