Compare commits

..

No commits in common. "7682dc94c7dd64f69d2c978b863ac5a37af721da" and "2baa3fd5ec81fd44a3d678940f5b6cfd6119b796" have entirely different histories.

5 changed files with 87 additions and 94 deletions

View file

@ -6,7 +6,11 @@
{% translate "Sign In" %}
{% endblock page_title %}
{% endblock html_title %}
{% block card_content %}
{% block content %}
<section class="section">
<div class="card">
<div class="card-content">
<div class="card-body">
{% if SOCIALACCOUNT_ENABLED %}
{% get_providers as socialaccount_providers %}
{% if socialaccount_providers %}
@ -42,4 +46,8 @@
{% include "includes/form.html" %}
</div>
</div>
</div>
</div>
</div>
</section>
{% endblock content %}

View file

@ -32,17 +32,6 @@
{% include "includes/message.html" %}
{% endfor %}
{% block content %}
<section class="section">
<div class="card">
{% block card_header %}{% endblock %}
<div class="card-content">
<div class="card-body">
{% block card_content %}
{% endblock card_content %}
</div>
</div>
</div>
</section>
{% endblock content %}
</div>
<footer>

View file

@ -5,6 +5,12 @@
{% translate "Create a new organization" %}
{% endblock page_title %}
{% endblock html_title %}
{% block card_content %}
{% include "includes/form.html" %}
{% endblock card_content %}
{% block content %}
<section class="section">
<div class="card">
<div class="card-content">
<div class="card-body">{% include "includes/form.html" %}</div>
</div>
</div>
</section>
{% endblock content %}

View file

@ -5,13 +5,15 @@
{% translate "Profile" %}
{% endblock page_title %}
{% endblock html_title %}
{% block card_header %}
{% block content %}
<section class="section">
<div class="card">
<div class="card-header">
<h4 class="card-title">{% translate "Account" %}</h4>
</div>
{% endblock %}
{% block card_content %}
<p>
<div class="card-content">
<div class="card-body">
<p class="card-text">
{% blocktranslate trimmed %}
You are logged in with your VSHN user account. You will be able to change your password and other settings here in the future.
{% endblocktranslate %}
@ -34,4 +36,8 @@
</tbody>
</table>
</div>
</div>
</div>
</div>
</section>
{% endblock content %}

View file

@ -1,16 +0,0 @@
{% extends "frontend/base.html" %}
{% load i18n %}
{% block html_title %}
{% block page_title %}
{% translate "Sign Up" %}
{% endblock page_title %}
{% endblock html_title %}
{% block card_content %}
<p>
{% blocktrans with provider_name=account.get_provider.name site_name=site.name %}You are about to use your {{provider_name}} account to login to
{{site_name}}. As a final step, please complete the following form:{% endblocktrans %}
</p>
{% url 'socialaccount_signup' as form_action %}
{% translate "Sign Up" as form_submit_label %}
<div style="max-width: 300px">{% include "includes/form.html" %}</div>
{% endblock card_content %}