mirror of
https://github.com/itflow-org/itflow
synced 2026-03-01 03:14:52 +00:00
Bump AdminLTE from 3.1 to 3.2, Bump plugins Summernote, phpMailer, clipboardjs, bootstrap, fontawesome-free, fullcalendar, inputmask, JQuery, moment, pdfmake, and more. Removed Unnessesary files from from plugins directories to reduce app size
This commit is contained in:
@@ -1,31 +0,0 @@
|
||||
/**
|
||||
* @author Abdo-Hamoud <abdo.host@gmail.com>
|
||||
* https://github.com/Abdo-Hamoud/bootstrap-show-password
|
||||
* version: 1.0
|
||||
*/
|
||||
|
||||
!function ($) {
|
||||
//eyeOpenClass: 'fa-eye',
|
||||
//eyeCloseClass: 'fa-eye-slash',
|
||||
'use strict';
|
||||
|
||||
$(function () {
|
||||
$('[data-toggle="password"]').each(function () {
|
||||
var input = $(this);
|
||||
var eye_btn = $(this).parent().find('.input-group-text');
|
||||
eye_btn.css('cursor', 'pointer').addClass('input-password-hide');
|
||||
eye_btn.on('click', function () {
|
||||
if (eye_btn.hasClass('input-password-hide')) {
|
||||
eye_btn.removeClass('input-password-hide').addClass('input-password-show');
|
||||
eye_btn.find('.fa').removeClass('fa-eye').addClass('fa-eye-slash')
|
||||
input.attr('type', 'text');
|
||||
} else {
|
||||
eye_btn.removeClass('input-password-show').addClass('input-password-hide');
|
||||
eye_btn.find('.fa').removeClass('fa-eye-slash').addClass('fa-eye')
|
||||
input.attr('type', 'password');
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
}(window.jQuery);
|
||||
Reference in New Issue
Block a user