@extends('panel::layouts.app') @section('body-class', 'theme') @section('title', __('panel/menu.themes')) @section('page-title-right') {{ __('panel/common.get_more') }} @endsection @section('content')
@if($themes)
@foreach($themes as $theme)
{{ $theme['name'] }}
@if($theme['selected'])
{{ __('panel/themes.current_theme') }}
@endif
{{ $theme['name'] }}
@if(isset($theme['version']) && $theme['version']) {{ $theme['version'] }} @endif @if(isset($theme['author']['name']) && $theme['author']['name']) {{ $theme['author']['name'] }} @endif
@include('panel::shared.list_switch', [ 'value' => $theme['selected'] ?? false, 'url' => panel_route('themes.active', $theme['code']), 'reload' => true ])
@include('panel::themes.modals.detail', ['theme' => $theme]) @include('panel::themes.modals.preview', ['theme' => $theme]) @endforeach
@else @endif
@endsection