start pages styles
This commit is contained in:
@@ -68,4 +68,16 @@ ion-content {
|
||||
width: 100px;
|
||||
}
|
||||
}
|
||||
|
||||
.last_lbl {
|
||||
text-align: center;
|
||||
margin-top: 16px;
|
||||
font-size: 16px;
|
||||
color: #be2e7e;
|
||||
|
||||
span {
|
||||
color: var(--ion-color-primary);
|
||||
font-family: "bold";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@ import {Component, OnInit, ViewChild} from '@angular/core';
|
||||
import { WrenchService } from 'src/app/services/wrench.service';
|
||||
import { SessionDataProviderService } from 'src/app/store/session-data-provider.service';
|
||||
import { BlogDataService } from 'src/app/store/blog-data.service';
|
||||
import {AlertController} from "@ionic/angular";
|
||||
import {AlertController, LoadingController} from "@ionic/angular";
|
||||
|
||||
@Component({
|
||||
selector: 'app-forgot',
|
||||
@@ -14,7 +14,7 @@ export class ForgotPage implements OnInit {
|
||||
@ViewChild('username') username;
|
||||
@ViewChild('password') password;
|
||||
@ViewChild('reset_pin') reset_pin;
|
||||
tab = 1
|
||||
tab = 2; // 1
|
||||
reset_uid:string = '';
|
||||
m_uid:string = '';
|
||||
password_reset_id:number = 0;
|
||||
@@ -22,6 +22,7 @@ export class ForgotPage implements OnInit {
|
||||
constructor(
|
||||
private router: Router,
|
||||
private wrenchService: WrenchService,
|
||||
private loadingCtrl: LoadingController,
|
||||
public sessionDataProviderService:SessionDataProviderService,
|
||||
public blogDataService:BlogDataService,
|
||||
public alertController: AlertController
|
||||
@@ -30,14 +31,23 @@ export class ForgotPage implements OnInit {
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
//this.tab=2;
|
||||
}
|
||||
|
||||
ionViewWillEnter(){
|
||||
//debugger;
|
||||
this.tab=2;
|
||||
}
|
||||
|
||||
reqData: {
|
||||
'action':11013, email: string, sessionid: string, channel:'MOBILE'
|
||||
};
|
||||
resetResult:any;
|
||||
onEnterEmail(){
|
||||
async onEnterEmail(){
|
||||
const loading = await this.loadingCtrl.create({
|
||||
message: 'Please wait...',
|
||||
duration: 6500,
|
||||
});
|
||||
|
||||
this.reset_uid = '';
|
||||
this.m_uid = '';
|
||||
if (this.username == null || this.username == '' || this.validateEmail(this.username) == false) {
|
||||
@@ -45,9 +55,11 @@ export class ForgotPage implements OnInit {
|
||||
return;
|
||||
}
|
||||
|
||||
loading.present();
|
||||
this.reqData = { 'action':11013,email: this.username, sessionid: 'DUMMY-APP-SESSION', channel:'MOBILE' }
|
||||
this.wrenchService.startPassReset(this.reqData).subscribe(
|
||||
resetResult => {
|
||||
loading.dismiss();
|
||||
this.resetResult = resetResult;
|
||||
console.log("INTERNAL RETURN->" + this.resetResult);
|
||||
/*
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<ion-content>
|
||||
<ion-content class="ion-padding no-scroll">
|
||||
<div class="start-pages">
|
||||
<div class="page_logo">
|
||||
<img alt="WrenchBoard" src="/assets/images/wrenchboard-line.png" />
|
||||
|
||||
@@ -101,7 +101,7 @@ ion-content {
|
||||
text-align: center;
|
||||
margin-top: 16px;
|
||||
font-size: 16px;
|
||||
color: #c2c2cb;
|
||||
color: #be2e7e;
|
||||
|
||||
span {
|
||||
color: var(--ion-color-primary);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<ion-content class="full-page">
|
||||
<ion-content class="full-page no-scroll">
|
||||
<div class="page_logo">
|
||||
<img alt="WrenchBoard" src="/assets/images/wrenchboard-line.png" />
|
||||
</div>
|
||||
|
||||
@@ -5,10 +5,10 @@ ion-content {
|
||||
// background-color: red;
|
||||
}
|
||||
.simp_lbl {
|
||||
margin-top: 10px;
|
||||
margin-top: 5px;
|
||||
font-size: 20px;
|
||||
letter-spacing: 1.2px;
|
||||
margin-bottom: 20px;
|
||||
margin-bottom: 10px;
|
||||
font-family: 'semi-bold';
|
||||
}
|
||||
|
||||
@@ -56,9 +56,10 @@ ion-content {
|
||||
.or {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
margin-top: 25px;
|
||||
color: grey;
|
||||
margin-top: 10px;
|
||||
//color: grey;
|
||||
font-size: 14px;
|
||||
color: #be2e7e;
|
||||
}
|
||||
|
||||
.button {
|
||||
@@ -83,9 +84,9 @@ ion-content {
|
||||
|
||||
.last_lbl {
|
||||
text-align: center;
|
||||
margin-top: 16px;
|
||||
margin-top: 10px;
|
||||
font-size: 16px;
|
||||
color: #c2c2cb;
|
||||
color: #be2e7e;
|
||||
|
||||
span {
|
||||
color: var(--ion-color-primary);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<ion-content class="ion-padding">
|
||||
<ion-content class="ion-padding no-scroll">
|
||||
<div class="main-content">
|
||||
<ion-slides pager="ios">
|
||||
|
||||
|
||||
Reference in New Issue
Block a user