templates/registration/register.html.twig line 1

  1. {% extends 'baseLanding.html.twig' %}
  2. {% block title %}{{ parent() }} - Se connecter{% endblock %}
  3. {% block stylesheets %}
  4. {{ parent() }}
  5. <style>
  6.     html,
  7.     body {
  8.         height: 100%;
  9.         margin: 0;
  10.         padding: 0;
  11.     }
  12.     .full-height {
  13.         height: 90%;
  14.     }
  15.     body {
  16.         background: linear-gradient(to top right, #78c2ad 50%, #ffffff 50%);
  17.     }
  18.     body {
  19.         height: 100%;
  20.         margin: 0;
  21.         padding: 0;
  22.         background: url('/images/background.jpg') no-repeat center center fixed;
  23.         background-size: cover;
  24.         background-image: linear-gradient(to top right, #78c2ad 50%, rgba(255, 255, 255, 0.1) 70%), url('/images/background.jpg');
  25.     }
  26. </style>
  27. {% endblock %}
  28. {% block body %}
  29. <div class="background-image-overlay"></div> 
  30. <div class="container full-height">
  31.     <div class="row justify-content-center align-items-center full-height">
  32.         <div class="col-lg-4 col-md-6 mt-2">
  33.             <div class="card shadow-lg">
  34.                 <div class="card-body">
  35.                     <h1>Cumul<span style="color:#78c2ad">Success</span></h1>
  36.                     <hr>
  37.                     <p><i>Multipliez vos résultats, dès maintenant.</i></p>
  38.                     {{ form_start(registrationForm) }}
  39.                     {{ form_row(registrationForm.userName) }}
  40.                     {{ form_row(registrationForm.email) }}
  41.                     {{ form_row(registrationForm.plainPassword, {
  42.                         label: 'Mot de passe'
  43.                     }) }}
  44.                     {{ form_row(registrationForm.agreeTerms) }}
  45.             
  46.                   <p class="text-center"><button type="submit" class="btn btn-primary btn-lg">Créer mon compte</button></p>
  47.                 {{ form_end(registrationForm) }}
  48.                 </div>
  49.             </div>
  50.             <p class="text-center"><b><a style="text-decoration:none;color: black; z-index: 9999" href="{{path('app_login')}}">J'ai déjà un compte</a></b></p>
  51.         </div>
  52.     </div>
  53. </div>
  54. {% endblock %}