templates/frontoffice_bundle/utilisateur/inscription.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.     <div class="container-fluid page-header py-5">
  85.         <h1 class="text-center text-white display-6 pb-2">Inscription</h1>
  86.         <ol class="breadcrumb justify-content-center mb-0">
  87.             <li class="breadcrumb-item"><a href="#">Acceuil</a></li>
  88.             <li class="breadcrumb-item active text-white">Inscription</li>
  89.         </ol>
  90.     </div>
  91.     <section>
  92.     <div class="container-fluid contact ">
  93.             <div class="container mt-5">
  94.                 <div class="p-5 bg-light rounded">
  95.                     <div class="row g-4">
  96.                         <form method="post">
  97.                             {% if response != "" %}
  98.                                 <div class="error text-danger">
  99.                                     {{ response }}
  100.                                 </div>
  101.                             {% endif %}
  102.                             <input type="text" class="w-100 form-control border-0 py-3 mb-4" placeholder="Nom" name="nom"/>
  103.                             <input type="text" class="w-100 form-control border-0 py-3 mb-4"  placeholder="Prénopm" name="prenom"/>
  104.                             <input type="tel" class="w-100 form-control border-0 py-3 mb-4"  placeholder="Téléphone" name="tel" />
  105.                             <input type="text" class="w-100 form-control border-0 py-3 mb-4"  placeholder="Adresse (Ex : Avenue ....)" name="adresse" />
  106.                             <input type="text" class="w-100 form-control border-0 py-3 mb-4"  placeholder="Complement adresse (Ex : Imm 10 App 15)" name="complementAdresse" />
  107.                             <select name="ville" class="w-100 form-control border-0 py-3 mb-4" >
  108.                                 <option value="Rabat">Rabat</option>
  109.                             </select>
  110.                             {% if type == "Professionnel" %}
  111.                                 <input type="text" class="w-100 form-control border-0 py-3 mb-4"  placeholder="Raison sociale" name="rs" />
  112.                                 <input type="text" class="w-100 form-control border-0 py-3 mb-4"  placeholder="RC" name="rc" />
  113.                                 <input type="text" class="w-100 form-control border-0 py-3 mb-4"  placeholder="Identifiant fiscale" name="if" />
  114.                                 <input type="text" class="w-100 form-control border-0 py-3 mb-4"  placeholder="Pattente" name="pattente" />
  115.                                 <input type="text" class="w-100 form-control border-0 py-3 mb-4"  placeholder="CNSS" name="cnss" />
  116.                                 <input type="text" class="w-100 form-control border-0 py-3 mb-4"  placeholder="ICE" name="ice" />
  117.                             {% endif %}
  118.                             <input type="email" class="w-100 form-control border-0 py-3 mb-4"  placeholder="Email" name="email" />
  119.                             <input type="password" class="w-100 form-control border-0 py-3 mb-4"  placeholder="Mot de passe" name="password1"/>
  120.                             <input type="password" class="w-100 form-control border-0 py-3 mb-4"  placeholder="Comfirmez mot de passe" name="password2"/>
  121.                             <button type="submit" class="w-100 btn form-control border-secondary py-3 bg-white text-primary " >S'inscrire</button>
  122.                         </form>
  123.                         <h4 style="text-align:center; margin-bottom:20px; margin-top:20px">OU SE CONNECTER AVEC</h4>
  124.                         <div class="row" style="text-align:center;">
  125.                             <div class="col-md-12 login_btn">
  126.                                 {#<a href="/connect/facebook" class="loginBtn loginBtn--facebook">#}
  127.                                 {#     Facebook#}
  128.                                 {#</a>#}
  129.                                 <a href="/connect/google" class="loginBtn loginBtn--google">
  130.                                     Google
  131.                                 </a>                            
  132.                             </div>
  133.                         </div>
  134.                     </div>
  135.                 </div>
  136.             </div>
  137.         </div>
  138.     </section>
  139.     <br/><br/>
  140. {% endblock %}
  141. {% block js %}
  142.     <script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCsvnXjUuSSF4wstBao9oG6C8OA-ZehAXE&libraries=places"></script>
  143. {% endblock %}