diff --git a/website/templates/account/login.html b/website/templates/account/login.html new file mode 100644 index 000000000..25986aa74 --- /dev/null +++ b/website/templates/account/login.html @@ -0,0 +1,83 @@ +{% extends "base.html" %} + +{% load i18n %} +{% load account socialaccount %} + +{% block style %} +.inner-addon { + position: relative; +} +.inner-addon .glyphicon { + position: absolute; + padding: 10px; + pointer-events: none; +} +.left-addon .glyphicon { left: 0px;} +.right-addon .glyphicon { right: 0px;} +.left-addon input { padding-left: 30px; } +.right-addon input { padding-right: 30px; } +{% endblock %} + +{% block content %} +{% get_providers as socialaccount_providers %} + +

Login

+ {% if socialaccount_providers %} +
+
+
+
    + {% for provider in socialaccount_providers %} + {% if provider.id == "openid" %} + {% for brand in provider.get_brands %} +
  • + {{brand.name}} +
  • + {% endfor %} + {% endif %} +
  • + {{provider.name}} +
  • + {% endfor %} +
+
+
+
+ {% include "socialaccount/snippets/login_extra.html" %} + {% endif %} + +
+
+ + Not yet a member? Join +
+
+{% endblock %} diff --git a/website/templates/account/logout.html b/website/templates/account/logout.html new file mode 100644 index 000000000..9052ef9f3 --- /dev/null +++ b/website/templates/account/logout.html @@ -0,0 +1,16 @@ +{% extends "account/base.html" %} + +{% load i18n %} + +{% block content %} +

{% trans "Sign Out" %}

+

{% trans 'Are you sure?' %}

+
+ {% csrf_token %} + {% if redirect_field_value %} + + {% endif %} + + {% trans 'Cancel' %} +
+{% endblock %} diff --git a/website/templates/account/signup.html b/website/templates/account/signup.html index b29d11cf1..f7702413a 100644 --- a/website/templates/account/signup.html +++ b/website/templates/account/signup.html @@ -2,8 +2,6 @@ {% load i18n %} -{% block head_title %}{% trans "Signup" %}{% endblock %} - {% block style %} .inner-addon { position: relative;