removed confir from commit
This commit is contained in:
@@ -10,3 +10,5 @@ www
|
||||
www/*
|
||||
.angular/cache
|
||||
.angular/cache/14.2.0/*
|
||||
src\environments\*
|
||||
src/environments/*
|
||||
|
||||
@@ -10,6 +10,41 @@
|
||||
</ion-header>
|
||||
|
||||
<ion-content class="ion-padding">
|
||||
|
||||
|
||||
<ion-segment [(ngModel)]="tabs">
|
||||
<ion-segment-button value="about">
|
||||
<ion-label>Refer</ion-label>
|
||||
</ion-segment-button>
|
||||
<ion-segment-button value="lesson">
|
||||
<ion-label>History</ion-label>
|
||||
</ion-segment-button>
|
||||
</ion-segment>
|
||||
|
||||
|
||||
<ion-item lines="none">
|
||||
<ion-icon slot="start" name="mail-outline"></ion-icon>
|
||||
<ion-input type="email" placeholder="Email" [(ngModel)]='username'></ion-input>
|
||||
</ion-item>
|
||||
|
||||
<ion-item lines="none">
|
||||
<ion-icon slot="start" name="lock-closed-outline"></ion-icon>
|
||||
<ion-input type="password" placeholder="Password" [(ngModel)]='password'></ion-input>
|
||||
</ion-item>
|
||||
|
||||
<ion-item lines="none">
|
||||
<ion-icon slot="start" name="lock-closed-outline"></ion-icon>
|
||||
<ion-input type="password" placeholder="Password" [(ngModel)]='password'></ion-input>
|
||||
</ion-item>
|
||||
|
||||
<ion-button expand="block" (click)="startLogin()">
|
||||
Login
|
||||
</ion-button>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="chat" *ngFor="let item of referData">
|
||||
<div class="flex">
|
||||
<div class="bg_image back_image" [style.backgroundImage]="'url(assets/images/p3.jpg)'"></div>
|
||||
|
||||
@@ -1,4 +1,21 @@
|
||||
ion-item {
|
||||
--background: #f7f7f7;
|
||||
border-radius: 10px;
|
||||
margin-bottom: 24px;
|
||||
|
||||
ion-input {
|
||||
--padding-start: 10px;
|
||||
font-family: "regular";
|
||||
height: 50px;
|
||||
}
|
||||
|
||||
ion-icon {
|
||||
font-size: 22px;
|
||||
}
|
||||
}
|
||||
ion-header {
|
||||
|
||||
|
||||
ion-toolbar {
|
||||
--background: var(--ion-color-primary);
|
||||
|
||||
|
||||
@@ -25,6 +25,9 @@ export class LoginPage implements OnInit {
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
// this.username='ses66181+6018@gmail.com';
|
||||
// this.username='ses66181+1@gmail.com';
|
||||
// this.password='may12002';
|
||||
}
|
||||
|
||||
getBlogData(){
|
||||
@@ -41,9 +44,6 @@ getBlogData(){
|
||||
username: string, password: string, sessionid: string
|
||||
};
|
||||
startLogin() {
|
||||
// this.username='ses66181+6018@gmail.com';
|
||||
this.username='ses66181+1@gmail.com';
|
||||
this.password='may12002';
|
||||
if (this.username == null || this.username == '' || this.validateEmail(this.username) == false || this.password == null || this.password == '') {
|
||||
this.showAlert('Invalid Login', 'Enter username(email) and password to login');
|
||||
return;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
export const environment = {
|
||||
production: true,
|
||||
apiKey: '', // <-- Enter your own key here!'
|
||||
apiKey: '', // <-- Enter your own key here!' PROD
|
||||
baseUrl: 'https://orion.lotus.g1.wrenchboard.com/svs/user',
|
||||
images: 'https://orion.lotus.g1.wrenchboard.com/svs/user',
|
||||
};
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
export const environment = {
|
||||
production: false,
|
||||
apiKey: '', // <-- Enter your own key here!'
|
||||
apiKey: '', // <-- Enter your own key here!' TEST
|
||||
baseUrl: 'https://apigate.lotus.g1.wrenchboard.com/en/wrench/api/v1',
|
||||
images: 'https://apigate.lotus.g1.wrenchboard.com/en/wrench/api/v1/',
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user