fix: Add cyber-checkbox styling to SecuBox settings checkboxes (v0.6.0-r13)

- Add cyber-checkbox class to all checkbox inputs after form render
- Ensures checkboxes are visible and properly styled
- Fixes invisible checkboxes for Enable SecuBox, Debug Mode, etc.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
CyberMind-FR 2026-01-07 12:20:47 +01:00
parent 9ce67f2da5
commit e203a8d8c2

View File

@ -434,6 +434,16 @@ return view.extend({
var formWrapper = E('div', { 'class': 'secubox-settings-form' }, formElement);
container.appendChild(formWrapper);
this.bindStatusChip(formElement, statusChip);
// Add cyber-checkbox class to all checkboxes for proper styling
var checkboxes = formWrapper.querySelectorAll('input[type="checkbox"]');
checkboxes.forEach(function(checkbox) {
var wrapper = checkbox.parentNode;
if (wrapper && wrapper.classList) {
wrapper.classList.add('cyber-checkbox');
}
});
return container;
}, this));
},