Naigation tested

This commit is contained in:
Olu Amey
2021-06-05 23:03:06 -04:00
parent 44b03cd2ec
commit a146b772ae
3 changed files with 9 additions and 3 deletions
+2
View File
@@ -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/
}
+6 -2
View File
@@ -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);
}
}
+1 -1
View File
@@ -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>