Initial commit of DEMOS2 with the upgraded 'Create Event' UI. However, there is no input validation currently
This commit is contained in:
commit
7084bd1b16
155 changed files with 8102 additions and 0 deletions
41
allauthdemo/templates/allauth/account/login.html
Executable file
41
allauthdemo/templates/allauth/account/login.html
Executable file
|
@ -0,0 +1,41 @@
|
|||
{% extends "bases/bootstrap-auth.html" %}
|
||||
|
||||
{% load i18n %}
|
||||
{% load bootstrap3 %}
|
||||
{% load account socialaccount %}
|
||||
|
||||
{% block head_title %}{% trans "Sign In" %}{% endblock %}
|
||||
|
||||
|
||||
{% block inner-content %}
|
||||
{% get_providers as socialaccount_providers %}
|
||||
|
||||
<h1 class="text-center">Log In</h1>
|
||||
<hr>
|
||||
|
||||
<div class="row">
|
||||
|
||||
{% if socialaccount_providers %}
|
||||
<div class="col-md-5 col-lg-5">
|
||||
{% include "allauth/account/provider_panel.html" with process="login" %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div class="{% if socialaccount_providers %}col-md-7 col-lg-7 {% else %} col-md-8 col-md-offset-2 col-lg-6 col-lg-offset-3 {% endif %}">
|
||||
<form class="login" method="POST" action="{% url 'account_login' %}">
|
||||
<span class="pull-right">Not yet a member? <a href="{% url 'account_signup' %}">Join</a></span>
|
||||
{% csrf_token %}
|
||||
{% bootstrap_form form %}
|
||||
{% if redirect_field_value %}
|
||||
<input type="hidden" name="{{ redirect_field_name }}" value="{{ redirect_field_value }}" />
|
||||
{% endif %}
|
||||
<div class="form-actions">
|
||||
<button class="btn btn-primary pull-right" type="submit">{% trans "Sign In" %}</button>
|
||||
<a class="btn" href="{% url 'account_reset_password' %}">{% trans "Forgot Password?" %}</a>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
|
Reference in a new issue