Software: Microsoft-IIS/10.0. PHP/7.4.33 uname -a: Windows NT LAKE 10.0 build 20348 (Windows Server 2016) AMD64 IWPD_801(traduongco) Safe-mode: OFF (not secure) D:\vhosts\traduong.com.vn\admin.traduong.com.vn\Content\admin\assets\es6\theme-configurator\ drwxrwxrwx | |
| Viewing file: Select action/file-type: function themeConfigurator() {
$(document).on('change', 'input[name="header-theme"]', ()=>{
const context = $('input[name="header-theme"]:checked').val();
console.log(context)
$(".app").removeClass (function (index, className) {
return (className.match (/(^|\s)is-\S+/g) || []).join(' ');
}).addClass( 'is-'+ context );
});
$('#side-nav-theme-toogle').on('change', (e)=> {
$('.app .layout').toggleClass("is-side-nav-dark");
e.preventDefault();
});
$('#side-nav-fold-toogle').on('change', (e)=> {
$('.app .layout').toggleClass("is-folded");
e.preventDefault();
});
}
export default { themeConfigurator } |
:: Command execute :: | |
--[ c99shell v. 2.1 [PHP 8 Update] [02.02.2022] maintained byC99Shell Github | Generation time: 0.5751 ]-- |