logo work

This commit is contained in:
Your Name
2020-03-15 20:46:19 -04:00
parent 4d40ca80ae
commit 94bdab4a06
2 changed files with 24 additions and 1 deletions
+17
View File
@@ -5,5 +5,22 @@
</ion-header>
<ion-content>
<ion-list>
<ion-item>
<ion-label fixed>Username</ion-label>
<ion-input type="text"></ion-input>
</ion-item>
<ion-item>
<ion-label fixed>Password</ion-label>
<ion-input type="password"></ion-input>
</ion-item>
</ion-list>
<div padding>
<ion-button color="secondary" block (click)="onStartLogin()" >Sign In</ion-button>
</div>
</ion-content>
+7 -1
View File
@@ -1,5 +1,7 @@
import { Router } from '@angular/router';
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-login',
templateUrl: './login.page.html',
@@ -7,9 +9,13 @@ import { Component, OnInit } from '@angular/core';
})
export class LoginPage implements OnInit {
constructor() { }
constructor( private router:Router) { }
ngOnInit() {
}
onStartLogin(){
this.router.navigateByUrl('tabs');
}
}