Sources
This commit is contained in:
parent
854c5b6e7e
commit
0c03d2498b
3400 changed files with 853482 additions and 0 deletions
26
src/protected/installer/assets/js/index.js
Normal file
26
src/protected/installer/assets/js/index.js
Normal file
|
@ -0,0 +1,26 @@
|
|||
$(document).ready(function() {
|
||||
$(".db-settings-switcher").bootstrapSwitch();
|
||||
$(".db-settings-switcher").on('switchChange.bootstrapSwitch', function(event, state) {
|
||||
console.log(event, state);
|
||||
|
||||
if (!state) {
|
||||
$('.database-settings').fadeIn(500)
|
||||
} else {
|
||||
$('.database-settings').fadeOut(500)
|
||||
}
|
||||
});
|
||||
|
||||
$(".sphinx-settings-switcher").bootstrapSwitch();
|
||||
$(".sphinx-settings-switcher").on('switchChange.bootstrapSwitch', function(event, state) {
|
||||
console.log(event, state);
|
||||
|
||||
if (!state) {
|
||||
$('.sphinx-settings').fadeIn(500)
|
||||
} else {
|
||||
$('.sphinx-settings').fadeOut(500)
|
||||
}
|
||||
});
|
||||
|
||||
$(".cache-switcher").bootstrapSwitch();
|
||||
$(".log-switcher").bootstrapSwitch();
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue