Accessibility updates
This commit is contained in:
39
templates/pages/sign-in.html.twig
Normal file
39
templates/pages/sign-in.html.twig
Normal file
@@ -0,0 +1,39 @@
|
||||
{% extends "pages/abstract/loginBox-page.html.twig" %}
|
||||
|
||||
{% block page_title %}{{translate('SIGNIN')}}{% endblock %}
|
||||
{% block page_description %}{{translate('PAGE.LOGIN.DESCRIPTION', {'site_name': site.title })}}{% endblock %}
|
||||
|
||||
{% block loginBox_title %}{{translate('SIGNIN')}}{% endblock %}
|
||||
{% block loginBox_content %}{% include "forms/sign-in.html.twig" %}{% endblock %}
|
||||
{% block loginBox_footer %}
|
||||
<a href="{{site.uri.public}}/account/forgot-password">{{translate('PASSWORD.FORGET')}}</a><br>
|
||||
{% if site.registration.require_email_verification %}
|
||||
<a href="{{site.uri.public}}/account/resend-verification">{{translate('ACCOUNT.VERIFICATION.RESEND')}}</a><br>
|
||||
{% endif %}
|
||||
{% if site.registration.enabled %}
|
||||
<a href="{{site.uri.public}}/account/register">{{translate('REGISTER')}}</a><br>
|
||||
{% endif %}
|
||||
<a href="{{site.uri.public}}">{{translate('BACK_TO_HOMEPAGE')}}</a>
|
||||
{% endblock %}
|
||||
|
||||
{% block scripts_page %}
|
||||
<!-- Include validation rules -->
|
||||
<script>
|
||||
{% include "pages/partials/page.js.twig" %}
|
||||
</script>
|
||||
|
||||
<script>
|
||||
site = $.extend(
|
||||
true, // deep extend
|
||||
{
|
||||
"registration" : {
|
||||
"enabled" : "{{site.registration.enabled}}"
|
||||
}
|
||||
},
|
||||
site
|
||||
);
|
||||
</script>
|
||||
|
||||
<!-- Include page-specific JS -->
|
||||
{{ assets.js('js/pages/sign-in') | raw }}
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user