0001-templates-add-django-blocks-around-login-registratio.patch
src/authentic2_auth_fc/templates/authentic2_auth_fc/login.html | ||
---|---|---|
1 | 1 |
{% load staticfiles %} |
2 | 2 |
{% load i18n %} |
3 | 3 | |
4 |
{% block login %} |
|
4 | 5 |
<link rel="stylesheet" type="text/css" href="{% static 'authentic2_auth_fc/css/fc.css' %}"> |
5 | 6 |
<div id="fc-button-wrapper"> |
6 | 7 |
<div id="fc-button"> |
... | ... | |
14 | 15 |
</div> |
15 | 16 |
{% include "authentic2_auth_fc/explanation.html" %} |
16 | 17 |
{% if popup %}<script src="{% static 'authentic2_auth_fc/js/fc.js' %}" type="text/javascript"></script>{% endif %} |
18 |
{% endblock %} |
src/authentic2_auth_fc/templates/authentic2_auth_fc/registration.html | ||
---|---|---|
1 | 1 |
{% load staticfiles %} |
2 | 2 |
{% load i18n %} |
3 | 3 | |
4 |
{% block registration %} |
|
4 | 5 |
<link rel="stylesheet" type="text/css" href="{% static 'authentic2_auth_fc/css/fc.css' %}"/> |
5 | 6 |
<div id="fc-button-wrapper"> |
6 | 7 |
<div id="fc-button"> |
... | ... | |
14 | 15 |
</div> |
15 | 16 |
{% include "authentic2_auth_fc/explanation.html" %} |
16 | 17 |
{% if popup %}<script src="{% static 'authentic2_auth_fc/js/fc.js' %}" type="text/javascript"></script>{% endif %} |
18 |
{% endblock %} |
src/authentic2_auth_oidc/templates/authentic2_auth_oidc/login.html | ||
---|---|---|
1 |
{% block login %} |
|
1 | 2 |
<p id="oidc-p-{% firstof provider.slug provider.name|slugify %}"> |
2 | 3 |
<a id="oidc-a-{% firstof provider.slug provider.name|slugify %}" |
3 | 4 |
href="{{ login_url }}">{{ provider.name }}</a> |
4 | 5 |
</p> |
6 |
{% endblock %} |
src/authentic2_auth_saml/templates/authentic2_auth_saml/login.html | ||
---|---|---|
1 |
{% load i18n %}<form method="post"> |
|
1 |
{% load i18n %} |
|
2 | ||
3 |
{% block login %} |
|
4 |
<form method="post"> |
|
2 | 5 |
<button class="submit-button" name="{{ submit_name }}">{% trans "Login" %}</button> |
3 | 6 |
{% if cancel %} |
4 | 7 |
<button class="cancel-button" name="cancel" formnovalidate>{% trans 'Cancel' %}</button> |
5 | 8 |
{% endif %} |
6 | 9 |
</form> |
7 | ||
10 |
{% endblock %} |
|
8 |
- |