{% extends 'base.html.twig' %}
{% block message_head %}
{% endblock %}
{% block complete_body %}
<div class="app-container app-theme-white body-tabs-shadow">
<div class="app-container">
{# <div class="h-100 bg-plum-plate bg-animation">#}
<div class="h-100 bg-animation" style="background-image: linear-gradient(180deg, #96c574 25%, #2385c3 100%) !important;">
{% block message_body %}
{% for label, messages in app.flashes %}
{% for message in messages %}
<div class="alert alert-{{ label }}">
{{ message }}
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
{% endfor %}
{% endfor %}
{% endblock %}
<div class="d-flex h-100 justify-content-center align-items-center">
<div class="mx-auto app-login-box col-md-8">
{# <div class="app-logo-inverse mx-auto mb-3"></div> #}
{{ form_start(form) }}
<div class="form-row">
<div class="col-md-12">
{{ form_errors(form) }}
</div>
</div>
<div class="modal-dialog w-100 mx-auto">
<div class="modal-content">
<div class="modal-body">
<img src="{{ asset('images/logo_pm_sm.png') }}" alt="VISIO" title="VISIO" style="width:55px;position:absolute;top:10px;left:0;"/>
<div class="h5 modal-title text-center">
<h4 class="mt-2">
<div class="grey-PM">{{ 'menu.bienvenue'|trans }}</div>
<span>{{ 'menu.accueil'|trans }}</span>
</h4>
</div>
<div class="app-header-right" style="position:absolute;top:10px;right:0;">
<div class="header-dots">
<div class="dropdown">
<button type="button" data-toggle="dropdown" class="p-0 mr-2 btn btn-link">
<span class="icon-wrapper icon-wrapper-alt rounded-circle">
<span class="icon-wrapper-bg bg-focus"></span>
{% if app.request.locale == 'en' %}
<span class="language-icon opacity-8 flag large GB"></span>
{% else %}
<span class="language-icon opacity-8 flag large {{ app.request.locale|upper }}"></span>
{% endif %}
</span>
</button>
<div tabindex="-1" role="menu" aria-hidden="true" class="rm-pointers dropdown-menu dropdown-menu-right">
<a href="{{ path(app.request.attributes.get('_route'), app.request.query.all|merge({'_locale': 'fr'})) }}">
<button type="button" tabindex="0" class="dropdown-item">
<span class="mr-3 opacity-8 flag large FR"></span>
Français
</button></a>
<a href="{{ path(app.request.attributes.get('_route'), app.request.query.all|merge({'_locale': 'en'})) }}">
<button type="button" tabindex="0" class="dropdown-item">
<span class="mr-3 opacity-8 flag large GB"></span>
English
</button>
</a>
</div>
</div>
</div>
</div>
<div class="form-row">
<div class="col-md-12">
{{ form_errors(form) }}
</div>
<div class="col-md-12 form-group">
<div class="position-relative">
{{ form_row(form.identifiant) }}
</div>
</div>
<div class="col-md-12 form-group">
<div class="input-group">
{{ form_row(form.motdepasse) }}
<div class="input-group-append">
<span id="toggle-visibility-span" class="input-group-text toggle-password" style="cursor: pointer;" onclick="togglePasswordVisibility();" title="{{ "show_password" | trans }}">
<i id="login-form-password-icon" class="fas fa-eye"></i>
</span>
</div>
</div>
</div>
</div>
</div>
<div class="modal-footer clearfix">
<div class="float-left"><a href="forget" class="btn-lg btn btn-link blue-PM">{{ 'menu.recoverpassword'|trans }}</a></div>
<div class="float-right">
<button class="btn button-info-PM btn-lg" type="submit" id="connection" name="connection">{{ 'menu.login'|trans }}</button>
</div>
</div>
</div>
</div>
{{ form_end(form) }}
<div class="text-center text-white opacity-8 mt-3">
<p style="text-align: center;">Visio© 2009-{{ "now"|date("Y") }}
<br><a href="https://www.planet-monetic.fr/politique-de-confidentialite/" class='text-white' target="_blank">{{'titre_info_politique_conficdentialite'|trans}}</a> - {{ 'menu.footer'|trans }} <a href="http://www.mozilla.org/firefox/" class='text-white' target="_blank">FIREFOX©</a> & <a href="http://www.google.com/chrome/" class='text-white' target="_blank">CHROME©</a></p>
</div>
<div class="text-center m-auto mt-3">
<img src="{{ asset('images/logo_pm_white.png') }}" class="img-fluid" alt="VISIO" title="VISIO" style="width: 300px">
</div>
</div>
</div>
</div>
</div>
</div>
{% endblock %}