JFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr@php $qr_path = \App\Models\Utility::get_file('youtube_module/center_qr'); $users = \Auth::user(); $stringid = $youtubeData->id; @endphp @extends('layouts.admin') @push('css-page') @endpush @section('page-title') {{ __('Edit Youtube') }} @endsection @section('title') {{ __('Youtube') }} @endsection @section('breadcrumb') @endsection @section('action-btn')
@endsection @section('content')
{{-- Theme Setting --}}
{{ Form::open(['route' => ['youtube-qr.edit-theme', $youtubeData->id], 'method' => 'POST', 'enctype' => 'multipart/form-data']) }}
{{ __('Select Theme:') }}
{{ Form::hidden('themefile', null, ['id' => 'themefile']) }}
@foreach (Modules\Youtube\Entities\YoutubeQr::themeYoutubeQr() as $key => $v)
{{ __('Modern Theme') }}
@foreach ($v as $css => $val) @endforeach
@endforeach
{{ Form::close() }}
{{ __('Preview') }}
{{-- Detail Setting --}}
{{ Form::open(['route' => ['youtube.update', $youtubeData->id], 'method' => 'PUT', 'enctype' => 'multipart/form-data','class' => 'needs-validation', 'novalidate']) }}
{{ __('Basic Information:') }}
{{ Form::label('Youtube Qr Name', __('Youtube Qr Name:'), ['class' => 'form-label']) }} {!! Form::text('youtube_name', $youtubeData->name, [ 'class' => 'form-control', 'placeholder' => __('Enter Name'), 'data-name' => 'youtube_name', 'required' => 'required', 'id' => $stringid . '_youtube_name', ]) !!} @error('youtube_name') {{ $message }} @enderror
{{ Form::label('Youtube Qr Link', __('Youtube Qr Link:'), ['class' => 'form-label']) }} {!! Form::text('youtube_link', $youtubeData->youtube_link, [ 'class' => 'form-control youtube_link', 'placeholder' => __('Enter Youtube Link'), 'data-name' => 'youtube_link', 'required' => 'required', 'id' => $stringid . '_youtube_link', ]) !!} @error('youtube_link') {{ $message }} @enderror
{{ __('Personalized link:') }}
{{ Form::text('slug', $youtubeData->slug, ['class' => 'input-group-text text-start', 'placeholder' => __('Enter Slug')]) }}
{{ Form::close() }}
{{ __('Preview') }}
@include('youtube::youtubeTemplate.' . $youtubeData->theme . '.index')
{{-- Start Custom QR-Code --}}
{{ Form::open(['route' => ['youtube-qr.qrcode_setting', $youtubeData->id], 'method' => 'POST', 'enctype' => 'multipart/form-data','class' => 'needs-validation', 'novalidate']) }}
{{ __('Qr Code Settings:') }}
{{ Form::label('Foreground Color', __('Foreground Color'), ['class' => 'form-label']) }}
{{ Form::label('Background Color', __('Background Color'), ['class' => 'form-label']) }}
{{ Form::label('Corner Radius', __('Corner Radius'), ['class' => 'form-label']) }}
{{ Form::label('Text', __('Text'), ['class' => 'form-label']) }}
{{ Form::label('Text Color', __('Text Color'), ['class' => 'form-label']) }}
{{ Form::label('image', __('Image'), ['class' => 'form-label']) }}
{{ Form::label('Size', __('Size'), ['class' => 'form-label']) }}
{{ Form::close() }}
{{-- End Custom QR-Code --}}
@endsection @push('custom-scripts') @endpush