Created
January 9, 2018 10:00
-
-
Save jayserdny/751912c51c1e2c4a90e32c62ee536515 to your computer and use it in GitHub Desktop.
home.html for steemit tutorial
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ion-header> | |
<ion-navbar> | |
<ion-title> | |
Ionic Blank | |
</ion-title> | |
</ion-navbar> | |
</ion-header> | |
<ion-content padding> | |
<ion-grid> | |
<ion-row> | |
<ion-col col-9> | |
<ion-input placeholder="Type your name" | |
[(ngModel)]="currentName"></ion-input> | |
</ion-col> | |
<ion-col col-3> | |
<button ion-button | |
(tap)="callServer()">Submit</button> | |
</ion-col> | |
</ion-row> | |
<ion-row> | |
<ion-col col-12> | |
{{ serverResults }} | |
</ion-col> | |
</ion-row> | |
<ion-row> | |
<ion-col col-4> | |
<button ion-button (tap)="openPage('LoginPage')"> | |
Login | |
</button> | |
</ion-col> | |
<ion-col col-4> | |
<button ion-button (tap)="openPage('RegisterPage')"> | |
Register | |
</button> | |
</ion-col> | |
<ion-col col-4> | |
<button ion-button (tap)="openProtected('ProtectedPage')"> | |
Protected | |
</button> | |
</ion-col> | |
</ion-row> | |
<ion-row> | |
<ion-col col-12> | |
current user: {{ currentUser }} | |
</ion-col> | |
</ion-row> | |
</ion-grid> | |
</ion-content> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment