This commit is contained in:
isohuntto 2014-12-19 17:55:57 +03:00
parent 854c5b6e7e
commit 0c03d2498b
3400 changed files with 853482 additions and 0 deletions

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