Changes on Home view

This commit is contained in:
Tiago Kayaya
2020-09-01 11:06:23 +01:00
parent 91b50751b9
commit 0c65381ef7
13 changed files with 182 additions and 53 deletions
+30 -15
View File
@@ -1,10 +1,20 @@
<ion-header translucent="true">
<ion-toolbar>
<ion-buttons slot="start" class="logout-button" (click)="logout()">
<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="start" class="logout-button" (click)="logout()">
<ion-icon slot="start" name="log-out-outline"></ion-icon>
<ion-label>Sair</ion-label>
</ion-buttons>
</ion-buttons> -->
<!-- customized TOGGLE button -->
<ion-buttons slot="end">
<label class="switch">
<input type="checkbox" id="togBtn">
<div (click)="showAlert()">
@@ -12,10 +22,11 @@
<!--ADDED HTML --><span class="mdgpr">MDGPR</span></div><span class="pr">PR</span><!--END-->
</div>
</label>
</ion-buttons>
</ion-toolbar>
<ion-toolbar>
<ion-label>
<ion-item class="ion-text-header-top" lines="none">
<!-- <ion-item class="ion-text-header-top" lines="none">
<div class="div-logo">
<img src='assets/images/logo.png' alt='logo'>
</div>
@@ -23,21 +34,18 @@
<h6 class="header-xsmall">Presidente da República</h6>
<h2 class="header-large">GABINETE DIGITAL</h2>
</ion-label>
</ion-item>
</ion-item> -->
<ion-item class="ion-text-right" lines="none">
<ion-label class="ion-text-wrap">
<h3 class="header-medium"> {{greetting}} Sua Excelência <br />
Ministro Director do Gabinete do<br />
<h3 class="header-medium"> {{greetting}} Excelência <br />
Ministro Director do Gabinete do<!-- <br /> -->
Presidente da República
</h3>
<p class="p-small">{{customDate}}</p>
</ion-label>
</ion-item>
</ion-label>
</ion-toolbar>
</ion-header>
<ion-content>
</ion-toolbar>
<!-- TABS -->
<ion-toolbar >
<ion-segment [(ngModel)]="segment" (ionChange)="onSegmentChange()">
@@ -52,13 +60,20 @@
</ion-segment-button>
</ion-segment>
</ion-toolbar>
</ion-header>
<ion-content>
<ion-progress-bar type="indeterminate" *ngIf="showLoader"></ion-progress-bar>
<ion-label>
<p class="p-small">{{customDate}}</p>
</ion-label>
<!-- COMBINADA -->
<div [ngSwitch]="segment">
<ion-refresher name="refresher" slot="fixed" (ionRefresh)="doRefresh($event)">
<!-- <ion-refresher name="refresher" slot="fixed" (ionRefresh)="doRefresh($event)">
<ion-progress-bar type="indeterminate" *ngIf="showLoader"></ion-progress-bar>
<!-- <ion-refresher-content>
</ion-refresher-content> -->
</ion-refresher>
<ion-refresher-content>
</ion-refresher-content>
</ion-refresher> -->
<ion-list *ngSwitchCase="'Combinada'" >
<ion-item-group>
<ion-item-sliding>