582 lines
15 KiB
PHP
Executable File
582 lines
15 KiB
PHP
Executable File
<!doctype html>
|
||
<html lang="fr">
|
||
<head>
|
||
<meta charset="UTF-8" />
|
||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||
<meta name="viewport" content="viewport-fit=cover, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||
<meta name="format-detection" content="telephone=no">
|
||
<meta name="msapplication-tap-highlight" content="no">
|
||
|
||
<base href="<?= $racineWeb ?>">
|
||
|
||
<link rel="icon" href="Bootstrap_new/images/new/favicon.ico"/>
|
||
|
||
<link href="Bootstrap_new/css/bootstrap.min.css" rel="stylesheet">
|
||
<link href="Bootstrap_new/css/simple-sidebar.css" rel="stylesheet">
|
||
<link href="Bootstrap_new/css/jquery-ui.css" rel="stylesheet">
|
||
<!--<link href="Bootstrap_new/css/style.css" rel="stylesheet">-->
|
||
|
||
<!--===============================================================================================-->
|
||
<link rel="stylesheet" type="text/css" href="Bootstrap_new/login/vendor/bootstrap/css/bootstrap.min.css">
|
||
<!--===============================================================================================-->
|
||
|
||
<!--===============================================================================================-->
|
||
<link rel="stylesheet" type="text/css" href="Bootstrap_new/login/fonts/font-awesome-4.7.0/css/font-awesome.min.css">
|
||
<!--===============================================================================================-->
|
||
<link rel="stylesheet" type="text/css"
|
||
href="Bootstrap_new/login/fonts/iconic/css/material-design-iconic-font.min.css">
|
||
<!--===============================================================================================-->
|
||
<link rel="stylesheet" type="text/css" href="Bootstrap_new/login/vendor/animate/animate.css">
|
||
<!--===============================================================================================-->
|
||
<link rel="stylesheet" type="text/css" href="Bootstrap_new/login/vendor/css-hamburgers/hamburgers.min.css">
|
||
<!--===============================================================================================-->
|
||
<link rel="stylesheet" type="text/css" href="Bootstrap_new/login/vendor/animsition/css/animsition.min.css">
|
||
<!--===============================================================================================-->
|
||
<link rel="stylesheet" type="text/css" href="Bootstrap_new/login/vendor/select2/select2.min.css">
|
||
<!--===============================================================================================-->
|
||
<link rel="stylesheet" type="text/css" href="Bootstrap_new/login/vendor/daterangepicker/daterangepicker.css">
|
||
<!--===============================================================================================-->
|
||
<link rel="stylesheet" type="text/css" href="Bootstrap_new/login/css/util.css">
|
||
<link rel="stylesheet" type="text/css" href="Bootstrap_new/login/css/main.css?ver=2023.08.12.01">
|
||
<!--========================================================================================-->
|
||
|
||
<link href="https://cdn.jsdelivr.net/npm/sweetalert2@11.14.1/dist/sweetalert2.min.css" rel="stylesheet">
|
||
|
||
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11.14.1/dist/sweetalert2.all.min.js"></script>
|
||
|
||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-select@1.13.14/dist/css/bootstrap-select.min.css">
|
||
|
||
|
||
<title><?= $titre ?></title>
|
||
|
||
|
||
<style>
|
||
.form-side {
|
||
padding-top: 50px;
|
||
}
|
||
|
||
|
||
.login100-form-title {
|
||
color: #7D4FFE !important
|
||
}
|
||
|
||
label{
|
||
font-size: 12pt;
|
||
}
|
||
|
||
input{
|
||
border: 2px solid !important;
|
||
border-radius: 9px !important;
|
||
color: #7D4FFE !important;
|
||
width: 300px !important
|
||
}
|
||
|
||
.dropdown {
|
||
font-family: Poppins-Regular;
|
||
font-size: 13px;
|
||
line-height: 1.2;
|
||
|
||
width: 300px !important;
|
||
height: 40px;
|
||
|
||
|
||
border: 2px solid #7D4FFE !important;
|
||
border-radius: 9px !important;
|
||
|
||
background: transparent !important;
|
||
}
|
||
|
||
input:active{
|
||
border: solid !important
|
||
}
|
||
|
||
input::placeholder {
|
||
font-weight: bold;
|
||
color: #7D4FFE;
|
||
}
|
||
|
||
|
||
|
||
.container-fluid {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
}
|
||
|
||
.logo img{
|
||
width: 120px;
|
||
height: 120px;
|
||
position: absolute;
|
||
left:43%;
|
||
z-index: 10000;
|
||
|
||
}
|
||
|
||
|
||
.footer{
|
||
position: fixed;
|
||
bottom: 0;
|
||
left:20%;
|
||
font-size:12pt;
|
||
width: 100%;
|
||
|
||
}
|
||
|
||
.sidebar {
|
||
background-color: #fff;
|
||
color: #fff;
|
||
width: 400px;
|
||
flex: 0 0 auto;
|
||
height: 100vh;
|
||
}
|
||
|
||
.sidebar ul {
|
||
list-style: none;
|
||
padding: 0;
|
||
}
|
||
|
||
.sidebar ul li {
|
||
padding: 10px;
|
||
}
|
||
|
||
.sidebar ul li a {
|
||
color: #fff;
|
||
text-decoration: none;
|
||
}
|
||
|
||
.content {
|
||
flex: 1;
|
||
padding: 20px;
|
||
}
|
||
|
||
.footer a {
|
||
padding: 2px 1px 0;
|
||
}
|
||
|
||
.footer a:link {
|
||
color: #265301;
|
||
}
|
||
|
||
.footer a:visited {
|
||
color: #437a16;
|
||
}
|
||
|
||
.footer a:focus {
|
||
border-bottom: 1px solid;
|
||
background: #bae498;
|
||
}
|
||
|
||
.footer a:hover {
|
||
border-bottom: 1px solid;
|
||
background: #cdfeaa;
|
||
}
|
||
|
||
.footer a:active {
|
||
background: #265301;
|
||
color: #cdfeaa;
|
||
}
|
||
|
||
h4 {
|
||
color: #7D4FFE !important;
|
||
font-size: 32px;
|
||
}
|
||
|
||
.wrap-input100 {
|
||
text-align: center !important;
|
||
/* border:solid; */
|
||
margin-bottom: 5px !important;
|
||
}
|
||
|
||
.wrap-input100 input {
|
||
display: inline
|
||
}
|
||
|
||
.wrap-input100 input:focus {
|
||
border: solid !important
|
||
}
|
||
|
||
.wrap-input100 input:active {
|
||
border: solid !important
|
||
}
|
||
|
||
#langue{
|
||
width: 300px;
|
||
text-align:center;
|
||
padding: 12px 12px;
|
||
border-radius: 6px;
|
||
border: 2px solid #7D4FFE !important;
|
||
font-size: 14px;
|
||
background-color: #ffffff;
|
||
color: #7D4FFE;
|
||
margin: 0 auto; box-sizing: border-box;
|
||
}
|
||
|
||
|
||
.login-btn {
|
||
width: 300px;
|
||
background: #7D4FFE;
|
||
color: white;
|
||
font-size: 21px;
|
||
font-weight: 700;
|
||
}
|
||
|
||
.login-btn:hover {
|
||
background: white;
|
||
color: #7D4FFE;
|
||
border: solid 2px #7D4FFE;
|
||
}
|
||
|
||
.slide-container{
|
||
height:100vh;
|
||
width: 40vw;
|
||
position:relative;
|
||
}
|
||
|
||
.slide-container .slides{
|
||
width: 100%;
|
||
height: calc(100% - 40px);
|
||
position: relative;
|
||
overflow: hidden;
|
||
}
|
||
|
||
.slide-container .slides img{
|
||
width: 100%;
|
||
height: 100%;
|
||
position: absolute;
|
||
object-fit: cover;
|
||
}
|
||
|
||
.slide-container .slides img:not(.active){
|
||
top: 0;
|
||
left: -100%;
|
||
}
|
||
|
||
span.next, span.prev{
|
||
position: absolute;
|
||
top: 50%;
|
||
transform: translateY(-50%);
|
||
padding: 14px;
|
||
color: #eee;
|
||
font-size: 24px;
|
||
font-weight: bold;
|
||
transition: 0.5s;
|
||
border-radius: 3px;
|
||
user-select: none;
|
||
cursor: pointer;
|
||
z-index: 1;
|
||
|
||
background-color: #7D4FFE;
|
||
opacity: 0.2;
|
||
color: #fff;
|
||
}
|
||
|
||
span.next{
|
||
right: 20px;
|
||
}
|
||
span.prev{
|
||
left: 20px;
|
||
}
|
||
|
||
span.next:hover, span.prev:hover{
|
||
background-color: #7D4FFE;
|
||
opacity: 0.8;
|
||
color: #fff;
|
||
}
|
||
|
||
.dotsContainer{
|
||
position: absolute;
|
||
bottom: 5px;
|
||
z-index: 3;
|
||
left: 50%;
|
||
transform: translateX(-50%);
|
||
}
|
||
|
||
.dotsContainer .dot{
|
||
width: 15px;
|
||
height: 15px;
|
||
margin: 0px 2px;
|
||
border: 3px solid #bbb;
|
||
border-radius: 50%;
|
||
display: inline-block;
|
||
cursor: pointer;
|
||
transition: background-color 0.6s ease;
|
||
}
|
||
|
||
.dotsContainer .active{
|
||
background-color: #555;
|
||
}
|
||
|
||
@keyframes next1{
|
||
from{
|
||
left: 0%
|
||
}
|
||
to{
|
||
left: -100%;
|
||
}
|
||
}
|
||
@keyframes next2{
|
||
from{
|
||
left: 100%
|
||
}
|
||
to{
|
||
left: 0%;
|
||
}
|
||
}
|
||
|
||
@keyframes prev1{
|
||
from{
|
||
left: 0%
|
||
}
|
||
to{
|
||
left: 100%;
|
||
}
|
||
}
|
||
@keyframes prev2{
|
||
from{
|
||
left: -100%
|
||
}
|
||
to{
|
||
left: 0%;
|
||
}
|
||
}
|
||
|
||
|
||
@media screen and (max-width: 768px) {
|
||
.slide-container {
|
||
display: none;
|
||
}
|
||
|
||
.logo img{
|
||
position: absolute;
|
||
left:33%;
|
||
z-index: 10000;
|
||
|
||
}
|
||
|
||
.footer{
|
||
left:2%;
|
||
}
|
||
}
|
||
|
||
.required:after {
|
||
content:" *";
|
||
color: red;
|
||
|
||
}
|
||
|
||
.filter-option-inner-inner{
|
||
background: transparent !important;
|
||
color: #7D4FFE !important;
|
||
text-align:center;
|
||
font-size: 13px;
|
||
height:30px;
|
||
}
|
||
|
||
.bootstrap-select>.dropdown-toggle {
|
||
background: transparent !important;
|
||
border : none !important;
|
||
}
|
||
|
||
.caret{
|
||
display: none !important;
|
||
}
|
||
|
||
@media (max-width: 767.98px) {
|
||
#langue{
|
||
width: 300px;
|
||
text-align:center;
|
||
padding: 10px 10px;
|
||
border-radius: 6px;
|
||
border: 2px solid #7D4FFE !important;
|
||
font-size: 13px;
|
||
background-color: #ffffff;
|
||
color: #7D4FFE;
|
||
margin: 0 auto; box-sizing: border-box;
|
||
}
|
||
|
||
}
|
||
|
||
</style>
|
||
|
||
<!-- APLLI MOBILE -->
|
||
<link rel="manifest" href="/manifest.webmanifest">
|
||
<meta name="theme-color" content="#1f2a44">
|
||
|
||
<!-- iOS (installation sur écran d’accueil) -->
|
||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||
<meta name="apple-mobile-web-app-status-bar-style" content="default">
|
||
<meta name="apple-mobile-web-app-title" content="RadiantAssure">
|
||
<link rel="apple-touch-icon" href="/assets/icons/icon-192.png">
|
||
<!-- FIN APLLI MOBILE -->
|
||
|
||
</head>
|
||
|
||
<body>
|
||
<div class="container-fluid" style="margin:0;padding:0;">
|
||
<div class="slide-container">
|
||
<div class="slides">
|
||
<img src="assets/img/slides/famille01.jpg" alt="image carousel" class="slide active" />
|
||
<img src="assets/img/slides/famille02.jpg" alt="image carousel" class="slide" />
|
||
<img src="assets/img/slides/famille03.jpg" alt="image carousel" class="slide" />
|
||
<img src="assets/img/slides/famille04.jpg" alt="image carousel" class="slide" />
|
||
<img src="assets/img/slides/famille05.jpg" alt="image carousel" class="slide" />
|
||
<img src="assets/img/slides/famille06.jpg" alt="image carousel" class="slide" />
|
||
<img src="assets/img/slides/famille07.jpg" alt="image carousel" class="slide" />
|
||
<img src="assets/img/slides/famille08.jpg" alt="image carousel" class="slide" />
|
||
<img src="assets/img/slides/famille09.jpg" alt="image carousel" class="slide" />
|
||
</div>
|
||
|
||
<div class="buttons">
|
||
<span class="next">❯</span>
|
||
<span class="prev">❮</span>
|
||
</div>
|
||
|
||
<div class="dotsContainer">
|
||
<div class="dot active" attr='0' onclick="switchImage(this)"></div>
|
||
<div class="dot" attr='1' onclick="switchImage(this)"></div>
|
||
<div class="dot" attr='2' onclick="switchImage(this)"></div>
|
||
<div class="dot" attr='3' onclick="switchImage(this)"></div>
|
||
<div class="dot" attr='4' onclick="switchImage(this)"></div>
|
||
<div class="dot" attr='5' onclick="switchImage(this)"></div>
|
||
<div class="dot" attr='6' onclick="switchImage(this)"></div>
|
||
<div class="dot" attr='7' onclick="switchImage(this)"></div>
|
||
<div class="dot" attr='8' onclick="switchImage(this)"></div>
|
||
</div>
|
||
</div>
|
||
|
||
|
||
<div class="content" style="text-align:center;">
|
||
<input class="sr-only" type="text" id="racineWeb" name="racineWeb" value="<?= $racineWeb ?>">
|
||
<div class="row" style="overflow-x: height: inherit;padding-top:5px">
|
||
<div class="col-md-12 logo">
|
||
<img src="assets/img/new/Intersante_assure.png" alt="logo intersante">
|
||
</div>
|
||
|
||
<div class="col-md-12 form-side" style="text-align: center; position: relative; min-height: 88vh;">
|
||
<?= $contenu ?>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<script type="text/javascript">
|
||
// Empeche inspecter dans le navigateur
|
||
|
||
|
||
if (document.addEventListener) {
|
||
document.addEventListener('contextmenu', function (e) {
|
||
e.preventDefault();
|
||
}, false);
|
||
} else {
|
||
document.attachEvent('oncontextmenu', function () {
|
||
window.event.returnValue = false;
|
||
});
|
||
}
|
||
|
||
|
||
// Accéder aux images
|
||
let slideImages = document.querySelectorAll('.slide');
|
||
// Accéder aux boutons suivant et précédent
|
||
let next = document.querySelector('.next');
|
||
let prev = document.querySelector('.prev');
|
||
// Accéder aux indicateurs
|
||
let dots = document.querySelectorAll('.dot');
|
||
|
||
var counter = 0;
|
||
|
||
// Code pour le bouton suivant
|
||
next.addEventListener('click', slideNext);
|
||
|
||
function slideNext(){
|
||
slideImages[counter].style.animation = 'next1 0.5s ease-in forwards';
|
||
|
||
if(counter >= slideImages.length-1){
|
||
counter = 0;
|
||
}
|
||
else{
|
||
counter++;
|
||
}
|
||
slideImages[counter].style.animation = 'next2 0.5s ease-in forwards';
|
||
indicators();
|
||
}
|
||
|
||
// Code pour le bouton précédent
|
||
prev.addEventListener('click', slidePrev);
|
||
function slidePrev(){
|
||
slideImages[counter].style.animation = 'prev1 0.5s ease-in forwards';
|
||
if(counter == 0){
|
||
counter = slideImages.length-1;
|
||
}
|
||
else{
|
||
counter--;
|
||
}
|
||
slideImages[counter].style.animation = 'prev2 0.5s ease-in forwards';
|
||
indicators();
|
||
}
|
||
|
||
// Defilement automatique
|
||
function autoSliding(){
|
||
deletInterval = setInterval(timer, 3000);
|
||
function timer(){
|
||
slideNext();
|
||
indicators();
|
||
}
|
||
}
|
||
autoSliding();
|
||
|
||
// Arrêtez le defilement automatique lorsque la souris survole une image
|
||
const container = document.querySelector('.slide-container');
|
||
container.addEventListener('mouseover', function(){
|
||
clearInterval(deletInterval);
|
||
});
|
||
|
||
// Reprendre le defilement lorsque la souris ne survole plus une image
|
||
container.addEventListener('mouseout', autoSliding);
|
||
|
||
// Ajouter et supprimer une classe active des indicateurs
|
||
function indicators(){
|
||
for(i = 0; i < dots.length; i++){
|
||
dots[i].className = dots[i].className.replace(' active', '');
|
||
}
|
||
dots[counter].className += ' active';
|
||
}
|
||
|
||
// Ajouter un événement de clic à l'indicateur
|
||
function switchImage(currentImage){
|
||
currentImage.classList.add('active');
|
||
var imageId = currentImage.getAttribute('attr');
|
||
if(imageId > counter){
|
||
slideImages[counter].style.animation = 'next1 0.5s ease-in forwards';
|
||
counter = imageId;
|
||
slideImages[counter].style.animation = 'next2 0.5s ease-in forwards';
|
||
}
|
||
else if(imageId == counter){
|
||
return;
|
||
}
|
||
else{
|
||
slideImages[counter].style.animation = 'prev1 0.5s ease-in forwards';
|
||
counter = imageId;
|
||
slideImages[counter].style.animation = 'prev2 0.5s ease-in forwards';
|
||
}
|
||
indicators();
|
||
}
|
||
|
||
</script>
|
||
|
||
<!-- DEBUT PWA -->
|
||
<script>
|
||
if ("serviceWorker" in navigator) {
|
||
window.addEventListener("load", function () {
|
||
navigator.serviceWorker.register("/sw.js")
|
||
.then(function (reg) {
|
||
// OK
|
||
})
|
||
.catch(function (err) {
|
||
// Erreur d’enregistrement
|
||
});
|
||
});
|
||
}
|
||
</script>
|
||
<!-- FIN PWA -->
|
||
|
||
</body>
|
||
</html>
|