initial commit
This commit is contained in:
commit
186a860385
8199 changed files with 1159811 additions and 0 deletions
14
themes/AdminLTE/modules/mysql/edit.js
Normal file
14
themes/AdminLTE/modules/mysql/edit.js
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
$(document).ready(function()
|
||||
{
|
||||
$('.main [href="?m=mysql&p=mysql_admin"]').addClass('btn btn-sm btn-primary');
|
||||
$('.main [id="mysql_root_passwd"], .main [id="db_passwd"]').attr('type', 'password');
|
||||
|
||||
// reveal pass on focus, hide on leave
|
||||
$('.main [id="mysql_root_passwd"], .main [id="db_passwd"]').on("focus", function()
|
||||
{
|
||||
$(this).attr('type', 'text');
|
||||
}).on("focusout", function()
|
||||
{
|
||||
$(this).attr('type', 'password');
|
||||
});
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue