25 lines
1.3 KiB
PHP
25 lines
1.3 KiB
PHP
{{--
|
|
Zweizeilige Rückfrage, kein Eingabefeld — braucht nach R24 kein
|
|
<x-ui.modal>. Live bekommt eine eigene, wärmere Warnfarbe und einen
|
|
zweiten Satz: das ist der Moment, ab dem echtes Geld bewegt wird, und das
|
|
darf nicht dieselbe beiläufige Bestätigung sein wie der Wechsel zurück in
|
|
den Testbetrieb.
|
|
--}}
|
|
<div class="rounded-lg bg-surface p-6">
|
|
<div class="flex items-start gap-3">
|
|
<span class="grid size-10 shrink-0 place-items-center rounded-lg {{ $mode === 'live' ? 'bg-warning-bg text-warning' : 'bg-accent-subtle text-accent-text' }}">
|
|
<x-ui.icon name="{{ $mode === 'live' ? 'alert-triangle' : 'beaker' }}" class="size-5" />
|
|
</span>
|
|
<div class="min-w-0">
|
|
<h3 class="text-base font-semibold text-ink">{{ __('integrations.mode_switch_title_'.$mode) }}</h3>
|
|
<p class="mt-1 text-sm text-muted">{{ __('integrations.mode_switch_body_'.$mode) }}</p>
|
|
</div>
|
|
</div>
|
|
<div class="mt-6 flex justify-end gap-3">
|
|
<x-ui.button variant="secondary" x-on:click="Livewire.dispatch('closeModal')">{{ __('common.cancel') }}</x-ui.button>
|
|
<x-ui.button variant="primary" wire:click="confirm" wire:loading.attr="disabled">
|
|
{{ __('integrations.mode_switch_confirm_'.$mode) }}
|
|
</x-ui.button>
|
|
</div>
|
|
</div>
|