templates/frontoffice_bundle/utilisateur/inscription.html.twig line 1
{% extends "frontoffice_bundle/base.html.twig" %}
{% block body %}
<style>
.page-header {
background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url("{{ asset("/bundles/Frontoffice/img/contact2.jpg")}}");
background-position: top;
background-repeat: no-repeat;
background-size: cover;
}
.login_btn a:hover,
.login_btn a:focus {
color:#3333335c !important;
font-size: 16px;
}
.loginBtn {
box-sizing: border-box;
position: relative;
/* width: 13em; - apply for fixed size */
margin: 0.2em;
padding: 0 15px 0 46px;
border: none;
text-align: left;
line-height: 34px;
white-space: nowrap;
border-radius: 0.2em;
font-size: 16px;
color: #FFF;
}
.loginBtn:before {
content: "";
box-sizing: border-box;
position: absolute;
top: 0;
left: 0;
width: 34px;
height: 100%;
}
.loginBtn:focus {
outline: none;
}
.loginBtn:active {
box-shadow: inset 0 0 0 32px rgba(0,0,0,0.1);
}
/* Facebook */
.loginBtn--facebook {
background-color: #4C69BA;
padding-bottom: 10px;
padding-top: 10px;
background-image: linear-gradient(#4C69BA, #3B55A0);
/*font-family: "Helvetica neue", Helvetica Neue, Helvetica, Arial, sans-serif;*/
text-shadow: 0 -1px 0 #354C8C;
}
.loginBtn--facebook:before {
border-right: #364e92 1px solid;
background: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/14082/icon_facebook.png') 6px 6px no-repeat;
}
.loginBtn--facebook:hover,
.loginBtn--facebook:focus {
background-color: #5B7BD5;
background-image: linear-gradient(#5B7BD5, #4864B1);
color: #000 !important
}
.loginBtn--google:hover,
.loginBtn--google:focus {
background-color: #BB3F30;
color: #000 !important
}
/* Google */
.loginBtn--google {
/*font-family: "Roboto", Roboto, arial, sans-serif;*/
background: #DD4B39;
padding-bottom: 10px;
padding-top: 10px;
}
.loginBtn--google:before {
border-right: #BB3F30 1px solid;
background: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/14082/icon_google.png') 6px 6px no-repeat;
}
</style>
<div class="container-fluid page-header py-5">
<h1 class="text-center text-white display-6 pb-2">Inscription</h1>
<ol class="breadcrumb justify-content-center mb-0">
<li class="breadcrumb-item"><a href="#">Acceuil</a></li>
<li class="breadcrumb-item active text-white">Inscription</li>
</ol>
</div>
<section>
<div class="container-fluid contact ">
<div class="container mt-5">
<div class="p-5 bg-light rounded">
<div class="row g-4">
<form method="post">
{% if response != "" %}
<div class="error text-danger">
{{ response }}
</div>
{% endif %}
<input type="text" class="w-100 form-control border-0 py-3 mb-4" placeholder="Nom" name="nom"/>
<input type="text" class="w-100 form-control border-0 py-3 mb-4" placeholder="Prénopm" name="prenom"/>
<input type="tel" class="w-100 form-control border-0 py-3 mb-4" placeholder="Téléphone" name="tel" />
<input type="text" class="w-100 form-control border-0 py-3 mb-4" placeholder="Adresse (Ex : Avenue ....)" name="adresse" />
<input type="text" class="w-100 form-control border-0 py-3 mb-4" placeholder="Complement adresse (Ex : Imm 10 App 15)" name="complementAdresse" />
<select name="ville" class="w-100 form-control border-0 py-3 mb-4" >
<option value="Rabat">Rabat</option>
</select>
{% if type == "Professionnel" %}
<input type="text" class="w-100 form-control border-0 py-3 mb-4" placeholder="Raison sociale" name="rs" />
<input type="text" class="w-100 form-control border-0 py-3 mb-4" placeholder="RC" name="rc" />
<input type="text" class="w-100 form-control border-0 py-3 mb-4" placeholder="Identifiant fiscale" name="if" />
<input type="text" class="w-100 form-control border-0 py-3 mb-4" placeholder="Pattente" name="pattente" />
<input type="text" class="w-100 form-control border-0 py-3 mb-4" placeholder="CNSS" name="cnss" />
<input type="text" class="w-100 form-control border-0 py-3 mb-4" placeholder="ICE" name="ice" />
{% endif %}
<input type="email" class="w-100 form-control border-0 py-3 mb-4" placeholder="Email" name="email" />
<input type="password" class="w-100 form-control border-0 py-3 mb-4" placeholder="Mot de passe" name="password1"/>
<input type="password" class="w-100 form-control border-0 py-3 mb-4" placeholder="Comfirmez mot de passe" name="password2"/>
<button type="submit" class="w-100 btn form-control border-secondary py-3 bg-white text-primary " >S'inscrire</button>
</form>
<h4 style="text-align:center; margin-bottom:20px; margin-top:20px">OU SE CONNECTER AVEC</h4>
<div class="row" style="text-align:center;">
<div class="col-md-12 login_btn">
{#<a href="/connect/facebook" class="loginBtn loginBtn--facebook">#}
{# Facebook#}
{#</a>#}
<a href="/connect/google" class="loginBtn loginBtn--google">
Google
</a>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<br/><br/>
{% endblock %}
{% block js %}
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCsvnXjUuSSF4wstBao9oG6C8OA-ZehAXE&libraries=places"></script>
{% endblock %}