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:
parent
298961a537
commit
60ff5ad3f1
@ -383,6 +383,14 @@ return view.extend({
|
|||||||
'class': 'btn btn-link'
|
'class': 'btn btn-link'
|
||||||
}, _('Visit Project Website →'))
|
}, _('Visit Project Website →'))
|
||||||
]) : null
|
]) : 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'))
|
||||||
])
|
])
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user