{# # This file is part of MedShakeEHR. # # Copyright (c) 2017 # Bertrand Boutillier # http://www.medshake.net # # MedShakeEHR 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 # any later version. # # MedShakeEHR 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 MedShakeEHR. If not, see . #/ /## # Template > login # # @author Bertrand Boutillier # @contrib fr33z00 #} {% extends "page.html.twig" %} {% import "macroForm.html.twig" as f %} {% block title %}{{ config.designAppName }} : login{% endblock %} {% block jsFiles %} {% endblock %} {% block cssEmbed %} {{ parent() }} .form-signer {text-align:center;-webkit-box-align:center;-ms-flex-align:center;-ms-flex-pack:center;align-items:center;-webkit-box-pack:center;justify-content:center;} .form-signin {width:100%;max-width:330px;margin:0 auto;} .form-img {animation:shake 10s normal 1s infinite; margin-top:100px;} @keyframes shake { from {margin-left:0} 0.2% {margin-left:-2px} 0.6% {margin-left:4px} 1% {margin-left:-6px} 1.4% {margin-left:6px} 1.8% {margin-left:-4px} 2.1% {margin-left:2px} 2.4% {margin-left:0} 40% {margin-left:0} 40.2% {margin-left:-2px} 40.6% {margin-left:4px} 41% {margin-left:-6px} 41.4% {margin-left:6px} 41.8% {margin-left:-4px} 42.1% {margin-left:2px} 42.4% {margin-left:0} 80% {transform:rotate(0deg)} 85% {transform:rotate(360deg)} to {transform:rotate(360deg)} } {% endblock %} {% block jsEmbed %} $(document).ready(function() { $('input').on('keypress', function (e) { if (e.which == 13) { $('#formName_baseLogin').submit(); return false; } }); }); {% endblock %} {% block body %} {# validation error display bloc #} {{ f.errorFormDiv( session['form'][page.formIN]['validationErrorsMsg'] ) }}
{# form display #}
{% if config.designAppName == 'MedShakeEHR' %} {% endif %}

Identifiez-vous

{{ f.formbuilder(page.form , page.formIN , session) }} {% if config.optionGeLoginPassOnlineRecovery == 'true' %} {% endif %}
{% endblock %}