@extends('admin.layouts.container')

@section('content')


    <div class="search_filter_form">
        <div class="body-content response">
            <div class="body-content">
                <div class="contacts">
                    <div class="contacts-box">
                        <div class="contacts-body">
                            <div class="contacts-box">
                                <div class="contact-row p-0 border-0 row">
                                    <div class="border-item">
                                        <form class="form-row row" method="post" onsubmit="saveForm(this)" action="{{ $action }}" enctype="multipart/form-data">
                                            @csrf

                                            <div class="form-group col-lg-6">
                                                <label>{{ __('settings.website_name') }}</label>
                                                <input type="text" class="form-control {{ $errors->has('website_name') ? 'is-invalid' : '' }}" name="website_name" placeholder="{{ __('settings.website_name') }}" value='{{ old("website_name", $settings->website_name ?? "") }}'/>
                                            </div>
                                            <div class="form-group col-lg-6">
                                                <label>{{  __('settings.keywords') }}</label>
                                                <input type="text" class="form-control {{ $errors->has('keywords') ? 'is-invalid' : '' }}" name="keywords" placeholder="{{  __('settings.keywords') }}" value='{{ old("keywords", $settings->keywords ?? "") }}'/>
                                            </div>
                                            <div class="form-group col-lg-6">
                                                <label>{{ __('settings.meta_description') }}</label>
                                                <input type="text" class="form-control {{ $errors->has('meta_description') ? 'is-invalid' : '' }}" name="meta_description" placeholder="{{ __('settings.meta_description') }}" value='{{ old("meta_description", $settings->meta_description ?? "") }}'/>
                                            </div>
                                            <div class="form-group col-lg-6">
                                                <label>{{  __('settings.mail_driver') }}</label>
                                                <input type="text" class="form-control {{ $errors->has('mail_driver') ? 'is-invalid' : '' }}" name="mail_driver" placeholder="{{  __('settings.mail_driver') }}" value='{{ old("mail_driver", $settings->mail_driver ?? "") }}'/>
                                            </div>
                                            <div class="form-group col-lg-6">
                                                <label>{{  __('settings.mail_host') }}</label>
                                                <input type="text" class="form-control {{ $errors->has('mail_host') ? 'is-invalid' : '' }}" name="mail_host" placeholder="{{  __('settings.mail_host') }}" value='{{ old("mail_host", $settings->mail_host ?? "") }}'/>
                                            </div>
                                            <div class="form-group col-lg-6">
                                                <label>{{ __('settings.mail_port') }}</label>
                                                <input type="number" class="form-control {{ $errors->has('mail_port') ? 'is-invalid' : '' }}" name="mail_port" placeholder="{{  __('settings.mail_port') }}" value='{{ old("mail_port", $settings->mail_port ?? "") }}'/>
                                            </div>
                                            <div class="form-group col-lg-6">
                                                <label>{{  __('settings.mail_username') }}</label>
                                                <input type="text" class="form-control {{ $errors->has('mail_username') ? 'is-invalid' : '' }}" name="mail_username" placeholder="{{  __('settings.mail_username') }}" value='{{ old("mail_username", $settings->mail_username ?? "") }}'/>
                                            </div>
                                            <div class="form-group col-lg-6">
                                                <label>{{  __('settings.mail_password') }}</label>
                                                <input type="password" class="form-control {{ $errors->has('mail_password') ? 'is-invalid' : '' }}" name="mail_password" placeholder="{{  __('settings.mail_password') }}" value='{{ old("mail_password", $settings->mail_password ?? "") }}'/>
                                            </div>
                                            <div class="form-group col-lg-6">
                                                <label>{{  __('settings.mail_encryption') }}</label>
                                                <input type="text" class="form-control {{ $errors->has('mail_encryption') ? 'is-invalid' : '' }}" name="mail_encryption" placeholder="{{  __('settings.mail_encryption') }}" value='{{ old("mail_encryption", $settings->mail_encryption ?? "") }}'/>
                                            </div>
                                            <div class="form-group col-lg-6">
                                                <label>{{  __('settings.mail_from_address') }}</label>
                                                <input type="text" class="form-control {{ $errors->has('mail_from_address') ? 'is-invalid' : '' }}" name="mail_from_address" placeholder="{{  __('settings.mail_from_address') }}" value='{{ old("mail_from_address", $settings->mail_from_address ?? "") }}'/>
                                            </div>
                                            <div class="form-group col-lg-6">
                                                <label>{{  __('settings.mail_from_name') }}</label>
                                                <input type="text" class="form-control {{ $errors->has('mail_from_name') ? 'is-invalid' : '' }}" name="mail_from_name" placeholder="{{  __('settings.mail_from_name') }}" value='{{ old("mail_from_name", $settings->mail_from_name ?? "") }}'/>
                                            </div>
                                            <div class="form-group col-lg-6">
                                                <label>{{  __('settings.site_phone') }}</label>
                                                <input type="tel" class="form-control {{ $errors->has('site_phone') ? 'is-invalid' : '' }}" name="site_phone" placeholder="{{  __('settings.site_phone') }}" value='{{ old("site_phone", $settings->site_phone ?? "") }}'/>
                                            </div>
                                            <div class="form-group col-lg-6">
                                                <label>{{ __('settings.site_email') }}</label>
                                                <input type="email" class="form-control {{ $errors->has('site_email') ? 'is-invalid' : '' }}" name="site_email" placeholder="{{ __('settings.site_email') }}" value='{{ old("site_email", $settings->site_email ?? "") }}'/>
                                            </div>
                                            <div class="form-group col-lg-6"></div>


                                            <div class="form-group col-lg-6">
                                                <label for="" class="d-block mb-2"> {{ __('settings.intro_dashboard') }} </label>
                                                <input type="file" name="intro_dashboard" class="form-control" placeholder="{{ __('settings.intro_dashboard') }}">

                                            </div>

                                            <div class="form-group col-lg-6">
                                                <a href="{{asset($settings->intro_dashboard)}}" target="_blank"  class="blue-butn butn-st2 butn-md" style="margin-top: 2pc"><span> {{__('settings.show_video')}} </span></a>
                                            </div>


                                            <div class="form-group col-lg-6">
                                                <label for="" class="d-block mb-2"> {{ __('settings.intro_users') }} </label>
                                                <input type="file" name="intro_users" class="form-control" placeholder="{{ __('settings.intro_users') }}">

                                            </div>

                                            <div class="form-group col-lg-6">
                                                <a href="{{asset($settings->intro_users)}}" target="_blank" class="blue-butn butn-st2 butn-md" style="margin-top: 2pc"><span> {{__('settings.show_video')}} </span></a>
                                            </div>


                                            <div class="form-group col-lg-6">
                                                <label for="" class="d-block mb-2"> {{ __('settings.intro_employees') }} </label>
                                                <input type="file" name="intro_employees" class="form-control" placeholder="{{ __('settings.intro_employees') }}">

                                            </div>

                                            <div class="form-group col-lg-6">
                                                <a href="{{asset($settings->intro_employees)}}" target="_blank" class="blue-butn butn-st2 butn-md" style="margin-top: 2pc"><span> {{__('settings.show_video')}} </span></a>
                                            </div>


                                            <div class="form-group col-lg-6">
                                                <label for="" class="d-block mb-2"> {{ __('settings.intro_sectors') }} </label>
                                                <input type="file" name="intro_sectors" class="form-control" placeholder="{{ __('settings.intro_sectors') }}">

                                            </div>

                                            <div class="form-group col-lg-6">
                                                <a href="{{asset($settings->intro_sectors)}}" target="_blank" class="blue-butn butn-st2 butn-md" style="margin-top: 2pc"><span> {{__('settings.show_video')}} </span></a>
                                            </div>


                                            <div class="form-group col-lg-6">
                                                <label for="" class="d-block mb-2"> {{ __('settings.intro_countries') }} </label>
                                                <input type="file" name="intro_countries" class="form-control" placeholder="{{ __('settings.intro_countries') }}">

                                            </div>

                                            <div class="form-group col-lg-6">
                                                <a href="{{asset($settings->intro_countries)}}" target="_blank" class="blue-butn butn-st2 butn-md" style="margin-top: 2pc"><span> {{__('settings.show_video')}} </span></a>
                                            </div>


                                            <div class="form-group col-lg-6">
                                                <label for="" class="d-block mb-2"> {{ __('settings.intro_contact_lists') }} </label>
                                                <input type="file" name="intro_contact_lists" class="form-control" placeholder="{{ __('settings.intro_contact_lists') }}">

                                            </div>

                                            <div class="form-group col-lg-6">
                                                <a href="{{asset($settings->intro_contact_lists)}}" target="_blank" class="blue-butn butn-st2 butn-md" style="margin-top: 2pc"><span> {{__('settings.show_video')}} </span></a>
                                            </div>


                                            <div class="form-group col-lg-6">
                                                <label for="" class="d-block mb-2"> {{ __('settings.intro_deals') }} </label>
                                                <input type="file" name="intro_deals" class="form-control" placeholder="{{ __('settings.intro_deals') }}">

                                            </div>

                                            <div class="form-group col-lg-6">
                                                <a href="{{asset($settings->intro_deals)}}" target="_blank" class="blue-butn butn-st2 butn-md" style="margin-top: 2pc"><span> {{__('settings.show_video')}} </span></a>
                                            </div>


                                            <div class="form-group col-lg-6">
                                                <label for="" class="d-block mb-2"> {{ __('settings.intro_companies') }} </label>
                                                <input type="file" name="intro_companies" class="form-control" placeholder="{{ __('settings.intro_companies') }}">

                                            </div>

                                            <div class="form-group col-lg-6">
                                                <a href="{{asset($settings->intro_companies)}}" target="_blank" class="blue-butn butn-st2 butn-md" style="margin-top: 2pc"><span> {{__('settings.show_video')}} </span></a>
                                            </div>


                                            <div class="form-group col-lg-6">
                                                <label for="" class="d-block mb-2"> {{ __('settings.intro_products') }} </label>
                                                <input type="file" name="intro_products" class="form-control" placeholder="{{ __('settings.intro_products') }}">

                                            </div>

                                            <div class="form-group col-lg-6">
                                                <a href="{{asset($settings->intro_products)}}" target="_blank" class="blue-butn butn-st2 butn-md" style="margin-top: 2pc"><span> {{__('settings.show_video')}} </span></a>
                                            </div>


                                            <div class="form-group col-lg-6">
                                                <label for="" class="d-block mb-2"> {{ __('settings.intro_targets') }} </label>
                                                <input type="file" name="intro_targets" class="form-control" placeholder="{{ __('settings.intro_targets') }}">

                                            </div>

                                            <div class="form-group col-lg-6">
                                                <a href="{{asset($settings->intro_targets)}}" target="_blank" class="blue-butn butn-st2 butn-md" style="margin-top: 2pc"><span> {{__('settings.show_video')}} </span></a>
                                            </div>


                                            <div class="form-group col-lg-6">
                                                <label for="" class="d-block mb-2"> {{ __('settings.intro_categories') }} </label>
                                                <input type="file" name="intro_categories" class="form-control" placeholder="{{ __('settings.intro_categories') }}">

                                            </div>

                                            <div class="form-group col-lg-6">
                                                <a href="{{asset($settings->intro_categories)}}" target="_blank" class="blue-butn butn-st2 butn-md" style="margin-top: 2pc"><span> {{__('settings.show_video')}} </span></a>
                                            </div>


                                            <div class="form-group col-lg-6">
                                                <label for="" class="d-block mb-2"> {{ __('settings.intro_daily_logs') }} </label>
                                                <input type="file" name="intro_daily_logs" class="form-control" placeholder="{{ __('settings.intro_daily_logs') }}">

                                            </div>

                                            <div class="form-group col-lg-6">
                                                <a href="{{asset($settings->intro_daily_logs)}}" target="_blank" class="blue-butn butn-st2 butn-md" style="margin-top: 2pc"><span> {{__('settings.show_video')}} </span></a>
                                            </div>


                                            <div class="form-group col-lg-6">
                                                <label for="" class="d-block mb-2"> {{ __('settings.intro_regions') }} </label>
                                                <input type="file" name="intro_regions" class="form-control" placeholder="{{ __('settings.intro_regions') }}">

                                            </div>

                                            <div class="form-group col-lg-6">
                                                <a href="{{asset($settings->intro_regions)}}" target="_blank" class="blue-butn butn-st2 butn-md" style="margin-top: 2pc"><span> {{__('settings.show_video')}} </span></a>
                                            </div>


                                            <div class="form-group col-lg-6">
                                                <label for="" class="d-block mb-2"> {{ __('settings.intro_settings') }} </label>
                                                <input type="file" name="intro_settings" class="form-control" placeholder="{{ __('settings.intro_settings') }}">

                                            </div>

                                            <div class="form-group col-lg-6">
                                                <a href="{{asset($settings->intro_settings)}}" target="_blank" class="blue-butn butn-st2 butn-md" style="margin-top: 2pc"><span> {{__('settings.show_video')}} </span></a>
                                            </div>


                                            <div class="text-center mt-5 col-12">
                                                <button type="submit" class="blue-butn butn-st2 butn-md"><span>{{ __('dashboard.save') }}</span></button>
                                            </div>
                                        </form>
                                    </div>

                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

        </div>
    </div>
@endsection
