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" %}
|
||||
{% endblock page_title %}
|
||||
{% endblock html_title %}
|
||||
{% block content %}
|
||||
<section class="section">
|
||||
<div class="card">
|
||||
<div class="card-content">
|
||||
<div class="card-body">
|
||||
{% block card_content %}
|
||||
{% if SOCIALACCOUNT_ENABLED %}
|
||||
{% get_providers as socialaccount_providers %}
|
||||
{% if socialaccount_providers %}
|
||||
|
@ -46,8 +42,4 @@
|
|||
{% include "includes/form.html" %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{% endblock content %}
|
||||
|
|
|
@ -32,6 +32,17 @@
|
|||
{% 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>
|
||||
|
|
|
@ -5,12 +5,6 @@
|
|||
{% translate "Create a new organization" %}
|
||||
{% endblock page_title %}
|
||||
{% endblock html_title %}
|
||||
{% 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 %}
|
||||
{% block card_content %}
|
||||
{% include "includes/form.html" %}
|
||||
{% endblock card_content %}
|
||||
|
|
|
@ -5,15 +5,13 @@
|
|||
{% translate "Profile" %}
|
||||
{% endblock page_title %}
|
||||
{% endblock html_title %}
|
||||
{% block content %}
|
||||
<section class="section">
|
||||
<div class="card">
|
||||
{% block card_header %}
|
||||
<div class="card-header">
|
||||
<h4 class="card-title">{% translate "Account" %}</h4>
|
||||
</div>
|
||||
<div class="card-content">
|
||||
<div class="card-body">
|
||||
<p class="card-text">
|
||||
{% endblock %}
|
||||
{% block card_content %}
|
||||
<p>
|
||||
{% 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 %}
|
||||
|
@ -36,8 +34,4 @@
|
|||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{% 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