把前端从CircuitVerse中拆了出来

This commit is contained in:
zhbaor 2022-01-23 17:33:42 +08:00
commit 5bf1284599
2182 changed files with 189323 additions and 0 deletions

View file

@ -0,0 +1,11 @@
function togglePassword() {
if ($('.users-password-input').attr('type') === 'text') {
$('.users-password-input').attr('type', 'password');
$('#toggle-icon').addClass('fa-eye-slash');
$('#toggle-icon').removeClass('fa-eye');
} else {
$('.users-password-input').attr('type', 'text');
$('#toggle-icon').addClass('fa-eye');
$('#toggle-icon').removeClass('fa-eye-slash');
}
}