@extends('layouts.sidebar') @section('content')
@foreach($pages as $page)

{{__('messages.Select a theme')}}

{{__('messages.Preview')}}

@if(env('USE_THEME_PREVIEW_IFRAME') === false or $page->littlelink_name == '')
@else @endif
@if(env('ALLOW_CUSTOM_BACKGROUNDS') == true)
@csrf

{{__('messages.Custom background')}}

@if(!file_exists(base_path('assets/img/background-img/'.findBackground(Auth::user()->id))))

{{__('messages.No image selected')}}

@endif
@if(file_exists(base_path('assets/img/background-img/'.findBackground(Auth::user()->id))))
@endif {{--
A caption for the above image.
--}}




@endif
@if(auth()->user()->role == 'admin')

{{__('messages.Manage themes')}}

@if(env('ENABLE_THEME_UPDATER') == 'true')



@endif


@csrf {{--

{{__('messages.Upload themes')}}

--}}


@endif @endforeach @push('sidebar-scripts') @endpush @endsection