You've already forked Atomcms-edit
2f30a058a4
- Replace all hardcoded Dutch/English strings with __() translation calls - Update 13 Blade components to use translation keys - Update Commandocentrum.php controller with translation calls - Add comprehensive Dutch (nl.json) and English (en.json) translations - 150+ translation keys for UI labels, messages, and notifications - Supports all 21 languages available in the lang/ directory
19 lines
1.1 KiB
PHP
Executable File
19 lines
1.1 KiB
PHP
Executable File
<div style="display:flex;gap:16px;align-items:center;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:16px;">
|
|
<input
|
|
type="text"
|
|
wire:model="data.hotel_alert_message"
|
|
placeholder="{{ __('commandocentrum.alert_message_placeholder') }}"
|
|
style="flex:1;padding:14px 16px;border:2px solid #e2e8f0;border-radius:10px;font-size:14px;transition:border-color 0.2s;"
|
|
onfocus="this.style.borderColor='#3b82f6'"
|
|
onblur="this.style.borderColor='#e2e8f0'"
|
|
/>
|
|
<button
|
|
wire:click="sendHotelAlert"
|
|
style="background:linear-gradient(135deg,#ef4444,#dc2626);padding:14px 28px;border-radius:10px;color:white;border:none;cursor:pointer;font-weight:600;font-size:14px;box-shadow:0 4px 12px rgba(239,68,68,0.3);transition:transform 0.2s,box-shadow 0.2s;"
|
|
onmouseover="this.style.transform='translateY(-2px)';this.style.boxShadow='0 6px 16px rgba(239,68,68,0.4)'"
|
|
onmouseout="this.style.transform='translateY(0)';this.style.boxShadow='0 4px 12px rgba(239,68,68,0.3)'"
|
|
>
|
|
📢 {{ __('commandocentrum.send_alert') }}
|
|
</button>
|
|
</div>
|