a
This commit is contained in:
parent
88347b404d
commit
920bfc86ee
|
|
@ -7,6 +7,10 @@ racineWeb = /
|
|||
Data Source Name
|
||||
|
||||
;En ligne
|
||||
dsn='mysql:host=localhost;port=3306;dbname=bd_radiant;charset=utf8'
|
||||
login=intersante
|
||||
mdp=5358ue6PDcPxxP3P
|
||||
dsncentral='mysql:host=localhost;port=3306;dbname=bdfacturationsas;charset=utf8'
|
||||
logincentral=intersante
|
||||
mdpcentral=5358ue6PDcPxxP3P
|
||||
|
||||
dsnebene='mysql:host=localhost;port=3306;dbname=bdintersante;charset=utf8'
|
||||
loginebene=intersante
|
||||
mdpebene=5358ue6PDcPxxP3P
|
||||
|
|
|
|||
Binary file not shown.
File diff suppressed because it is too large
Load Diff
|
|
@ -1,44 +1,111 @@
|
|||
<?php
|
||||
|
||||
$maintenance = $societeusersaas['maintenance'];
|
||||
if($maintenance=='1')
|
||||
{
|
||||
$msgErreur = 'Site under maintenance, please log back in later!';
|
||||
}
|
||||
?>
|
||||
|
||||
<span class="login100-form-title" style="font-family: Play-Bold; color:#e5e5e5; margin-top: 5px; margin-bottom:10px;">
|
||||
RADIANT : HR Portal
|
||||
Insured Portal
|
||||
</span>
|
||||
|
||||
<div class="wrap-input100">
|
||||
<label for="langue">Language</label>
|
||||
<select class="form-select" id="langue" name="langue"
|
||||
required autocomplete="off" onchange="javascript:changer_langue_connexion();">
|
||||
<?php liste_options($langues, $_SESSION['lang'], true); ?>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="sr-only">
|
||||
<div class="wrap-input100 validate-input" data-validate="Enter Entity">
|
||||
<label for="codeSociete">Entity</label>
|
||||
<input class="input100" type="text" name="codeSociete" id="codeSociete" value="<?= $codeSociete ?>" >
|
||||
<?php if (isset($msgErreur) and $msgErreur>" "): ?>
|
||||
<div class="text-center p-t-10">
|
||||
<h4 class="txt3">
|
||||
<div class="col-12 alert alert-danger">
|
||||
<?= $msgErreur ?>
|
||||
</div>
|
||||
</h4>
|
||||
</div>
|
||||
</div>
|
||||
<?php else: ?>
|
||||
<div class="text-center p-t-10" id="div_msgErreur">
|
||||
|
||||
<div id="div_login_portail" class="wrap-input100">
|
||||
<div class="wrap-input100 validate-input" data-validate="Enter username">
|
||||
<label for="login">Login</label>
|
||||
<input class="input100" type="text" name="login" id="login" value="<?= $codeUtilisateur ?>" placeholder="Identifiant" style="text-align:center;" required AUTOCOMPLETE="off">
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="wrap-input100 validate-input" data-validate="Enter password">
|
||||
<label for="mdp">Password</label>
|
||||
<input class="input100" type="password" name="mdp" id="mdp" placeholder="Mot de passe" style="text-align:center;" required AUTOCOMPLETE="off">
|
||||
</div>
|
||||
<?php if($maintenance!='1'): ?>
|
||||
<div class="wrap-input100">
|
||||
<label for="langue">Langue</label>
|
||||
<select class="form-select" id="langue" name="langue"
|
||||
|
||||
<div class="container-login100-form-btn">
|
||||
<button name="btn_connexion" id="btn_connexion" class="btn login-btn">
|
||||
Login
|
||||
</button>
|
||||
</div>
|
||||
required autocomplete="off" onchange="javascript:changer_langue_connexion();">
|
||||
<?php liste_options($langues, $_SESSION['lang'], true); ?>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
All rights reserved <a href="https://www.ebene.info/">© EBENE SOLUTIONS INFORMATIQUES</a>
|
||||
</div>
|
||||
|
||||
<div class="wrap-input100">
|
||||
<div class="wrap-input100 validate-input" data-validate="Enter Entity">
|
||||
<label for="codeSociete">Entity</label>
|
||||
<input class="input100" type="text" name="codeSociete" id="codeSociete" value="<?= $codeSociete ?>"
|
||||
placeholder="Entity" style="text-align:center;" required AUTOCOMPLETE="off"
|
||||
onChange="javascript:changer_entite_portail();" >
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="div_login_portail" class="wrap-input100">
|
||||
<div class="wrap-input100 validate-input" data-validate="Enter username">
|
||||
<label for="login">Login</label>
|
||||
<input class="input100" type="text" name="login" id="login" value="<?= $codeUtilisateur ?>" placeholder="Identifiant" style="text-align:center;" required AUTOCOMPLETE="off">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="wrap-input100 validate-input" data-validate="Enter password">
|
||||
<label for="mdp">Password</label>
|
||||
<input class="input100" type="password" name="mdp" id="mdp" placeholder="Mot de passe" style="text-align:center;" required AUTOCOMPLETE="off">
|
||||
</div>
|
||||
|
||||
<div class="container-login100-form-btn">
|
||||
<button name="btn_connexion" id="btn_connexion" class="btn login-btn">
|
||||
Login
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div id="div_patienter"></div>
|
||||
<div class="footer" id="autoHideFooter"
|
||||
style="transition: opacity 0.3s ease;"
|
||||
onmouseover="this.style.opacity='1'"
|
||||
onmouseout="if(document.activeElement && document.activeElement.id === 'mdp') this.style.opacity='0'">
|
||||
All rights reserved <a href="https://www.ebene.info/">© EBENE SOLUTIONS INFORMATIQUES</a>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<script>
|
||||
// Script garantissant le fonctionnement
|
||||
(function() {
|
||||
function updateFooterVisibility() {
|
||||
const footer = document.getElementById('autoHideFooter');
|
||||
if (!footer) return;
|
||||
|
||||
const activeElement = document.activeElement;
|
||||
const shouldHide = activeElement && (
|
||||
activeElement.id === 'mdp' ||
|
||||
activeElement.id === 'login' ||
|
||||
activeElement.id === 'codeSociete'
|
||||
);
|
||||
|
||||
if (shouldHide) {
|
||||
footer.style.opacity = '0';
|
||||
footer.style.pointerEvents = 'none';
|
||||
footer.style.visibility = 'hidden';
|
||||
} else {
|
||||
footer.style.opacity = '1';
|
||||
footer.style.pointerEvents = 'auto';
|
||||
footer.style.visibility = 'visible';
|
||||
}
|
||||
}
|
||||
|
||||
// Écouter les changements de focus
|
||||
document.addEventListener('focusin', updateFooterVisibility, true);
|
||||
document.addEventListener('focusout', function() {
|
||||
setTimeout(updateFooterVisibility, 10);
|
||||
}, true);
|
||||
|
||||
// Vérifier périodiquement (backup)
|
||||
setInterval(updateFooterVisibility, 200);
|
||||
|
||||
// Initialiser
|
||||
setTimeout(updateFooterVisibility, 100);
|
||||
})();
|
||||
</script>
|
||||
|
|
@ -1,44 +1,112 @@
|
|||
<?php
|
||||
|
||||
$maintenance = $societeusersaas['maintenance'];
|
||||
if($maintenance=='1')
|
||||
{
|
||||
$msgErreur = 'Site en maintenance, veuillez vous reconnecter plus tard!';
|
||||
}
|
||||
?>
|
||||
|
||||
<!-- Tableau desktop (affiché sur les écrans moyens et grands) -->
|
||||
|
||||
<span class="login100-form-title" style="font-family: Play-Bold; color:#e5e5e5; margin-top: 5px; margin-bottom:10px;">
|
||||
Portail RH (SaaS)
|
||||
Portail Assuré
|
||||
</span>
|
||||
|
||||
<div class="wrap-input100">
|
||||
<label for="langue">Langue</label>
|
||||
<select class="form-select" id="langue" name="langue"
|
||||
required autocomplete="off" onchange="javascript:changer_langue_connexion();">
|
||||
<?php liste_options($langues, $_SESSION['lang'], true); ?>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="sr-only">
|
||||
<div class="wrap-input100 validate-input" data-validate="Enter Entity">
|
||||
<label for="codeSociete">Entité</label>
|
||||
<input class="input100" type="text" name="codeSociete" id="codeSociete" value="<?= $codeSociete ?>" >
|
||||
<?php if (isset($msgErreur) and $msgErreur>" "): ?>
|
||||
<div class="text-center p-t-10">
|
||||
<h4 class="txt3">
|
||||
<div class="col-12 alert alert-danger">
|
||||
<?= $msgErreur ?>
|
||||
</div>
|
||||
</h4>
|
||||
</div>
|
||||
</div>
|
||||
<?php else: ?>
|
||||
<div class="text-center p-t-10" id="div_msgErreur">
|
||||
|
||||
<div id="div_login_portail" class="wrap-input100">
|
||||
<div class="wrap-input100 validate-input" data-validate="Enter username">
|
||||
<label for="login">Identifiant</label>
|
||||
<input class="input100" type="text" name="login" id="login" value="<?= $codeUtilisateur ?>" placeholder="Identifiant" style="text-align:center;" required AUTOCOMPLETE="off">
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="wrap-input100 validate-input" data-validate="Enter password">
|
||||
<label for="mdp">Mot de passe</label>
|
||||
<input class="input100" type="password" name="mdp" id="mdp" placeholder="Mot de passe" style="text-align:center;" required AUTOCOMPLETE="off">
|
||||
</div>
|
||||
<?php if($maintenance!='1'): ?>
|
||||
<div class="wrap-input100">
|
||||
<label for="langue">Langue</label>
|
||||
<select class="form-select" id="langue" name="langue"
|
||||
|
||||
<div class="container-login100-form-btn">
|
||||
<button name="btn_connexion" id="btn_connexion" class="btn login-btn">
|
||||
Connexion
|
||||
</button>
|
||||
</div>
|
||||
required autocomplete="off" onchange="javascript:changer_langue_connexion();">
|
||||
<?php liste_options($langues, $_SESSION['lang'], true); ?>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
Tous droits réservés <a href="https://www.ebene.info/">© EBENE SOLUTIONS INFORMATIQUES</a>
|
||||
</div>
|
||||
|
||||
<div class="wrap-input100">
|
||||
<div class="wrap-input100 validate-input" data-validate="Enter Entity">
|
||||
<label for="codeSociete">Entité</label>
|
||||
<input class="input100" type="text" name="codeSociete" id="codeSociete" value="<?= $codeSociete ?>"
|
||||
placeholder="Entité" style="text-align:center;" required AUTOCOMPLETE="off"
|
||||
onChange="javascript:changer_entite_portail();" >
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="div_login_portail" class="wrap-input100">
|
||||
<div class="wrap-input100 validate-input" data-validate="Enter username">
|
||||
<label for="login">Identifiant</label>
|
||||
<input class="input100" type="text" name="login" id="login" value="<?= $codeUtilisateur ?>" placeholder="Identifiant" style="text-align:center;" required AUTOCOMPLETE="off">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="wrap-input100 validate-input" data-validate="Enter password">
|
||||
<label for="mdp">Mot de passe</label>
|
||||
<input class="input100" type="password" name="mdp" id="mdp" placeholder="Mot de passe" style="text-align:center;" required AUTOCOMPLETE="off">
|
||||
</div>
|
||||
|
||||
<div class="container-login100-form-btn">
|
||||
<button name="btn_connexion" id="btn_connexion" class="btn login-btn" onclick="javascript:patience_connexion();">
|
||||
Connexion
|
||||
</button>
|
||||
</div>
|
||||
<div id="div_patienter"></div>
|
||||
<div class="footer" id="autoHideFooter"
|
||||
style="transition: opacity 0.3s ease;"
|
||||
onmouseover="this.style.opacity='1'"
|
||||
onmouseout="if(document.activeElement && document.activeElement.id === 'mdp') this.style.opacity='0'">
|
||||
Tous droits réservés <a href="https://www.ebene.info/">© EBENE SOLUTIONS INFORMATIQUES</a>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<script>
|
||||
// Script garantissant le fonctionnement
|
||||
(function() {
|
||||
function updateFooterVisibility() {
|
||||
const footer = document.getElementById('autoHideFooter');
|
||||
if (!footer) return;
|
||||
|
||||
const activeElement = document.activeElement;
|
||||
const shouldHide = activeElement && (
|
||||
activeElement.id === 'mdp' ||
|
||||
activeElement.id === 'login' ||
|
||||
activeElement.id === 'codeSociete'
|
||||
);
|
||||
|
||||
if (shouldHide) {
|
||||
footer.style.opacity = '0';
|
||||
footer.style.pointerEvents = 'none';
|
||||
footer.style.visibility = 'hidden';
|
||||
} else {
|
||||
footer.style.opacity = '1';
|
||||
footer.style.pointerEvents = 'auto';
|
||||
footer.style.visibility = 'visible';
|
||||
}
|
||||
}
|
||||
|
||||
// Écouter les changements de focus
|
||||
document.addEventListener('focusin', updateFooterVisibility, true);
|
||||
document.addEventListener('focusout', function() {
|
||||
setTimeout(updateFooterVisibility, 10);
|
||||
}, true);
|
||||
|
||||
// Vérifier périodiquement (backup)
|
||||
setInterval(updateFooterVisibility, 200);
|
||||
|
||||
// Initialiser
|
||||
setTimeout(updateFooterVisibility, 100);
|
||||
})();
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user