<div layout="row" layout-align="center none">
|
|
<md-card flex="flex" flex-gt-sm="50" flex-gt-md="33">
|
|
<md-toolbar>
|
|
<div class="md-toolbar-tools">
|
|
<h2><span>Login Form</span></h2>
|
|
</div>
|
|
</md-toolbar>
|
|
<md-card-content>
|
|
<form name="Form" ng-submit="login()">
|
|
<md-input-container class="md-block">
|
|
<div ng-messages="error">{{error}}</div>
|
|
</md-input-container>
|
|
<md-input-container class="md-block">
|
|
<label>Username</label>
|
|
<input ng-model="username" required autofocus>
|
|
</md-input-container>
|
|
<md-input-container class="md-block">
|
|
<label>Password</label>
|
|
<input ng-model="password" type="password" required>
|
|
</md-input-container>
|
|
<md-button ng-disabled="!Form.$valid" type="submit" class="md-raised md-primary">Login</md-button>
|
|
</form>
|
|
</md-card-content>
|
|
</md-card>
|
|
</div>
|