This commit is contained in:
KANE LAZENI 2026-07-05 14:28:38 +00:00
parent 1c9b8e42a4
commit b647ecaacf
3 changed files with 7 additions and 5 deletions

View File

@ -26236,8 +26236,8 @@ function changer_entite_portail()
},
complete: function()
{
src_logo="";
afficherLogoSociete = $("#afficherLogoSociete").val();
var src_logo="";
var afficherLogoSociete = $("#afficherLogoSociete").val();
if(afficherLogoSociete=="1")
{
src_logo="Societes/"+codeSociete+"/Logos/logo_societe.png";
@ -26245,6 +26245,9 @@ function changer_entite_portail()
const wrapper = document.querySelector('.login-wrapper');
wrapper.style.backgroundImage = `url('${src_logo}')`;
const image_logo = document.getElementById('image_logo');
image_logo.setAttribute('src', src_logo);
}
});
}

View File

@ -35,9 +35,8 @@
}
?>
<!-- Image centrée sous le bouton -->
<div style="text-align: center; margin-top: 15px;">
<img src="<?= $cheminLogo ?>" alt="" style="max-width: 200px; height: auto;">
<img id="image_logo" name="image_logo" src="<?= $cheminLogo ?>" alt="" style="max-width: 200px; height: auto;">
</div>
</form>

View File

@ -891,7 +891,7 @@
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/toastr@2.1.4/build/toastr.min.css" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/toastr@2.1.4/build/toastr.min.js" crossorigin="anonymous"></script>
<script src="Js/fonctions.js?ver=2026.07.05.00"></script>
<script src="Js/fonctions.js?ver=2026.07.05.01"></script>
<script src="Bootstrap/js/bootstrap.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vue@3/dist/vue.global.prod.js"></script>