mirror of
https://github.com/sensebox/blockly-app
synced 2025-07-03 03:00:23 +02:00
styled login page
This commit is contained in:
parent
8b2f2484f9
commit
5fbd4d1d99
2 changed files with 32 additions and 25 deletions
|
@ -17,23 +17,30 @@
|
||||||
<ion-grid>
|
<ion-grid>
|
||||||
<ion-row>
|
<ion-row>
|
||||||
<ion-item>
|
<ion-item>
|
||||||
<ion-label>userName</ion-label>
|
<ion-label>
|
||||||
|
<ion-icon name="person"></ion-icon>
|
||||||
|
</ion-label>
|
||||||
<ion-input placeholder="userName" [(ngModel)]="userName"></ion-input>
|
<ion-input placeholder="userName" [(ngModel)]="userName"></ion-input>
|
||||||
</ion-item>
|
</ion-item>
|
||||||
</ion-row>
|
</ion-row>
|
||||||
<ion-row>
|
<ion-row>
|
||||||
<ion-item>
|
<ion-item>
|
||||||
<ion-label>Password</ion-label>
|
<ion-label>
|
||||||
|
<ion-icon name="lock"></ion-icon>
|
||||||
|
</ion-label>
|
||||||
<ion-input placeholder="Password" [(ngModel)]="password"></ion-input>
|
<ion-input placeholder="Password" [(ngModel)]="password"></ion-input>
|
||||||
</ion-item>
|
</ion-item>
|
||||||
</ion-row>
|
</ion-row>
|
||||||
<ion-row>
|
<ion-row>
|
||||||
|
<ion-col col-8>
|
||||||
|
</ion-col>
|
||||||
|
<ion-col col-4>
|
||||||
<ion-item>
|
<ion-item>
|
||||||
<button full ion-button color="secondary" (click)="submitLogin()">Login</button>
|
<button full ion-button color="secondary" (click)="submitLogin()"><ion-icon name="send"></ion-icon>Login</button>
|
||||||
</ion-item>
|
</ion-item>
|
||||||
|
</ion-col>
|
||||||
</ion-row>
|
</ion-row>
|
||||||
</ion-grid>
|
</ion-grid>
|
||||||
</ion-card>
|
</ion-card>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
</ion-content>
|
</ion-content>
|
||||||
|
|
||||||
|
|
|
@ -22,8 +22,8 @@ export class LoginPage {
|
||||||
|
|
||||||
submitLogin(){
|
submitLogin(){
|
||||||
this.loading = true;
|
this.loading = true;
|
||||||
|
// make api call to login with the credentials
|
||||||
//this.navCtrl.push(MySenseBoxPage)
|
this.navCtrl.push(MySenseBoxPage)
|
||||||
}
|
}
|
||||||
|
|
||||||
ionViewDidLoad() {
|
ionViewDidLoad() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue