nineskeletor/templates/Home/loginLDAP.html.twig

36 lines
1.1 KiB
Twig
Executable File

{% extends "base.html.twig" %}
{% block localstyle %}
<style>
label {
color: var(--colorftbodylight);
}
</style>
{% endblock %}
{% block body %}
<div style="text-align:center">
<img src="{{ appAlias }}uploads/logo/{{ app.session.get('logolight') }}" style="height:120px;margin-top:10px;margin-bottom:20px;">
<h1 style="border:none">{{appName}}</h1>
{{ form_start(form, {'action': path('app_loginldapcheck'), 'method': 'POST'}) }}
<div class="card homecard mb-3" style="width:400px; margin:auto; text-align: left;">
<div class="card-body">
{{ form_row(form.username) }}
{{ form_row(form.password) }}
{{ form_row(form.submit) }}
</div>
</div>
{% if appMasteridentity == "SQL"%}
<a href="{{path("app_resetpwd01")}}" class="mt-3">Mot de passe oublié ?</a>
{% endif %}
{{ form_end(form) }}
</div>
{% endblock %}
{% block localscript %}
<script>
$(document).ready(function() {
$("#login_username").focus();
});
</script>
{% endblock %}