login.html 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. {% extends "account/base.html" %}
  2. {% load static %}
  3. {% load i18n %}
  4. {% load account socialaccount %}
  5. <!-- NAME OF THE SITE -->
  6. {% block head_title %}{% trans "Sign In" %}{% endblock %}
  7. <!-- HTML HEAD -->
  8. {% block extra_head %}
  9. <meta charset="UTF-8" />
  10. <meta name="viewport" content="width=device-width, initial-scale=1" />
  11. <link rel="shortcut icon" type="image/png" href="https://animaproject.s3.amazonaws.com/home/favicon.png" />
  12. <link rel="stylesheet" type="text/css" href="{% static 'users/css/style.css' %}" />
  13. {% endblock extra_head %}
  14. {% block content %}
  15. <!-- EMAIL/PHONE AND PASSWORD -->
  16. <div class="container_auth">
  17. <div class="auth-block">
  18. <img class="logo400" src="{% static 'users/images/logo_open.svg' %}">
  19. <form class="login" method="POST" action="{% url 'account_login' %}">
  20. {% csrf_token %}
  21. {{ form.as_p }}
  22. {% if redirect_field_value %}
  23. <input type="hidden" name="{{ redirect_field_name }}" value="{{ redirect_field_value }}" />
  24. {% endif %}
  25. <a id="forgot-pass" class="button secondaryAction" href="{% url 'account_reset_password' %}">{% trans "Forgot Password?" %}</a>
  26. <div class="buttons">
  27. <a id="register" href="{{ signup_url }}">{% trans "Sign Up" %}</a>
  28. <button class="primaryAction enter" type="submit">{% trans "Sign In" %}</button>
  29. </div>
  30. </form>
  31. </div>
  32. </div>
  33. {% endblock content %}