/
web.html
70 lines (62 loc) · 2.65 KB
/
web.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<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>
<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">
Sign in
</h3>
</div>
</md-toolbar>
<div layout="column" layout-fill layout-margin layout-padding>
<div layout="row" layout-fill layout-margin>
<p class="md-body-2">
Use existing account</p>
</div>
<div layout="row" layout-fill layout-margin layout-padding layout-wrap>
<md-button class="md-raised">
<md-icon md-svg-icon="social:ic_google_24px" style="color: #DC4A38;"></md-icon>
<span>Google</span>
</md-button>
<md-button class="md-raised">
<md-icon md-svg-icon="social:ic_facebook_24px" style="color: #3F62B4;"></md-icon>
<span>Facebook</span>
</md-button>
<md-button class="md-raised">
<md-icon md-svg-icon="social:ic_twitter_24px" style="color: #27AAE2;"></md-icon>
<span>Twitter</span>
</md-button>
</div>
<md-divider class="inset"></md-divider>
<div layout="row" layout-fill layout-margin>
<p class="md-body-2">
Sign in with your email</p>
</div>
<form name="loginForm" layout="column" layout-fill layout-padding layout-margin>
<md-input-container>
<label>
Email
</label>
<input type="text" ng-model="login.credentials.email" aria-label="email" required/>
</md-input-container>
<md-input-container>
<label>
Password
</label>
<input type="password" ng-model="login.credentials.password" aria-label="password" required/>
</md-input-container>
<div layout="row" layout-align="space-between center">
<a class="md-button" href="/password">Forgot password?</a>
<md-button class="md-raised md-primary" ng-click="login.login()" aria-label="login" ng-disabled="login.loginForm.$invalid()">Sign In
</md-button>
</div>
</form>
<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>
<div layout="row" layout-align="center">
<a class="md-button" href="/register">Need an account?</a>
</div>
</div>
</md-whiteframe>
</md-content>