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