minor restyling of login screen (#2711)

This commit is contained in:
Kevin Papst
2021-08-10 14:25:36 +02:00
committed by GitHub
parent f80fe0e4d0
commit b31ded22b9
6 changed files with 44 additions and 8 deletions

View File

@@ -27,10 +27,9 @@
{% set class = 'btn-primary' %}
{% if kimai_config.loginFormActive %}
{% set class = 'btn-google' %}
<hr>
{% endif %}
<a href="{{ path('saml_login') }}" class="btn btn-block {{ class }}">
{{ kimai_config.samlTitle|trans }}
<span>{{ kimai_config.samlTitle|trans }}</span>
</a>
<br>
{% endif %}
@@ -43,15 +42,16 @@
{% endblock %}
{% block login_actions %}
<div class="login-actions">
{% if kimai_config.passwordResetActive %}
<a href="{{ path('fos_user_resetting_request') }}">
<a class="text-muted action-register" href="{{ path('fos_user_resetting_request') }}">
{{ 'I forgot my password'|trans({}, 'AdminLTEBundle') }}
</a>
<br>
{% endif %}
{% if kimai_config.selfRegistrationActive %}
<a href="{{ path('fos_user_registration_register') }}">
<a class="text-muted action-password" href="{{ path('fos_user_registration_register') }}">
{{ 'Register a new account'|trans({}, 'AdminLTEBundle') }}
</a>
{% endif %}
</div>
{% endblock %}