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

Select a theme

Preview

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

Custom background

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

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')

Manage themes

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



@endif


@csrf {{--

Upload themes

--}}


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