Skip to content

Commit

Permalink
Step 21.3: Add mobile view
Browse files Browse the repository at this point in the history
  • Loading branch information
Kamil Kisiela authored and Dotan Simha committed Nov 22, 2016
1 parent 73205f0 commit a6e592f
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions imports/ui/components/login/mobile.html
@@ -0,0 +1,27 @@
<md-content layout="row" layout-align="center start" layout-fill layout-margin>
<md-whiteframe layout="column" flex flex-md="50" flex-lg="50" flex-gt-lg="33" class="md-whiteframe-z2" layout-fill>
<!-- header -->
<md-toolbar class="md-primary md-tall" layout="column" layout-align="end" layout-fill>
<div layout="row" class="md-toolbar-tools md-toolbar-tools-bottom">
<h3 class="md-display-1">
Login
</h3>
</div>
</md-toolbar>

<!-- content -->
<div layout="column" layout-fill layout-margin layout-padding>
<!-- display an error -->
<md-toolbar ng-show="login.error" class="md-warn" layout="row" layout-fill layout-padding layout-margin>
<p class="md-body-1">{{ login.error }}</p>
</md-toolbar>

<md-divider></md-divider>

<!-- other actions -->
<div layout="row" layout-align="center">
<a class="md-button" href="/password">Forgot password?</a>
</div>
</div>
</md-whiteframe>
</md-content>

0 comments on commit a6e592f

Please sign in to comment.