Initial commit
This commit is contained in:
13
templates/security/change_password.html
Normal file
13
templates/security/change_password.html
Normal file
@@ -0,0 +1,13 @@
|
||||
{% extends "base.html" %}
|
||||
{% set page_title = 'Change password' %}
|
||||
{% from "_formhelpers.html" import render_field, render_submit %}
|
||||
|
||||
{% block content %}
|
||||
<form action="{{ url_for_security('change_password') }}" method="POST" class="form-horizontal col-md-6 col-md-offset-3">
|
||||
{{ change_password_form.hidden_tag() }}
|
||||
{{ render_field(change_password_form.password) }}
|
||||
{{ render_field(change_password_form.new_password) }}
|
||||
{{ render_field(change_password_form.new_password_confirm) }}
|
||||
{{ render_submit() }}
|
||||
</form>
|
||||
{% endblock %}
|
||||
15
templates/security/confirm_social.html
Normal file
15
templates/security/confirm_social.html
Normal file
@@ -0,0 +1,15 @@
|
||||
{% extends "base.html" %}
|
||||
{% set page_title = 'Registration' %}
|
||||
{% from "_formhelpers.html" import render_field, render_submit %}
|
||||
|
||||
{% block content %}
|
||||
<form action="{{ url_for('friends.confirm_social') }}" method="POST" class="form-horizontal col-md-6 col-md-offset-3">
|
||||
{{ form.hidden_tag() }}
|
||||
<div class="col-xs-9 col-xs-offset-3">
|
||||
<span class="help-block">You will be registered as <strong>{{ session['failed_login_connection']['full_name'] }}</strong>.</span>
|
||||
<span class="help-block">Please confirm your address.</span>
|
||||
</div>
|
||||
{{ render_field(form.email) }}
|
||||
{{ render_submit() }}
|
||||
</form>
|
||||
{% endblock %}
|
||||
11
templates/security/forgot_password.html
Normal file
11
templates/security/forgot_password.html
Normal file
@@ -0,0 +1,11 @@
|
||||
{% extends "base.html" %}
|
||||
{% set page_title = 'Password reset' %}
|
||||
{% from "_formhelpers.html" import render_field, render_submit %}
|
||||
|
||||
{% block content %}
|
||||
<form action="{{ url_for_security('forgot_password') }}" method="POST" class="form-horizontal col-md-6 col-md-offset-3">
|
||||
{{ forgot_password_form.hidden_tag() }}
|
||||
{{ render_field(forgot_password_form.email) }}
|
||||
{{ render_submit() }}
|
||||
</form>
|
||||
{% endblock %}
|
||||
12
templates/security/invited.html
Normal file
12
templates/security/invited.html
Normal file
@@ -0,0 +1,12 @@
|
||||
{% extends "base.html" %}
|
||||
{% set page_title = 'Invitation' %}
|
||||
{% from "_formhelpers.html" import render_field, render_submit %}
|
||||
|
||||
{% block content %}
|
||||
<form action="{{ url_for('friends.invited', token=invite_token) }}" method="POST" class="form-horizontal col-md-6 col-md-offset-3">
|
||||
{{ invite_form.hidden_tag() }}
|
||||
{{ render_field(invite_form.password) }}
|
||||
{{ render_field(invite_form.password_confirm) }}
|
||||
{{ render_submit() }}
|
||||
</form>
|
||||
{% endblock %}
|
||||
23
templates/security/login_user.html
Normal file
23
templates/security/login_user.html
Normal file
@@ -0,0 +1,23 @@
|
||||
{% extends "base.html" %}
|
||||
{% set page_title = 'Login' %}
|
||||
{% from "_formhelpers.html" import render_field, render_submit %}
|
||||
{% from "_socialhelpers.html" import social_login %}
|
||||
|
||||
{% block content %}
|
||||
<form action="{{ url_for_security('login') }}" method="POST" class="form-horizontal col-md-6 col-md-offset-3">
|
||||
{{ login_user_form.hidden_tag() }}
|
||||
{{ render_field(login_user_form.email) }}
|
||||
{{ render_field(login_user_form.password) }}
|
||||
{{ render_field(login_user_form.remember) }}
|
||||
{{ render_field(login_user_form.next) }}
|
||||
<div class="form-group">
|
||||
<div class="col-xs-9 col-xs-offset-3">
|
||||
{{ render_submit(layout=False) }}
|
||||
<a href="{{ url_for_security('forgot_password') }}" class="btn btn-default">Forgot password?</a>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
<div class="col-md-3">
|
||||
{{ social_login('facebook', 'Facebook') }}
|
||||
</div>
|
||||
{% endblock %}
|
||||
20
templates/security/register_user.html
Normal file
20
templates/security/register_user.html
Normal file
@@ -0,0 +1,20 @@
|
||||
{% extends "base.html" %}
|
||||
{% set page_title = 'Registration' %}
|
||||
{% from "_formhelpers.html" import render_field, render_submit %}
|
||||
{% from "_socialhelpers.html" import social_register %}
|
||||
|
||||
{% block content %}
|
||||
<div class="container-fluid">
|
||||
<div class="col-md-6 col-md-offset-3">
|
||||
<form action="{{ url_for_security('register') }}" method="POST" class="form-horizontal">
|
||||
{{ register_user_form.hidden_tag() }}
|
||||
{{ render_field(register_user_form.email) }}
|
||||
{{ render_field(register_user_form.password) }}
|
||||
{{ render_submit() }}
|
||||
</form>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
{{ social_register('facebook', 'Facebook') }}
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
12
templates/security/reset_password.html
Normal file
12
templates/security/reset_password.html
Normal file
@@ -0,0 +1,12 @@
|
||||
{% extends "base.html" %}
|
||||
{% set page_title = 'Password reset' %}
|
||||
{% from "_formhelpers.html" import render_field, render_submit %}
|
||||
|
||||
{% block content %}
|
||||
<form action="{{ url_for_security('reset_password', token=reset_password_token) }}" method="POST" class="form-horizontal col-md-6 col-md-offset-3">
|
||||
{{ reset_password_form.hidden_tag() }}
|
||||
{{ render_field(reset_password_form.password) }}
|
||||
{{ render_field(reset_password_form.password_confirm) }}
|
||||
{{ render_submit() }}
|
||||
</form>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user