mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 13:26:08 +00:00
save
This commit is contained in:
@@ -76,16 +76,12 @@ export class EventListPage implements OnInit {
|
||||
let mdEventsPessoal = await this.processes.GetTasksList('Agenda Pessoal MDGPR', false).toPromise();
|
||||
this.eventsMDGPRList = mdEventsOficial.concat(mdEventsPessoal);
|
||||
this.eventaprovacaostore.resetmd(this.eventsMDGPRList);
|
||||
console.log(this.eventsMDGPRList);
|
||||
|
||||
}
|
||||
else if(this.segment == 'PR'){
|
||||
let prEventsOficial = await this.processes.GetTasksList('Agenda Oficial PR', false).toPromise();
|
||||
let prEventsPessoal = await this.processes.GetTasksList('Agenda Pessoal PR', false).toPromise();
|
||||
this.eventsPRList = prEventsOficial.concat(prEventsPessoal);
|
||||
this.eventaprovacaostore.resetpr(this.eventsPRList);
|
||||
console.log(this.eventsMDGPRList);
|
||||
|
||||
}
|
||||
this.showLoader = false;
|
||||
this.skeletonLoader = false
|
||||
|
||||
@@ -55,7 +55,7 @@
|
||||
|
||||
</div>
|
||||
|
||||
<div class="d-flex">
|
||||
<div class="header-btns d-flex">
|
||||
<div class="mr-10 d-flex align-center cursor-pointer">
|
||||
<button (click)="openSearch();showSearch=true" *ngIf="!showSearch" class="btn-no-color">
|
||||
<ion-icon class="font-45" src='assets/images/icons-search.svg'></ion-icon>
|
||||
@@ -79,9 +79,9 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="div-profile justify-end d-flex cursor-pointer" (click)="openProfile()">
|
||||
<ion-icon class="font-45" *ngIf="loggeduser.Profile == 'MDGPR'" src='assets/images/icons-profile.svg'></ion-icon>
|
||||
<ion-icon class="font-45" *ngIf="loggeduser.Profile == 'PR' " src='assets/images/icons-profile-pr-header.svg'></ion-icon>
|
||||
<div class="div-profile d-flex cursor-pointer" (click)="openProfile()">
|
||||
<ion-icon class="icon" src='assets/images/icons-profile.svg'></ion-icon>
|
||||
<ion-label class="profile-text">{{loggeduser.Profile}}</ion-label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -18,6 +18,35 @@
|
||||
margin: 0px auto;
|
||||
}
|
||||
|
||||
.header-btns{
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.div-profile{
|
||||
width: 90px;
|
||||
height: fit-content;
|
||||
font-size: 45px;
|
||||
justify-content: flex-end;
|
||||
display: flex;
|
||||
background-color: transparent;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
overflow: auto;
|
||||
|
||||
.icon{
|
||||
position: relative;
|
||||
border: none !important;
|
||||
}
|
||||
|
||||
.profile-text{
|
||||
font-size: 20px;
|
||||
font-weight: 300;
|
||||
width: fit-content;
|
||||
position: absolute;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.desktop{
|
||||
display: none;
|
||||
@@ -64,4 +93,4 @@
|
||||
.icon-z{
|
||||
width: 20px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
</div> -->
|
||||
|
||||
<div class="div-profile d-flex cursor-pointer" (click)="openProfile()">
|
||||
<ion-icon class="icon" src='assets/images/icons-default-profile.svg'></ion-icon>
|
||||
<ion-icon class="icon" src='assets/images/icons-profile.svg'></ion-icon>
|
||||
<ion-label class="profile-text">{{loggeduser.Profile}}</ion-label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user