fixing desing in profile page

zohaib-huawei-q2
enadhilal 5 years ago
parent 1d1c0bfb6a
commit 8db6786515

@ -42,12 +42,12 @@ public direction : String;
public openHRRequestPage() {
this.cs.openHRRequestPage();
this.menu.toggle();
// this.menu.toggle();
}
public openRequestDetailsPage() {
this.cs.openRequestDetailsPage();
this.menu.toggle();
// this.menu.toggle();
}

@ -13,7 +13,7 @@
alt="Team Member Image" />
</div>
<div [ngClass]=" direction == 'ltr' ? 'changeImgBtn' : 'changeImgBtn-ar'">
<button ion-button icon-only menuToggle class="menubutton">
<button ion-button icon-only menuToggle class="menubutton" (click)="updateImageProfile()">
<img class="changeIcon" src="../assets/imgs/edit_icon.png">
</button>
</div>

@ -123,11 +123,11 @@ ion-thumbnail.menu-thumb {
color: white;
}
.service-ar {
font-size: 28px;
font-size: 20px;
color: white;
// letter-spacing: 1px;
font-weight: bold;
margin-right: 26px;
margin-right: 10px;
}
.services-ar {
font-size: 20px;
@ -194,12 +194,12 @@ ion-thumbnail.menu-thumb {
}
.service-row-en {
width: 79%;
margin: -12px 0px 0px 35px;
width: 85%;
margin: -12px 0px 0px 25px;
}
.service-row-ar {
width: 95%;
margin: -12px 0px 35px 0px;
width: 108%;
margin: -12px 0px 0px 0px;
}
ion-content {
@ -975,7 +975,7 @@ $actionBtnSize: 36px;
.text-years {
text-align: center;
width: 58px;
width: 20px;
}
.grid-card {
@ -1041,7 +1041,7 @@ $actionBtnSize: 36px;
}
.card-size-info-en{
width: 90%;
width: 88%;
left: 2%;
}

@ -130,8 +130,8 @@ export class HomeComponent implements OnInit {
}
}
selectedSegment(segmentData){
switch (segmentData){
selectedSegment(segmentData) {
switch (segmentData) {
case "personal":
this.personalInfoSegment = true;
this.basicDetailsSegment = false;
@ -156,8 +156,8 @@ export class HomeComponent implements OnInit {
}
}
allowEdit(allowVal){
switch(allowVal){
allowEdit(allowVal) {
switch (allowVal) {
case 1:
this.editBasic = true;
break;
@ -167,15 +167,15 @@ export class HomeComponent implements OnInit {
}
}
disableEdit(disableVal){
switch(disableVal){
disableEdit(disableVal) {
switch (disableVal) {
case 1:
this.editBasic = false;
break;
case 2:
this.editAddress = false;
break;
}
}
}
@ -187,5 +187,9 @@ export class HomeComponent implements OnInit {
});
return await modal.present();
}
updateImageProfile() {
this.cs.openChangeImagePage();
}
}

@ -14,7 +14,6 @@ export class ProfileService {
public updateImageProfile( updateImgRequest: any,onError?: any,errorLabel?: string
): Observable<any> {
console.log("services");
const request = updateImgRequest;
this.authService.authenticateRequest(request);
return this.api.post(

Loading…
Cancel
Save