JFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr@php $qr_path = \App\Models\Utility::get_file('pdf_gallery_module/center_qr'); $profile_path = \App\Models\Utility::get_file('pdf_gallery_module/profile'); $pdf_path = \App\Models\Utility::get_file('pdf_gallery_module/pdf'); $users = \Auth::user(); $stringid = $pdfGalleryData->id; $pdf_no = 0; @endphp @extends('layouts.admin') @push('css-page') @endpush @section('page-title') {{ __('Edit PDF Gallery') }} @endsection @section('title') {{ __('PDF Gallery') }} @endsection @section('breadcrumb') @endsection @section('action-btn')
@endsection @section('content')
{{-- Theme Setting --}}
{{ Form::open(['route' => ['pdf-gallery-qr.edit-theme', $pdfGalleryData->id], 'method' => 'POST', 'enctype' => 'multipart/form-data']) }}
{{ __('Select Theme:') }}
{{ Form::hidden('themefile', null, ['id' => 'themefile']) }}
@foreach (Modules\PDFGallery\Entities\PDFGalleryQr::themePDFGallery() as $key => $v)
{{ __('Modern Theme') }}
@foreach ($v as $css => $val) @endforeach
@endforeach
{{ Form::close() }}
{{ __('Preview') }}
{{-- Detail Setting --}}
{{ Form::open(['route' => ['pdf_gallery.update', $pdfGalleryData->id], 'method' => 'PUT', 'enctype' => 'multipart/form-data', 'id' => 'uploadForm','class' => 'needs-validation', 'novalidate']) }}
{{ __('Basic Information:') }}
{{ Form::label('Name', __('Profile Images:'), ['class' => 'form-label']) }}
{{ Form::label('PDF Gallery Name', __('PDF Gallery Name:'), ['class' => 'form-label']) }} {!! Form::text('pdf_gallery_name', $pdfGalleryData->name, [ 'class' => 'form-control', 'placeholder' => __('Enter Name'), 'data-name' => 'pdf_gallery_name', 'required' => 'required', 'id' => $stringid . '_pdf_gallery_name', ]) !!} @error('pdf_gallery_name') {{ $message }} @enderror
{{ Form::label('Description', __('Description:'), ['class' => 'form-label']) }} {{ Form::textarea('description', $pdfGalleryData->description, ['class' => 'form-control description-text', 'rows' => '3', 'cols' => '30', 'id' => $stringid . '_pdfgel_desc', 'placeholder' => __('Enter Description')]) }} @error('description') {{ $message }} @enderror
{{ __('Personalized link:') }}
{{ Form::text('slug', $pdfGalleryData->slug, ['class' => 'input-group-text text-start', 'placeholder' => __('Enter Slug')]) }}

@if (!empty($pdf_content)) @foreach ($pdf_content as $key => $item)
{{ Form::label('PDF Title', __('PDF Title:'), ['class' => 'form-label']) }} {!! Form::text('pdf_title', $item->pdf_title, [ 'class' => 'form-control', 'placeholder' => __('Enter PDF Title'), 'data-name' => 'pdf_title', 'required' => 'required', 'id' => $pdf_no . '_pdf_title', ]) !!} @error('pdf_title') {{ $message }} @enderror
{{ Form::label('PDF Description', __('PDF Description:'), ['class' => 'form-label']) }} {!! Form::text('pdf_description', $item->pdf_description, [ 'class' => 'form-control description-text', 'id' => $pdf_no . '_pdf_desc', 'data-name' => 'pdf_content_description', 'required' => 'required', 'placeholder' => __('Enter Description'), ]) !!} @error('description') {{ $message }} @enderror
{{ __('Or') }}
@if (!empty($item->pdf_file)) @endif
@php $pdf_no++; @endphp @endforeach @else
{{ Form::label('PDF Title', __('PDF Title:'), ['class' => 'form-label']) }} {!! Form::text('pdf_title', null, [ 'class' => 'form-control', 'placeholder' => __('Enter PDF Title'), 'data-name' => 'pdf_title', 'required' => 'required', 'id' => $pdf_no . '_pdf_title', ]) !!} @error('pdf_title') {{ $message }} @enderror
{{ Form::label('PDF Description', __('PDF Description:'), ['class' => 'form-label']) }} {!! Form::text('pdf_description', null, [ 'class' => 'form-control description-text', 'id' => $pdf_no . '_pdf_desc', 'required' => 'required', 'data-name' => 'pdf_content_description', 'placeholder' => __('Enter Description'), ]) !!} @error('description') {{ $message }} @enderror
{{ __('Or') }}
@endif
{{ Form::close() }}
{{ __('Preview') }}
@include( 'pdfgallery::pdfgalleryTemplate.' . $pdfGalleryData->theme . '.index')
{{-- Start Custom QR-Code --}}
{{ Form::open(['route' => ['pdf-gallery-qr.qrcode_setting', $pdfGalleryData->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']) }}
{{ __('Text exceeds maximum length. QR code may be unreadable.') }}
{{ Form::close() }}
{{-- End Custom QR-Code --}}
@endsection @push('custom-scripts') {{-- --}} {{-- --}} @endpush