|
|
@ -76,6 +76,22 @@
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
|
|
|
document.addEventListener('DOMContentLoaded', (event) => {
|
|
|
|
|
|
|
|
let checkboxes = document.querySelectorAll('input[type="checkbox"]');
|
|
|
|
|
|
|
|
checkboxes.forEach((checkbox) => {
|
|
|
|
|
|
|
|
let label = document.createElement('label');
|
|
|
|
|
|
|
|
label.setAttribute('class', 'switch');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let span = document.createElement('span');
|
|
|
|
|
|
|
|
span.setAttribute('class', 'slider round');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
checkbox.parentNode.insertBefore(label, checkbox);
|
|
|
|
|
|
|
|
label.appendChild(checkbox);
|
|
|
|
|
|
|
|
label.appendChild(span);
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
</script>
|
|
|
|
<div class="fill">
|
|
|
|
<div class="fill">
|
|
|
|
<div class="container">
|
|
|
|
<div class="container">
|
|
|
|
|
|
|
|
|
|
|
|