2020-08-25 14:17:33 +01:00
|
|
|
<ion-header translucent="true">
|
2020-08-28 13:38:10 +01:00
|
|
|
<ion-toolbar>
|
2020-09-01 11:06:23 +01:00
|
|
|
<ion-item class="ion-text-header-top" lines="none">
|
|
|
|
|
<div class="div-logo">
|
|
|
|
|
<img src='assets/images/logo.png' alt='logo'>
|
|
|
|
|
</div>
|
|
|
|
|
<ion-label>
|
|
|
|
|
<h6 class="header-xsmall">Presidente da República</h6>
|
|
|
|
|
<h2 class="header-large">GABINETE DIGITAL</h2>
|
|
|
|
|
</ion-label>
|
|
|
|
|
</ion-item>
|
|
|
|
|
<ion-buttons slot="end">
|
2020-08-31 10:03:26 +01:00
|
|
|
<label class="switch">
|
|
|
|
|
<input type="checkbox" id="togBtn">
|
|
|
|
|
<div (click)="showAlert()">
|
2020-08-28 15:34:18 +01:00
|
|
|
<div class="slider round">
|
2020-08-31 10:03:26 +01:00
|
|
|
<!--ADDED HTML --><span class="mdgpr">MDGPR</span></div><span class="pr">PR</span><!--END-->
|
2020-08-28 13:38:10 +01:00
|
|
|
</div>
|
|
|
|
|
</label>
|
2020-09-01 11:06:23 +01:00
|
|
|
</ion-buttons>
|
2020-08-28 13:38:10 +01:00
|
|
|
</ion-toolbar>
|
2020-08-18 23:32:12 +01:00
|
|
|
<ion-toolbar>
|
2020-08-28 16:34:16 +01:00
|
|
|
<ion-label>
|
2020-08-18 23:32:12 +01:00
|
|
|
<ion-item class="ion-text-right" lines="none">
|
|
|
|
|
<ion-label class="ion-text-wrap">
|
2020-09-01 11:06:23 +01:00
|
|
|
<h3 class="header-medium"> {{greetting}} Excelência <br />
|
|
|
|
|
Ministro Director do Gabinete do<!-- <br /> -->
|
2020-08-18 23:32:12 +01:00
|
|
|
Presidente da República
|
|
|
|
|
</h3>
|
2020-09-01 11:06:23 +01:00
|
|
|
|
2020-08-18 23:32:12 +01:00
|
|
|
</ion-label>
|
|
|
|
|
</ion-item>
|
2020-08-28 16:34:16 +01:00
|
|
|
</ion-label>
|
2020-09-01 11:06:23 +01:00
|
|
|
</ion-toolbar>
|
2020-08-18 23:32:12 +01:00
|
|
|
<!-- TABS -->
|
2020-08-25 14:17:33 +01:00
|
|
|
<ion-toolbar >
|
2020-08-21 18:26:03 +01:00
|
|
|
<ion-segment [(ngModel)]="segment" (ionChange)="onSegmentChange()">
|
|
|
|
|
<ion-segment-button value="Combinada">
|
2020-08-18 23:32:12 +01:00
|
|
|
Combinada
|
|
|
|
|
</ion-segment-button>
|
2020-08-21 18:26:03 +01:00
|
|
|
<ion-segment-button value="Oficial">
|
2020-08-18 23:32:12 +01:00
|
|
|
Oficial
|
|
|
|
|
</ion-segment-button>
|
2020-08-21 18:26:03 +01:00
|
|
|
<ion-segment-button value="Pessoal">
|
2020-08-18 23:32:12 +01:00
|
|
|
Pessoal
|
|
|
|
|
</ion-segment-button>
|
|
|
|
|
</ion-segment>
|
|
|
|
|
</ion-toolbar>
|
2020-09-01 11:06:23 +01:00
|
|
|
</ion-header>
|
|
|
|
|
|
|
|
|
|
<ion-content>
|
|
|
|
|
<ion-progress-bar type="indeterminate" *ngIf="showLoader"></ion-progress-bar>
|
|
|
|
|
<ion-label>
|
|
|
|
|
<p class="p-small">{{customDate}}</p>
|
|
|
|
|
</ion-label>
|
2020-08-21 18:26:03 +01:00
|
|
|
<!-- COMBINADA -->
|
2020-08-18 23:32:12 +01:00
|
|
|
<div [ngSwitch]="segment">
|
2020-09-01 11:29:24 +01:00
|
|
|
<ion-refresher name="refresher" slot="fixed" (ionRefresh)="doRefresh($event)">
|
2020-08-28 13:38:10 +01:00
|
|
|
<ion-progress-bar type="indeterminate" *ngIf="showLoader"></ion-progress-bar>
|
2020-09-01 11:06:23 +01:00
|
|
|
<ion-refresher-content>
|
|
|
|
|
</ion-refresher-content>
|
2020-09-01 11:29:24 +01:00
|
|
|
</ion-refresher>
|
2020-08-21 18:26:03 +01:00
|
|
|
<ion-list *ngSwitchCase="'Combinada'" >
|
2020-08-21 16:18:37 +01:00
|
|
|
<ion-item-group>
|
2020-08-18 23:32:12 +01:00
|
|
|
<ion-item-sliding>
|
|
|
|
|
<ion-item lines="none"
|
2020-08-21 16:18:37 +01:00
|
|
|
*ngFor="let event of eventsList"
|
2020-09-01 15:25:37 +01:00
|
|
|
[routerLink]="['/home/events', event.EventId, 'events']">
|
2020-08-25 14:01:46 +01:00
|
|
|
<div class="div-item-{{event.CalendarName}}">
|
2020-08-18 23:32:12 +01:00
|
|
|
<div class="div-up">
|
|
|
|
|
<div class="div-icon">
|
|
|
|
|
<ion-icon slot="start" name="reader"></ion-icon>
|
|
|
|
|
</div>
|
2020-08-25 10:37:41 +01:00
|
|
|
<div class="div-content-{{event.CalendarName}}">
|
2020-08-18 23:32:12 +01:00
|
|
|
<h3>{{event.Subject}}</h3>
|
2020-08-25 15:01:29 +01:00
|
|
|
<p>{{event.StartDate | date: 'hh:mm'}} - {{event.EndDate| date: 'hh:mm'}}</p>
|
2020-08-18 23:32:12 +01:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="div-botton">
|
|
|
|
|
<div class="div-botton-left">
|
|
|
|
|
<ion-icon class="ion-icon-location" slot="start" name="location"></ion-icon>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="div-botton-middle">
|
|
|
|
|
<p class="item-list-small">{{event.Location}}</p>
|
|
|
|
|
</div>
|
2020-08-31 10:03:26 +01:00
|
|
|
<div *ngIf="event.HasAttachments" class="div-botton-right">
|
2020-08-18 23:32:12 +01:00
|
|
|
<ion-icon class="ion-icon-attach" slot="end" name="attach-outline"></ion-icon>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</ion-item>
|
2020-08-21 18:26:03 +01:00
|
|
|
</ion-item-sliding>
|
2020-08-18 23:32:12 +01:00
|
|
|
</ion-item-group>
|
|
|
|
|
</ion-list>
|
2020-08-21 18:26:03 +01:00
|
|
|
<!-- OFICIAL -->
|
|
|
|
|
<ion-list *ngSwitchCase="'Oficial'">
|
|
|
|
|
<ion-item-group>
|
2020-08-18 23:32:12 +01:00
|
|
|
<ion-item-sliding>
|
2020-08-21 18:26:03 +01:00
|
|
|
<ion-item lines="none"
|
|
|
|
|
*ngFor="let event of officialeventsList"
|
|
|
|
|
[routerLink]="['/home/events', event.EventId]">
|
2020-08-25 14:01:46 +01:00
|
|
|
<div class="div-item-{{event.CalendarName}}">
|
2020-08-18 23:32:12 +01:00
|
|
|
<div class="div-up">
|
|
|
|
|
<div class="div-icon">
|
|
|
|
|
<ion-icon slot="start" name="reader"></ion-icon>
|
|
|
|
|
</div>
|
2020-08-25 10:37:41 +01:00
|
|
|
<div class="div-content-{{event.CalendarName}}">
|
2020-08-18 23:32:12 +01:00
|
|
|
<h3>{{event.Subject}}</h3>
|
2020-08-25 15:01:29 +01:00
|
|
|
<p>{{event.StartDate | date: 'hh:mm'}} - {{event.EndDate | date: 'hh:mm'}}</p>
|
2020-08-18 23:32:12 +01:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="div-botton">
|
|
|
|
|
<div class="div-botton-left">
|
|
|
|
|
<ion-icon class="ion-icon-location" slot="start" name="location"></ion-icon>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="div-botton-middle">
|
|
|
|
|
<p class="item-list-small">{{event.Location}}</p>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="div-botton-right">
|
2020-08-25 14:17:33 +01:00
|
|
|
<ion-icon class="ion-icon-attach" slot="end" name="attach-outline"></ion-icon>
|
2020-08-18 23:32:12 +01:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</ion-item>
|
|
|
|
|
</ion-item-sliding>
|
2020-08-21 18:26:03 +01:00
|
|
|
</ion-item-group>
|
2020-08-18 23:32:12 +01:00
|
|
|
</ion-list>
|
2020-08-21 18:26:03 +01:00
|
|
|
<!-- OFICIAL -->
|
|
|
|
|
<ion-list *ngSwitchCase="'Pessoal'">
|
|
|
|
|
<ion-item-group>
|
|
|
|
|
<ion-item-sliding>
|
|
|
|
|
<ion-item lines="none"
|
|
|
|
|
*ngFor="let event of personaleventsList"
|
|
|
|
|
[routerLink]="['/home/events', event.EventId]">
|
2020-08-25 14:01:46 +01:00
|
|
|
<div class="div-item-{{event.CalendarName}}">
|
2020-08-21 18:26:03 +01:00
|
|
|
<div class="div-up">
|
|
|
|
|
<div class="div-icon">
|
|
|
|
|
<ion-icon slot="start" name="reader"></ion-icon>
|
|
|
|
|
</div>
|
2020-08-25 10:37:41 +01:00
|
|
|
<div class="div-content-{{event.CalendarName}}">
|
2020-08-21 18:26:03 +01:00
|
|
|
<h3>{{event.Subject}}</h3>
|
2020-08-25 15:01:29 +01:00
|
|
|
<p>{{event.StartDate | date: 'hh:mm' }} - {{event.EndDate | date: 'hh:mm'}}</p>
|
2020-08-21 18:26:03 +01:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="div-botton">
|
|
|
|
|
<div class="div-botton-left">
|
|
|
|
|
<ion-icon class="ion-icon-location" slot="start" name="location"></ion-icon>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="div-botton-middle">
|
|
|
|
|
<p class="item-list-small">{{event.Location}}</p>
|
2020-08-18 23:32:12 +01:00
|
|
|
</div>
|
2020-08-21 18:26:03 +01:00
|
|
|
<div class="div-botton-right">
|
|
|
|
|
<ion-icon class="ion-icon-attach" slot="end" name="attach-outline"></ion-icon>
|
2020-08-18 23:32:12 +01:00
|
|
|
</div>
|
|
|
|
|
</div>
|
2020-08-21 18:26:03 +01:00
|
|
|
</div>
|
|
|
|
|
</ion-item>
|
|
|
|
|
</ion-item-sliding>
|
|
|
|
|
</ion-item-group>
|
|
|
|
|
</ion-list>
|
2020-08-18 23:32:12 +01:00
|
|
|
</div>
|
|
|
|
|
</ion-content>
|
|
|
|
|
|