From the panel site

This commit is contained in:
Frank Harris 2025-09-17 21:14:45 -04:00
parent d684ca74fb
commit 2fc04bcfac
1194 changed files with 154606 additions and 13040 deletions

View 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');
});
});