You've already forked Atomcms-edit
refactor: extract inline HTML rendering to Blade components
- Create 12 Blade components for Commandocentrum views - Reduce Commandocentrum from 1679 to 1192 lines (-29%) - Move server-info, hotel-status, alert-form, emulator-info/settings/status - Move nitro-settings/status, backups-list, clothing-status, staff-activity, update-history - Improve separation of concerns between controller logic and view rendering
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
<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="Typ hier je alert bericht..."
|
||||
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)'"
|
||||
>
|
||||
📢 Verstuur Alert
|
||||
</button>
|
||||
</div>
|
||||
Reference in New Issue
Block a user