@extends('admin.layouts.app') @section('panel')
@lang('Layout Validation')
@forelse($rowTotals as $row) @php $desktopComplete = (int) $row->desktop_total === 100; $mobileComplete = (int) $row->mobile_total === 100; @endphp
Row {{ $row->layout_row }} · Desktop {{ (int) $row->desktop_total }}% · Mobile {{ (int) $row->mobile_total }}%
@empty @lang('No rows yet') @endforelse
@lang('Target: each row should be exactly 100% for desktop and mobile active types.')
@lang('Preset applies to active types in the selected row. The row must contain exactly the same number of active types as the preset.')
@forelse($homepage as $type) @empty @endforelse
@lang('Sort') @lang('Title') @lang('Status') @lang('Row') @lang('Priority') @lang('Desktop Width') @lang('Mobile Width') @lang('Columns') @lang('Created At') @lang('Action')
{{ $type->title }} {{ $type->status == 1 ? 'Active' : 'InActive' }} {{ $type->layout_row ?? 1 }} {{ $type->priority ?? 0 }} {{ $type->width_percent ?? 100 }}% {{ $type->mobile_width_percent ?? 100 }}% {{ $type->columns_count ?? 1 }} {{ showDateTime($type->created_at) }}
{{ __($emptyMessage) }}
@if ($homepage->hasPages()) @endif
@endsection @push('breadcrumb-plugins') @lang('Add New') @endpush @push('script') @endpush