Replace native browser confirms with Ladill confirm dialogs.
Deploy Ladill Meet / deploy (push) Successful in 41s

Cancel meeting and remove member now use the shared modal UI.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-12 17:51:22 +00:00
co-authored by Cursor
parent 2a29c89f74
commit 585ef5bb11
3 changed files with 29 additions and 12 deletions
@@ -12,10 +12,10 @@
@php
$confirmBtnClass = $variant === 'danger'
? 'bg-red-600 hover:bg-red-700'
: 'bg-violet-600 hover:bg-violet-700';
: 'bg-indigo-600 hover:bg-indigo-700';
$iconWrapClass = $variant === 'danger'
? 'bg-red-100 text-red-600'
: 'bg-violet-100 text-violet-600';
: 'bg-indigo-100 text-indigo-600';
@endphp
@if(isset($trigger))
@@ -57,11 +57,11 @@
@endisset
<button type="button"
@click="$dispatch('close-modal', {{ Js::from($name) }})"
class="btn-secondary btn-secondary-sm">
class="rounded-xl border border-slate-200 bg-white px-4 py-2.5 text-sm font-semibold text-slate-700 transition hover:bg-slate-50">
{{ $cancelLabel }}
</button>
<button type="submit"
@class(['rounded-full px-4 py-2 text-sm font-semibold text-white transition', $confirmBtnClass])>
@class(['rounded-xl px-4 py-2.5 text-sm font-semibold text-white transition', $confirmBtnClass])>
{{ $confirmLabel }}
</button>
</form>