templates/frontoffice_bundle/utilisateur/compte.html.twig line 1

  1. {% extends "frontoffice_bundle/base.html.twig" %}
  2. {% block body %}
  3. <style>
  4. .page-header {
  5.     background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url("{{ asset("/bundles/Frontoffice/img/contact2.jpg")}}");
  6.     background-position: top;
  7.     background-repeat: no-repeat;
  8.     background-size: cover;
  9. }
  10. .login_btn a:hover,
  11. .login_btn a:focus {
  12. color:#3333335c !important;
  13. font-size: 16px;
  14. }
  15. .loginBtn {
  16.     box-sizing: border-box;
  17.     position: relative;
  18.     /* width: 13em;  - apply for fixed size */
  19.     margin: 0.2em;
  20.     padding: 0 15px 0 46px;
  21.     border: none;
  22.     text-align: left;
  23.     line-height: 34px;
  24.     white-space: nowrap;
  25.     border-radius: 0.2em;
  26.     font-size: 16px;
  27.     color: #FFF;
  28.   }
  29.   .loginBtn:before {
  30.     content: "";
  31.     box-sizing: border-box;
  32.     position: absolute;
  33.     top: 0;
  34.     left: 0;
  35.     width: 34px;
  36.     height: 100%;
  37.   }
  38.   .loginBtn:focus {
  39.     outline: none;
  40.   }
  41.   .loginBtn:active {
  42.     box-shadow: inset 0 0 0 32px rgba(0,0,0,0.1);
  43.   }
  44.   
  45.   
  46.   /* Facebook */
  47.   .loginBtn--facebook {
  48.     background-color: #4C69BA;
  49.       padding-bottom: 10px;
  50.       padding-top: 10px;
  51.     background-image: linear-gradient(#4C69BA, #3B55A0);
  52.     /*font-family: "Helvetica neue", Helvetica Neue, Helvetica, Arial, sans-serif;*/
  53.     text-shadow: 0 -1px 0 #354C8C;
  54.   }
  55.   .loginBtn--facebook:before {
  56.     border-right: #364e92 1px solid;
  57.     background: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/14082/icon_facebook.png') 6px 6px no-repeat;
  58.   }
  59.   .loginBtn--facebook:hover,
  60.   .loginBtn--facebook:focus {
  61.     background-color: #5B7BD5;
  62.     background-image: linear-gradient(#5B7BD5, #4864B1);
  63.     color: #000 !important
  64.   }
  65.   
  66.     .loginBtn--google:hover,
  67.   .loginBtn--google:focus {
  68.     background-color: #BB3F30;
  69.     color: #000 !important
  70.   }
  71.   
  72.   /* Google */
  73.   .loginBtn--google {
  74.     /*font-family: "Roboto", Roboto, arial, sans-serif;*/
  75.     background: #DD4B39;
  76.         padding-bottom: 10px;
  77.       padding-top: 10px;
  78.   }
  79.   .loginBtn--google:before {
  80.     border-right: #BB3F30 1px solid;
  81.     background: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/14082/icon_google.png') 6px 6px no-repeat;
  82.   }
  83. </style>
  84.     <!-- Single Page Header start -->
  85.         <div class="container-fluid page-header py-5">
  86.             <h1 class="text-center text-white display-6">Mon compte</h1>
  87.             <ol class="breadcrumb justify-content-center mb-0">
  88.                 <li class="breadcrumb-item"><a href="/">Acceuil</a></li>
  89.                 <li class="breadcrumb-item active text-white">Mon compte</li>
  90.             </ol>
  91.         </div>
  92.         <!-- Contact Start -->
  93.         <div class="container-fluid contact">
  94.             <div class="container mt-5">
  95.                 <div class="p-5 bg-light rounded">
  96.                     <div class="row g-4">
  97.                         <div class="col-lg-6 blockCompte">
  98.                             
  99.                             {% if response != "" %}
  100.                               <div class="error text-danger pb-2">
  101.                                {{ response }}
  102.                               </div>
  103.                             {% endif %}
  104.                             <form  method="POST">
  105.                                 <h4 class="text-primary">Vous avez déja un compte ?</h4>
  106.                                 <input type="email" name="email" class="w-100 form-control border-0 py-3 mb-4" placeholder="Email">
  107.                                 <input type="password" name="password" class="w-100 form-control border-0 py-3 mb-4" placeholder="Mot de passe">
  108.                                 <a href="/updatePassword/" class="">Mot de passe oublié ?</a>
  109.                                 <button style='background: var(--bs-secondary) !important;
  110.                                 color: var(--bs-white) !important;' class="btn btn-default mt-2 btn form-control border-secondary py-3 bg-white text-primary " type="submit">Se connecter</button>
  111.                             </form>
  112.                             <h4 style="text-align:center; margin-bottom:20px; margin-top:20px">OU SE CONNECTER AVEC</h4>
  113.                             <div class="row" style="text-align:center;">
  114.                                 <div class="col-md-12 login_btn">
  115.                                     {#<a href="/connect/facebook" class="loginBtn loginBtn--facebook">#}
  116.                                     {#    Facebook#}
  117.                                     {#</a>#}
  118.                                     <a href="/connect/google" class="loginBtn loginBtn--google">
  119.                                         Google
  120.                                     </a>                            
  121.                                 </div>
  122.                             </div>
  123.                         </div>
  124.                         <div class="col-md-1"></div>
  125.                         <div class="col-lg-5">
  126.                             <form action="" class="">
  127.                                 <h4 class="text-primary mb-4">Vous êtes nouvel utilisateur ? </h4>
  128.                                 <p>Afin de poursuivre vos commandes, nous vous invitons à vous inscrire sur notre plateforme.<br/>
  129.                                     En vous inscrivant, vous pouvez également effectuer des commande grâce à notre application mobile disponibles sur App Store et Google Play.
  130.                                 </p>
  131.                                 <h5 class="">je suis ? </h5>
  132.                                 <div class="row g-4 mt-3">
  133.                                 <div class="col-md-6">
  134.                                     <a href="/account/new/Particulier/" class="w-100 btn form-control border-secondary py-3 bg-white text-primary " >Particulier</a>
  135.                                 </div>
  136.                                 <div class="col-md-6">
  137.                                     <a href="/account/new/Professionnel/"  class="w-100 btn form-control border-secondary py-3 bg-white text-primary " >Professionnel</a>
  138.                                 </div>
  139.                                 </div>
  140.                             </form>
  141.                         </div>
  142.                     </div>
  143.                 </div>
  144.             </div>
  145.         </div>
  146.         <!-- Contact End -->
  147.     <br/><br/>
  148. {% endblock %}
  149. {% block js %}
  150. {% endblock %}