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-12 11:37:26 +01:00
|
|
|
<div class="d-flex height-100 background-white overflow-hidden border-t-radius ">
|
|
|
|
|
<!-- Left -->
|
2021-03-11 15:44:19 +01:00
|
|
|
<div class="d-flex flex-grow-1 flex-column aside max-width-md-40">
|
|
|
|
|
<!-- Header -->
|
2021-03-12 11:37:26 +01:00
|
|
|
<ion-toolbar >
|
|
|
|
|
<div class="main-header pt-25">
|
2021-03-11 15:44:19 +01:00
|
|
|
<div class="title-content">
|
|
|
|
|
<div class="div-title">
|
|
|
|
|
<ion-label class="title">Ações Presidenciais</ion-label>
|
|
|
|
|
</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">
|
|
|
|
|
<div class="item"
|
|
|
|
|
*ngFor="let viagem of publicationsTravelFolderList"
|
|
|
|
|
|
|
|
|
|
(click)="viewPublications(viagem.ProcessId)">
|
|
|
|
|
<div class="item-icon">
|
|
|
|
|
<ion-icon slot="end" src='assets/images/icons-plane-active.svg'></ion-icon>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="item-content">
|
|
|
|
|
<ion-label>
|
|
|
|
|
<p class="item-content-date">De {{viagem.DateBegin}} a {{viagem.DateEnd}}</p>
|
|
|
|
|
<p class="item-content-title">{{viagem.Description}}</p>
|
|
|
|
|
<p class="item-content-detail">{{viagem.Detail}}</p>
|
|
|
|
|
</ion-label>
|
|
|
|
|
</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-15 12:06:06 +01:00
|
|
|
<div class="d-none d-md-flex flex-grow-1 flex-column max-width-60"
|
|
|
|
|
style="border-left: 1px solid #d8d8d8;">
|
|
|
|
|
|
|
|
|
|
<!-- View Publication -->
|
2021-03-12 14:38:55 +01:00
|
|
|
<app-view-publications
|
|
|
|
|
*ngIf="desktopComponent.showViewPublication"
|
|
|
|
|
[folderId]="folderId"
|
|
|
|
|
class="height-100 d-flex flex-column overflow-hidden"
|
2021-03-15 12:06:06 +01:00
|
|
|
(addNewPublication)="addNewPublication($event)"
|
2021-03-15 16:47:16 +01:00
|
|
|
(openPublicationDetails)="openPublicationDetails($event)"
|
2021-03-12 14:38:55 +01:00
|
|
|
>
|
|
|
|
|
</app-view-publications>
|
|
|
|
|
|
2021-03-15 12:06:06 +01:00
|
|
|
<app-new-publication *ngIf="desktopComponent.showAddNewPublication"
|
|
|
|
|
class="height-100 d-flex flex-column overflow-hidden background-white"
|
|
|
|
|
[folderId]="folderId"
|
|
|
|
|
[publicationType]="publicationType"
|
2021-03-15 16:47:16 +01:00
|
|
|
(closeDesktopComponent)="closeDesktopComponent($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"
|
|
|
|
|
class="height-100 d-flex flex-column overflow-hidden background-white"
|
|
|
|
|
[publicationId]="publicationId"
|
|
|
|
|
></app-publication-detail-shared>
|
|
|
|
|
|
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>
|