-
-
Save jianbo/0708694c2ad9b4dceb83 to your computer and use it in GitHub Desktop.
new page
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
<div class="bar bar-header"> | |
<a class="button button-icon icon ion-home" href="#/tab/home"></a> | |
<div class="h1 title">Sign in</div> | |
<a class="button button-clear button-positive" href="#/users/register">Sign up</a> | |
</div> | |
<ion-view> | |
<ion-content class="has-header padding"> | |
<form name="loginForm" class="auth-form" ng-submit="login(user)"> | |
<div class="alert alert-warning" ng-show="authReason"> | |
{{authReason}} | |
</div> | |
<div class="alert alert-error" ng-show="authError"> | |
{{authError}} | |
</div> | |
<div class="list"> | |
<label class="item item-input"> | |
<input type="email" class="input-block-level" placeholder="Email address" ng-model="user.email"> | |
</label> | |
<label class="item item-input"> | |
<input type="password" class="input-block-level" placeholder="Password" ng-model="user.password"> | |
</label> | |
</div> | |
<button class="button button-block button-positive" ng-click="submitted=true" ng-disabled="loginForm.$invalid">Login</button> | |
</form> | |
<br/> | |
<a class="fb-connect" href="" ng-click="fbLogin()"> | |
<img src="img/FB-f-Logo__blue_29.png"/> | |
Facebook Connect | |
</a> | |
</ion-content> | |
</ion-view> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment