X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/357027375ff8867f42ca34bcbfb5a78b5b185fc3..f9a071b288cec64a55000125a63b62a3b233c3fd:/src/wolnelektury/templates/socialaccount/connections.html diff --git a/src/wolnelektury/templates/socialaccount/connections.html b/src/wolnelektury/templates/socialaccount/connections.html index 3df16a8c5..681038601 100644 --- a/src/wolnelektury/templates/socialaccount/connections.html +++ b/src/wolnelektury/templates/socialaccount/connections.html @@ -5,38 +5,33 @@ {% block head_title %}{% trans "Account Connections" %}{% endblock %} {% block body %} +<div class="normal-text white-box"> + <h1>{% trans "Account Connections" %}</h1> -<div class="normal-text white-box"> {% if form.accounts %} <p>{% blocktrans %}You can sign in to your account using any of the following third party accounts:{% endblocktrans %}</p> -<form class="uniForm" method="post"> +<form method="post"> {% csrf_token %} -<fieldset class="blockLabels"> {% if form.non_field_errors %} -<div id="errorMsg">{{form.non_field_errors}}</div> +<div>{{form.non_field_errors}}</div> {% endif %} {% for base_account in form.accounts %} {% with base_account.get_provider_account as account %} -<div class="ctrlHolder"> <label for="id_account_{{base_account.id}}"> <input id="id_account_{{base_account.id}}" type="radio" name="account" value="{{base_account.id}}"/> <span class="socialaccount_provider {{base_account.provider}} {{account.get_brand.id}}">{{account.get_brand.name}}</span> <small>{{account}}</small> -</label> -</div> +</label><br><br> {% endwith %} {% endfor %} -<div class="buttonHolder"> <button type="submit">{% trans "Remove" %}</button> -</div> -</fieldset> </form> @@ -44,6 +39,7 @@ <p>{% trans "You currently have no social network accounts connected to this account." %}</p> {% endif %} +{% if USE_OPENID %} <h2>{% trans 'Add a 3rd Party Account' %}</h2> <ul class="socialaccount_providers"> @@ -51,6 +47,7 @@ </ul> {% include "socialaccount/snippets/login_extra.html" %} +{% endif %} </div> {% endblock %}