feat(secubox): add close button to app details modal

Added a modal footer with a Close button in the app details view.
The footer includes:
- Styled separator line with border-top
- Right-aligned Close button
- Calls ui.hideModal() on click

This provides a clear way to dismiss the modal without needing to
click outside or use the escape key.

🤖 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 2025-12-31 11:55:54 +01:00
parent 298961a537
commit 60ff5ad3f1

View File

@ -383,6 +383,14 @@ return view.extend({
'class': 'btn btn-link'
}, _('Visit Project Website →'))
]) : null
]),
E('div', { 'class': 'modal-footer', 'style': 'margin-top: 1.5em; padding-top: 1em; border-top: 1px solid rgba(255,255,255,0.1); text-align: right;' }, [
E('button', {
'class': 'btn btn-primary',
'click': function() {
ui.hideModal();
}
}, _('Close'))
])
]);