mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
buttons: save is first, cancel is second
This commit is contained in:
@@ -56,8 +56,8 @@
|
||||
</ion-content>
|
||||
<ion-footer>
|
||||
<div class="buttons">
|
||||
<button class="btn-cancel" shape="round" (click)="cancel()">Cancelar</button>
|
||||
<button class="btn-ok" shape="round" (click)="save()">Enviar</button>
|
||||
<button class="btn-cancel" shape="round" (click)="cancel()">Cancelar</button>
|
||||
</div>
|
||||
</ion-footer>
|
||||
|
||||
|
||||
@@ -92,8 +92,8 @@
|
||||
</ion-content>
|
||||
<ion-footer>
|
||||
<div class="buttons">
|
||||
<button class="btn-cancel" shape="round" (click)="cancelTask()">Cancelar</button>
|
||||
<button class="btn-ok" shape="round" (click)="saveTask()">Delegar</button>
|
||||
<button class="btn-cancel" shape="round" (click)="cancelTask()">Cancelar</button>
|
||||
</div>
|
||||
</ion-footer>
|
||||
|
||||
|
||||
@@ -143,12 +143,14 @@ export class DocumentSetUpMeetingPage implements OnInit {
|
||||
}
|
||||
|
||||
if(this.taskParticipants.length == 0) {
|
||||
this.taskParticipants = [{
|
||||
EmailAddress: SessionStore.user.Email,
|
||||
IsRequired: true,
|
||||
Name: SessionStore.user.FullName,
|
||||
UserType: "GD"
|
||||
}]
|
||||
this.taskParticipants = [
|
||||
// {
|
||||
// EmailAddress: SessionStore.user.Email,
|
||||
// IsRequired: true,
|
||||
// Name: SessionStore.user.FullName,
|
||||
// UserType: "GD"
|
||||
// }
|
||||
]
|
||||
}
|
||||
|
||||
this.changeAgenda()
|
||||
|
||||
@@ -77,8 +77,9 @@
|
||||
</ion-content>
|
||||
<ion-footer>
|
||||
<div class="buttons">
|
||||
<button class="btn-cancel" shape="round" (click)="cancelTask()">Cancelar</button>
|
||||
<button class="btn-ok" shape="round" (click)="saveTask()">Adicionar</button>
|
||||
<button class="btn-cancel" shape="round" (click)="cancelTask()">Cancelar</button>
|
||||
|
||||
</div>
|
||||
</ion-footer>
|
||||
|
||||
|
||||
@@ -37,6 +37,26 @@
|
||||
<ion-header class=" bg-blue ion-no-border">
|
||||
<div class="profile-content">
|
||||
|
||||
<div class="d-flex align-center">
|
||||
|
||||
<ion-icon *ngIf="SessionStore.user.RoleDescription != 'Presidente da República' && SessionStore.user.RoleDescription != 'Ministro e Director do Gabinete do PR' && SessionStore.user.RoleDescription != 'Secretário Geral' " class="profile-pic"
|
||||
src="assets/images/theme/gov/icons-profile.svg"></ion-icon>
|
||||
|
||||
<img *ngIf="SessionStore.user.RoleDescription == 'Presidente da República' " class="profile-pic"
|
||||
src='assets/images/presidente.png'>
|
||||
<img *ngIf="SessionStore.user.RoleDescription == 'Ministro e Director do Gabinete do PR' " class="profile-pic"
|
||||
src='assets/images/ministro.png'>
|
||||
<img *ngIf="SessionStore.user.RoleDescription == 'Secretário Geral' " class="profile-pic"
|
||||
src='assets/images/secretaria_geral.png'>
|
||||
|
||||
<!-- <ion-icon *ngIf="ThemeService.currentTheme == 'default' " class="profile-pic"
|
||||
src="assets/images/icons-default-profile.svg"></ion-icon>
|
||||
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' " class="profile-pic"
|
||||
src="assets/images/theme/gov/icons-profile.svg"></ion-icon>
|
||||
<ion-icon *ngIf="ThemeService.currentTheme == 'doneIt' " class="profile-pic"
|
||||
src="assets/images/theme/{{ThemeService.currentTheme}}/icons-profile.svg"></ion-icon> -->
|
||||
</div>
|
||||
|
||||
<div class="profile-name d-flex justify-content-center width-100">
|
||||
<ion-label>{{SessionStore.user.FullName}}</ion-label>
|
||||
</div>
|
||||
|
||||
@@ -80,6 +80,14 @@
|
||||
//color: var(--profile-text-color) !important;
|
||||
}
|
||||
|
||||
.profile-pic{
|
||||
width: 150px;
|
||||
height: 150px;
|
||||
border-radius: 50%;
|
||||
margin: 0 auto;
|
||||
border-color: transparent !important;
|
||||
}
|
||||
|
||||
.icon {
|
||||
font-size: rem(40);
|
||||
}
|
||||
|
||||
@@ -22,7 +22,8 @@
|
||||
</ion-content>
|
||||
<ion-footer class="ion-no-border">
|
||||
<div class="buttons width-100">
|
||||
<button class="btn-cancel cursor-pointer" shape="round" (click)="close()">Cancelar</button>
|
||||
<button class="btn-ok cursor-pointer" shape="round" (click)="save()">Enviar</button>
|
||||
<button class="btn-cancel cursor-pointer" shape="round" (click)="close()">Cancelar</button>
|
||||
|
||||
</div>
|
||||
</ion-footer>
|
||||
|
||||
+8
-6
@@ -154,12 +154,14 @@ export class BookMeetingModalPage implements OnInit {
|
||||
}
|
||||
|
||||
if (this.taskParticipants.length == 0) {
|
||||
this.taskParticipants = [{
|
||||
EmailAddress: SessionStore.user.Email,
|
||||
IsRequired: true,
|
||||
Name: SessionStore.user.FullName,
|
||||
UserType: "GD"
|
||||
}]
|
||||
this.taskParticipants = [
|
||||
// {
|
||||
// EmailAddress: SessionStore.user.Email,
|
||||
// IsRequired: true,
|
||||
// Name: SessionStore.user.FullName,
|
||||
// UserType: "GD"
|
||||
// }
|
||||
]
|
||||
}
|
||||
|
||||
this.changeAgenda();
|
||||
|
||||
Reference in New Issue
Block a user