Compare commits
2 commits
2baa3fd5ec
...
7682dc94c7
Author | SHA1 | Date | |
---|---|---|---|
7682dc94c7 | |||
e06b472d62 |
5 changed files with 94 additions and 87 deletions
|
@ -6,11 +6,7 @@
|
||||||
{% translate "Sign In" %}
|
{% translate "Sign In" %}
|
||||||
{% endblock page_title %}
|
{% endblock page_title %}
|
||||||
{% endblock html_title %}
|
{% endblock html_title %}
|
||||||
{% block content %}
|
{% block card_content %}
|
||||||
<section class="section">
|
|
||||||
<div class="card">
|
|
||||||
<div class="card-content">
|
|
||||||
<div class="card-body">
|
|
||||||
{% if SOCIALACCOUNT_ENABLED %}
|
{% if SOCIALACCOUNT_ENABLED %}
|
||||||
{% get_providers as socialaccount_providers %}
|
{% get_providers as socialaccount_providers %}
|
||||||
{% if socialaccount_providers %}
|
{% if socialaccount_providers %}
|
||||||
|
@ -46,8 +42,4 @@
|
||||||
{% include "includes/form.html" %}
|
{% include "includes/form.html" %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
{% endblock content %}
|
{% endblock content %}
|
||||||
|
|
|
@ -32,6 +32,17 @@
|
||||||
{% include "includes/message.html" %}
|
{% include "includes/message.html" %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% block content %}
|
{% 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 %}
|
{% endblock content %}
|
||||||
</div>
|
</div>
|
||||||
<footer>
|
<footer>
|
||||||
|
|
|
@ -5,12 +5,6 @@
|
||||||
{% translate "Create a new organization" %}
|
{% translate "Create a new organization" %}
|
||||||
{% endblock page_title %}
|
{% endblock page_title %}
|
||||||
{% endblock html_title %}
|
{% endblock html_title %}
|
||||||
{% block content %}
|
{% block card_content %}
|
||||||
<section class="section">
|
{% include "includes/form.html" %}
|
||||||
<div class="card">
|
{% endblock card_content %}
|
||||||
<div class="card-content">
|
|
||||||
<div class="card-body">{% include "includes/form.html" %}</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
{% endblock content %}
|
|
||||||
|
|
|
@ -5,15 +5,13 @@
|
||||||
{% translate "Profile" %}
|
{% translate "Profile" %}
|
||||||
{% endblock page_title %}
|
{% endblock page_title %}
|
||||||
{% endblock html_title %}
|
{% endblock html_title %}
|
||||||
{% block content %}
|
{% block card_header %}
|
||||||
<section class="section">
|
|
||||||
<div class="card">
|
|
||||||
<div class="card-header">
|
<div class="card-header">
|
||||||
<h4 class="card-title">{% translate "Account" %}</h4>
|
<h4 class="card-title">{% translate "Account" %}</h4>
|
||||||
</div>
|
</div>
|
||||||
<div class="card-content">
|
{% endblock %}
|
||||||
<div class="card-body">
|
{% block card_content %}
|
||||||
<p class="card-text">
|
<p>
|
||||||
{% blocktranslate trimmed %}
|
{% 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.
|
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 %}
|
{% endblocktranslate %}
|
||||||
|
@ -36,8 +34,4 @@
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
{% endblock content %}
|
{% endblock content %}
|
||||||
|
|
16
src/servala/frontend/templates/socialaccount/signup.html
Normal file
16
src/servala/frontend/templates/socialaccount/signup.html
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
{% 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 %}
|
Loading…
Add table
Add a link
Reference in a new issue