|
1 | | --inherit accounts/base.html |
2 | | --block container |
3 | | - div.container |
4 | | - div.row |
5 | | - div.page-header |
6 | | - h1.text-center |
7 | | - Please sign in |
8 | | - div.row |
9 | | - div.col-md-5.col-md-offset-1 |
10 | | - div.social-login-buttons |
11 | | - a.social-facebook.btn.btn-default.btn-lg href="${url_for('social.login', provider='Facebook')}" |
12 | | - i.fa.fa-facebook-square with Facebook |
13 | | - a.social-google.btn.btn-default.btn-lg href="${url_for('social.login', provider='Google')}" |
14 | | - i.fa.fa-google-plus with Google |
15 | | - a.social-github.btn.btn-default.btn-lg href="${url_for('social.login', provider='Github')}" |
16 | | - i.fa.fa-github with Github |
17 | | - a.social-twitter.btn.btn-default.btn-lg href="${url_for('social.login', provider='Twitter')}" |
18 | | - i.fa.fa-twitter with Twitter |
| 1 | +{% extends "base.html" %} |
| 2 | +{% block outlet %} |
| 3 | +<div class="container"> |
| 4 | + <div class="row"> |
| 5 | + <div class="page-header"> |
| 6 | + <h1 class="text-center">Please sign in</h1> |
| 7 | + </div> |
| 8 | + </div> |
| 9 | + <div class="row"> |
| 10 | + <div class="col-md-5 col-md-offset-1"> |
| 11 | + <div class="social-login-buttons"> |
| 12 | + <a class="social-facebook btn btn-default btn-lg" href="{{url_for('social.login', provider='Facebook')}}"> |
| 13 | + <i class="fa fa-facebook-square">with Facebook</i> |
| 14 | + </a> |
| 15 | + <a class="social-google btn btn-default btn-lg" href="{{url_for('social.login', provider='Google')}}"> |
| 16 | + <i class="fa fa-google-plus">with Google</i> |
| 17 | + </a> |
| 18 | + <a class="social-github btn btn-default btn-lg" href="{{url_for('social.login', provider='Github')}}"> |
| 19 | + <i class="fa fa-github">with Github</i> |
| 20 | + </a> |
| 21 | + <a class="social-twitter btn btn-default btn-lg" href="{{url_for('social.login', provider='Twitter')}}"> |
| 22 | + <i class="fa fa-twitter">with Twitter</i> |
| 23 | + </a> |
| 24 | + </div> |
| 25 | + </div> |
19 | 26 |
|
20 | | - div.col-md-5 |
21 | | - form.form-signin role="form" |
22 | | - input type="email" class="form-control input-lg" placeholder="Email address" required autofocus |
23 | | - input type="password" class="form-control input-lg" placeholder="Password" required |
24 | | - label.checkbox |
25 | | - input id="remember" name="remember" type="checkbox" value="y" |
26 | | - Remember me |
27 | | - input id="next" name="next" type="hidden" value="" |
28 | | - button.btn.btn-lg.btn-primary.btn-block type="submit" |
29 | | - Sign in |
30 | | - div.text-center |
31 | | - ul.nav.nav-pills style="display: inline-block;" |
32 | | - li |
33 | | - a href="${url_for_security('login')}" |
34 | | - Login |
35 | | - li |
36 | | - a href="${url_for_security('register')}" |
37 | | - Register |
38 | | - li |
39 | | - a href="${url_for_security('forgot_password')}" |
40 | | - Forgot password |
41 | | - li |
42 | | - a href="${url_for_security('send_confirmation')}" |
43 | | - Confirm account |
| 27 | + <div class="col-md-5"> |
| 28 | + <form class="form-signin" action="" role="form"> |
| 29 | + <input type="email" class="form-control input-lg" placeholder="Email address" required="required" autofocus="autofocus"/> |
| 30 | + <input type="password" class="form-control input-lg" placeholder="Password" required="required"/> |
| 31 | + <label class="checkbox" for=""></label> |
| 32 | + <input id="remember" name="remember" type="checkbox" value="y">Remember me |
| 33 | + <input id="next" name="next" type="hidden" value=""/> |
| 34 | + <button class="btn btn-lg btn-primary btn-block" type="submit">Sign in</button> |
| 35 | + </form> |
| 36 | + </div> |
| 37 | + <div class="text-center"> |
| 38 | + <ul class="nav nav-pills" style="display: inline-block;"> |
| 39 | + <li> |
| 40 | + <a href="{{url_for_security('login')}}">Login</a> |
| 41 | + </li> |
| 42 | + <li> |
| 43 | + <a href="{{url_for_security('register')}}">Register</a> |
| 44 | + </li> |
| 45 | + <li> |
| 46 | + <a href="{{url_for_security('forgot_password')}}">Forgot password</a> |
| 47 | + </li> |
| 48 | + <li> |
| 49 | + <a href="{{url_for_security('send_confirmation')}}">Confirm account</a> |
| 50 | + </li> |
| 51 | + </ul> |
| 52 | + </div> |
| 53 | + </div> |
| 54 | +</div> |
| 55 | +{% endblock %} |
0 commit comments