login page

This commit is contained in:
CHIEFSOFT\ameye
2024-11-10 14:28:47 -05:00
parent 19b7cc800e
commit 96dc13c834
3 changed files with 12 additions and 5 deletions
+3 -2
View File
@@ -318,7 +318,7 @@ getBlogData(){
this.showAlert("Error", "Login failed!");
}
}).catch((error: any) => {
this.showAlert("Error", error);
// this.showAlert("Error", error);
console.log(error);
});
}
@@ -386,7 +386,8 @@ getBlogData(){
this.showAlert("Error", "Login failed!");
}
}).catch((error: any) => {
this.showAlert("Error", error);
//this.showAlert("Error", error);
// this.showAlert("Error", "Login cancelled");
console.log(error);
});
}
+4 -2
View File
@@ -14,7 +14,7 @@
<div class="simp_lbl" style="width: 40%;">Get Started.</div>
<div style="width: 20%;"> </div>
<div class="simp_lbl" style="text-align: right; width: 40%; margin-left: auto;">
<div style="background-color: aliceblue; color: darkblue; font-weight: normal; width: 85px; border-radius: 10px; text-align: center" (click)="onLogin()">or Login</div>
<!-- <div style="background-color: aliceblue; color: darkblue; font-weight: normal; width: 85px; border-radius: 10px; text-align: center" (click)="onLogin()">or Login</div>-->
</div>
</div>
@@ -22,7 +22,9 @@
<ion-item lines="none" style="margin-bottom: 10px;">
<ion-icon slot="start" name="flag-outline"></ion-icon>
<ion-select style="width: 100%; padding-left: 10px;" class ="login_entry" (ionChange)="verReg()" label="Select Country" placeholder="Select Country" [(ngModel)]='country'>
<ion-select
style="width: 100%; padding-left: 10px;"
class ="login_entry" (ionChange)="verReg()" label="Select Country" placeholder="Select Country" [(ngModel)]='country'>
<ion-select-option *ngFor="let item of signupCountry" value="{{item.code}}">{{item.country}}</ion-select-option>
</ion-select>
</ion-item>
+5 -1
View File
@@ -262,6 +262,9 @@ ion-content{
.login_entry{
background-color: white;
border-radius: 10px;
font-size: 14px;
color: #052944;
//padding: 0 10px 0 10px;
}
.login_box{
padding: 10px;
@@ -269,9 +272,10 @@ ion-content{
border-radius: 10px;
box-shadow: 1px 1px #d3d3d3;
margin-top: 10px;
max-width: 350px;
max-width: 360px;
margin-left: auto;
margin-right: auto;
//font-weight: bolder;
}
.simp_lbl {
margin-top: 15px;