Naigation tested
This commit is contained in:
@@ -19,6 +19,8 @@ export class UserService {
|
||||
constructor(private http: HttpClient) {
|
||||
console.log('Hello UserService Provider');
|
||||
this.url = 'https://oameye.svrjuba.works.jubabox.com/JUBA/user/';
|
||||
//https://apigateway.mermsemr.app.dev.fluxtra.net/merms-user/muser/loginuser
|
||||
//https://apigateway.jubabox.app.dev.fluxtra.net/juba-user/
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { Component, OnInit } from "@angular/core";
|
||||
import { Router } from '@angular/router';
|
||||
|
||||
@Component({
|
||||
selector: "app-start",
|
||||
@@ -6,10 +7,13 @@ import { Component, OnInit } from "@angular/core";
|
||||
styleUrls: ["./start.page.scss"],
|
||||
})
|
||||
export class StartPage implements OnInit {
|
||||
constructor() {}
|
||||
constructor(private router : Router) {}
|
||||
|
||||
ngOnInit() {}
|
||||
|
||||
userProps : null;
|
||||
|
||||
getCodePage() {
|
||||
alert("we stsrt here");
|
||||
this.router.navigateByUrl('tabs', this.userProps);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
<ion-label>Connect</ion-label>
|
||||
</ion-list-header>
|
||||
<ion-item>
|
||||
<ion-input style="font-size:30px; text-align: center;" class="form-control" [(ngModel)]="jubapage" name="jubapage" placeholder="Enter Page" maxlenght="12"></ion-input>
|
||||
<!--ion-input style="font-size:30px; text-align: center;" class="form-control" [(ngModel)]="jubapage" name="jubapage" placeholder="Enter Page" maxlenght="12"></ion-input -->
|
||||
</ion-item>
|
||||
<ion-item>
|
||||
<ion-grid>
|
||||
|
||||
Reference in New Issue
Block a user