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

Select a theme

@csrf
{{--

Current theme

@if(empty($page->theme)) @else @endif

--}}

Preview:

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

@if(auth()->user()->role == 'admin') @if(env('ENABLE_THEME_UPDATER') == 'true')



Theme updater
@endif @endif @if(env('ALLOW_CUSTOM_BACKGROUNDS') == true)


@csrf

Custom background

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

No image selected

@endif
@if(file_exists(base_path('/img/background-img/'.findBackground(Auth::user()->id))))
@endif
@endif @if(auth()->user()->role == 'admin')


@csrf

Upload themes

@endif @endforeach
@endsection