mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
Commit realizando cambios en los roles de los usuarios
This commit is contained in:
22
httpdocs/assets/js/login.js
Normal file
22
httpdocs/assets/js/login.js
Normal file
@ -0,0 +1,22 @@
|
||||
function load(){
|
||||
"use strict";
|
||||
document.getElementById('msg').style.display = 'block';
|
||||
setTimeout(function(){
|
||||
document.getElementById("sendForm").submit();
|
||||
}, 500);
|
||||
}
|
||||
function pass(){
|
||||
"use strict";
|
||||
if(document.getElementById('password').type === 'text'){
|
||||
document.getElementById('password').type = 'password';
|
||||
document.getElementById('btn_pass').innerHTML = '<i class="far fa-eye"></i>';
|
||||
}else{
|
||||
document.getElementById('password').type = 'text';
|
||||
document.getElementById('btn_pass').innerHTML = '<i class="far fa-eye-slash"></i>';
|
||||
}
|
||||
}
|
||||
function accepted(){
|
||||
"use strict";
|
||||
document.getElementById('accept').checked = true;
|
||||
$('.terms-conditions-modal-lg').modal('hide');
|
||||
}
|
||||
Reference in New Issue
Block a user