{#/********************************************************************************* * This file is part of Myddleware. * @package Myddleware * @copyright Copyright (C) 2013 - 2015 Stéphane Faure - CRMconsult EURL * @copyright Copyright (C) 2015 - 2016 Stéphane Faure - Myddleware ltd - contact@myddleware.com * @link http://www.myddleware.com This file is part of Myddleware. Myddleware is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Myddleware is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Myddleware. If not, see . *********************************************************************************/ #} {% extends "::baseone.html.twig" %} {# {% trans_default_domain 'FOSUserBundle' %} #} {% block title %}{{parent()}} | {{ 'login.title'|trans }}{% endblock %} {% block body %} {% block fos_user_content %} {# L'utilisateur est-il connecté ? #} {% if is_granted("IS_AUTHENTICATED_REMEMBERED") %} {# L'utilisateur est connecté ! #} {% include "RegleBundle:Home:index.html.twig" %} {% else %} {# L'utilisateur n'est pas connecté ! #}

{% if attempt < 6 %}

{% if error %} {% else %} {% endif %} {{ 'login.connexion'|trans }}

{{ 'login.btn.pwd_forgot'|trans }}

{% else %}

{{ 'login.btn.pwd_forgot'|trans }}

{% endif %}
{% if platform_sh == true %}

{% else %}

{% endif %}

{% if password_message == true %}

{{ 'login.platform.line1'|trans }}

{{ 'login.platform.line2'|trans }}

{% endif %}

{{ 'login.text_up_right'|trans }}

{{ 'login.btn.here'|trans }}

{#

{{ 'login.text_bottom_right'|trans }}

#}
{% endif %} {% endblock fos_user_content %} {# ------------- PARAMETRES JQUERY ------------- #} {# ------------- PARAMETRES JQUERY ------------- #} {% endblock %} {% block cssin %} body { background: url({{ asset('bundles/login/images/') }}fd.jpg) repeat-y; background-color: #9DC0E1; overflow-y:hidden; } #myd_connexion .logo { background: url({{ asset('bundles/login/images/') }}logo.png) no-repeat; background-size: 158px; } #myd_connexion .logo_platform { background: url({{ asset('bundles/login/images/') }}logo_platform.png) no-repeat; background-size: 158px; } #myd_connexion .logo_empty { background: url({{ asset('bundles/login/images/') }}logo_empty.png) no-repeat; background-size: 158px; } .btn-myd, .btn-mydinv, .btn-mydinv:hover, .btn-myd:hover { background: url({{ asset('bundles/login/images/') }}btn.png); } #myd_connexion .load { background: url({{ asset('bundles/login/images/') }}loadlogin.gif); height: 16px; width: 16px; display: inline-block; } .btn-myd { background-position: left top; } .btn-myd:hover { background-position: left bottom; } .btn-mydinv { background-position: left bottom; } .btn-mydinv:hover { background-position: left top; } {% endblock cssin %} {% block css %} {% endblock css %}