@php
if (config('database.connections.saleprosaas_landlord') && !tenant()) {
$layout = 'landlord.layout.main';
$routePrefix = 'superadminSetting.';
} else {
$layout = 'backend.layout.main';
$routePrefix = 'setting.';
}
@endphp
@extends($layout)
@section('content')
@foreach($themeSettings as $key => $themeSetting)
@php($activeFor = $themeSetting->active_for ?? [])
Name
Appearance
Primary Color
Font
Active For
Status
Action
@endforeach
{{ $key + 1 }}
{{ $themeSetting->name }}
{{ $themeSetting->theme_appearance }}
{{ $themeSetting->theme_color }}
{{ $themeSetting->font_family }}
@if(empty($activeFor))
—
@else
@foreach($activeFor as $tag)
{{ strtoupper($tag) }}
@endforeach
@endif
@if($themeSetting->is_active)
Active
@else
Inactive
@endif