From d246df9c740488e912e08e8c48d845f01d2ce0d3 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Sun, 25 May 2025 14:43:46 -0400 Subject: [PATCH] fix styles --- src/app/pages/forgot/forgot.page.html | 68 +++++++++++++++++---------- src/app/pages/login/login.page.html | 3 +- src/app/pages/login/login.page.ts | 10 +++- 3 files changed, 55 insertions(+), 26 deletions(-) diff --git a/src/app/pages/forgot/forgot.page.html b/src/app/pages/forgot/forgot.page.html index dc78e76..4123b38 100644 --- a/src/app/pages/forgot/forgot.page.html +++ b/src/app/pages/forgot/forgot.page.html @@ -1,18 +1,17 @@ -
+
-
- - - Forgot password - Select which contact details should we use to reset your password: + Select which contact details should we use to reset your + password: @@ -28,43 +27,64 @@
+ -
- Forgot password - Code has been sent to the your registered email + Code has been sent to the your registered email - + Continue
-
- Already have an account? Login +
+ Already have an account? + Login
diff --git a/src/app/pages/login/login.page.html b/src/app/pages/login/login.page.html index 81d2091..355e8b8 100644 --- a/src/app/pages/login/login.page.html +++ b/src/app/pages/login/login.page.html @@ -44,7 +44,7 @@ >Welcome back - +
+
{{login_response}}
diff --git a/src/app/pages/login/login.page.ts b/src/app/pages/login/login.page.ts index b89ab02..f8e502a 100644 --- a/src/app/pages/login/login.page.ts +++ b/src/app/pages/login/login.page.ts @@ -53,6 +53,8 @@ export class LoginPage implements OnInit { signup_country:string=''; signup_username:string=''; + login_response:string=""; + constructor( private router: Router, private wrenchService: WrenchService, @@ -128,6 +130,7 @@ getBlogData(){ username: string, password: string, sessionid: string }; async startLogin() { + this.login_response = ""; const loading = await this.loadingCtrl.create({ message: 'Starting ... ', duration: 3500, @@ -171,7 +174,12 @@ getBlogData(){ this.signup_country = loginResult.country; } else{ - this.showAlert("Error","Invalid username/password"); + this.login_response = "Invalid username or Password"; + setTimeout(()=>{ + this.login_response = ""; + }, 5000); + + // this.showAlert("Error","Invalid username/password"); this.isDisabled=false; } // this.showAlert("Error","Invalid username/password");