##// END OF EJS Templates
Update register.jinja2...
marcink -
Show More
@@ -1,86 +1,91 b''
1 1 {% extends "/layout.jinja2" %}
2 2 {% block content_class %}two-col equal{% endblock %}
3 3 {% block section_name %}register-section{% endblock %}
4 4 {% block app_block %}{% endblock %}
5 5 {% block page_title %}{% endblock %}
6 6
7 7 {% block content %}
8 8 <div class="container">
9 9
10 10 <div class="m-t-1 row">
11 11 {{ widgets.render_flash_messages(flash_msgs) }}
12 12 </div>
13 13 {% if social_plugins %}
14 14 <div class="row">
15 15
16 16 <div class="col-sm-12 text-center" id="social-form">
17 17
18 18 <h2>Log in or register using</h2>
19 19 {% if social_plugins.get('google') %}
20 20 <a href="{{ request.route_url('social_auth', provider='google') }}"
21 21 class="btn btn-default social" id="btn-google">
22 22 <span class="fa fa-google-plus-square fa-2x"></span> {{ _('Google') }}
23 23 </a>
24 24 {% endif %}
25 25 {% if social_plugins.get('twitter') %}
26 26 <a href="{{ request.route_url('social_auth', provider='twitter') }}"
27 27 class="btn btn-default social" id="btn-twitter">
28 28 <span class="fa fa-twitter fa-2x"></span> {{ _('Twitter') }}
29 29 </a>
30 30 {% endif %}
31 31 {% if social_plugins.get('bitbucket') %}
32 32 <a href="{{ request.route_url('social_auth', provider='bitbucket') }}"
33 33 class="btn btn-default social" id="btn-bitbucket">
34 34 <span class="fa fa-bitbucket fa-2x"></span> {{ _(' Bitbucket') }}
35 35 </a>
36 36 {% endif %}
37 37 {% if social_plugins.get('github') %}
38 38 <a tooltip-placement="bottom"
39 39 data-uib-tooltip="Why do you ask private repository permissions?
40 40 Unfortunately Github doesn't allow issue tracker integration
41 41 to send issues to private repositories without full repo access"
42 42 href="{{ request.route_url('social_auth', provider='github') }}"
43 43 class="btn btn-default social" id="btn-github">
44 44 <span class="fa fa-github fa-2x"></span> {{ _('Github') }}
45 45 </a>
46 46 {% endif %}
47 47
48 48 </div>
49 49 </div>
50 50 <hr/>
51 51
52 52 {% endif %}
53 53
54 54 <div class="row">
55 55
56 56 <div class="col-sm-5">
57 57 <div id="sign-in-form">
58 58 <h2 class="">Log in</h2>
59 59 <form action="{{ request.route_url('ziggurat.routes.sign_in') }}"
60 60 method="post">
61 61 {{ widgets.render_form(sign_in_form) }}
62 62 <input type="submit" class="btn btn-primary"
63 63 value="Sign In">
64 64 <a href="{{ request.route_url('lost_password') }}"
65 65 class="btn btn-info">{{ _('Lost password') }}</a>
66 66 </form>
67 67 </div>
68 68
69 69 </div>
70 70
71 71
72 72 <div class="col-sm-6 col-sm-offset-1">
73 73 <div id="sign-up-form">
74 74 <h2>Register here</h2>
75 75 <form action="{{ request.route_url('register') }}"
76 76 method="post" id="register_user">
77 77 {{ widgets.render_form(form) }}
78 78 <input type="submit" class="btn btn-primary"
79 79 value="Register">
80 <p>
81 By clicking "Register", you agree to our
82 <a href="https://getappenlight.com/page/terms-of-service.html">terms of service</a> and
83 <a href="https://getappenlight.com/page/privacy-policy.html">privacy policy</a>.
84 </p>
80 85 </form>
81 86 </div>
82 87 </div>
83 88
84 89 </div>
85 90 </div>
86 91 {% endblock %}
General Comments 2
Under Review
author

Auto status change to "Under Review"

Rejected

Please use: https://github.com/Appenlight/appenlight to contribute :) Thanks !

You need to be logged in to leave comments. Login now