enrion update
This commit is contained in:
@@ -39,27 +39,29 @@
|
|||||||
|
|
||||||
<ion-label class="forgot_lbl" (click)="onForgot()">Forgot your password ?</ion-label>
|
<ion-label class="forgot_lbl" (click)="onForgot()">Forgot your password ?</ion-label>
|
||||||
|
|
||||||
<ion-label class="or">Or Continue With</ion-label>
|
<div *ngIf="showSocial == true ">
|
||||||
|
<ion-label class="or">Or Continue With</ion-label>
|
||||||
|
<div class="button">
|
||||||
|
<ion-buttons>
|
||||||
|
<ion-button>
|
||||||
|
<ion-icon name="logo-facebook"></ion-icon>
|
||||||
|
</ion-button>
|
||||||
|
</ion-buttons>
|
||||||
|
|
||||||
<div class="button">
|
<ion-buttons>
|
||||||
<ion-buttons>
|
<ion-button>
|
||||||
<ion-button>
|
<ion-icon name="logo-google"></ion-icon>
|
||||||
<ion-icon name="logo-facebook"></ion-icon>
|
</ion-button>
|
||||||
</ion-button>
|
</ion-buttons>
|
||||||
</ion-buttons>
|
|
||||||
|
|
||||||
<ion-buttons>
|
<ion-buttons>
|
||||||
<ion-button>
|
<ion-button>
|
||||||
<ion-icon name="logo-google"></ion-icon>
|
<ion-icon name="logo-apple"></ion-icon>
|
||||||
</ion-button>
|
</ion-button>
|
||||||
</ion-buttons>
|
</ion-buttons>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<ion-buttons>
|
|
||||||
<ion-button>
|
|
||||||
<ion-icon name="logo-apple"></ion-icon>
|
|
||||||
</ion-button>
|
|
||||||
</ion-buttons>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="bottom">
|
<div class="bottom">
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ import { Component, OnInit, ViewChild } from '@angular/core';
|
|||||||
import { WrenchService } from 'src/app/services/wrench.service';
|
import { WrenchService } from 'src/app/services/wrench.service';
|
||||||
import { SessionDataProviderService } from 'src/app/store/session-data-provider.service';
|
import { SessionDataProviderService } from 'src/app/store/session-data-provider.service';
|
||||||
import { BlogDataService } from 'src/app/store/blog-data.service';
|
import { BlogDataService } from 'src/app/store/blog-data.service';
|
||||||
|
import { environment} from "../../../environments/environment";
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-login',
|
selector: 'app-login',
|
||||||
@@ -14,6 +15,7 @@ export class LoginPage implements OnInit {
|
|||||||
@ViewChild('password') password;
|
@ViewChild('password') password;
|
||||||
loginResult: any;
|
loginResult: any;
|
||||||
blogResult:any;
|
blogResult:any;
|
||||||
|
showSocial:boolean = true;
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
private router: Router,
|
private router: Router,
|
||||||
@@ -25,6 +27,7 @@ export class LoginPage implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
|
this.showSocial = environment.loginSocial;
|
||||||
// this.username='ses66181+6018@gmail.com';
|
// this.username='ses66181+6018@gmail.com';
|
||||||
// this.username='ses66181+1@gmail.com';
|
// this.username='ses66181+1@gmail.com';
|
||||||
// this.password='may12002';
|
// this.password='may12002';
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
export const environment = {
|
export const environment = {
|
||||||
production: true,
|
production: true,
|
||||||
apiKey: '', // <-- Enter your own key here!' PROD
|
apiKey: '', // <-- Enter your own key here!' PROD
|
||||||
baseUrl: 'https://orion.lotus.g1.wrenchboard.com/svs/user',
|
baseUrl: 'https://apigate.orion.g1.wrenchboard.com/svs/user',
|
||||||
images: 'https://orion.lotus.g1.wrenchboard.com/svs/user',
|
images: 'https://apigate.orion.g1.wrenchboard.com/svs/user',
|
||||||
|
loginSocial: false
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -3,5 +3,6 @@ export const environment = {
|
|||||||
apiKey: '', // <-- Enter your own key here!' TEST
|
apiKey: '', // <-- Enter your own key here!' TEST
|
||||||
baseUrl: 'https://apigate.lotus.g1.wrenchboard.com/en/wrench/api/v1',
|
baseUrl: 'https://apigate.lotus.g1.wrenchboard.com/en/wrench/api/v1',
|
||||||
images: 'https://apigate.lotus.g1.wrenchboard.com/en/wrench/api/v1/',
|
images: 'https://apigate.lotus.g1.wrenchboard.com/en/wrench/api/v1/',
|
||||||
|
loginSocial: true
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,8 @@
|
|||||||
|
export const environment = {
|
||||||
|
production: false,
|
||||||
|
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/',
|
||||||
|
loginSocial: true
|
||||||
|
};
|
||||||
|
|
||||||
Reference in New Issue
Block a user