<div class="modal fade" id="generatorDoneModal" data-bs-backdrop="static" data-bs-keyboard="false" aria-labelledby="generatorDoneModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <form id="generatorDoneModalLabel">
            <div class="modal-content">
                <div class="modal-header">
                    <h5 class="modal-title">{{ __('Generator Done') }}</h5>
                    <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
                </div>
                <div class="modal-body">
                    {{ __('License keys generated.') }}
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-primary" data-bs-dismiss="modal">{{ __('Close') }}</button>
                </div>
            </div>
        </form>
    </div>
</div>

@push('scripts')
    <script>
        window.addEventListener('generator-done', event => {
            $('#generatorDoneModal').modal('show');
        });
    </script>
@endpush
