master_template/resources/views/crud/generated/settings/create.blade.php
2024-06-10 18:06:58 +05:45

82 lines
4.0 KiB
PHP

@extends('backend.template')
@section('content')
<div class='card'>
<div class='card-header d-flex justify-content-between align-items-center'>
<h2 class="">{{ label('Add Settings') }}</h2>
<?php createButton('btn-primary btn-cancel', '', 'Cancel', route('settings.index')); ?>
</div>
<div class='card-body'>
<form action="{{ route('settings.store') }}" id="storeCustomForm" method="POST">
@csrf
<div class="row">
<div class="col-lg-6">{{ createText('title', 'title', 'Title') }}
</div>
<div class="col-lg-12 pb-2">{{ createTextarea('description', 'description ckeditor-classic', 'Description') }}
</div>
<div class="col-lg-6">{{ createText('url1', 'url1', 'Url1') }}
</div>
<div class="col-lg-6">{{ createText('url2', 'url2', 'Url2') }}
</div>
<div class="col-lg-6">{{ createText('email', 'email', 'Email') }}
</div>
<div class="col-lg-6">{{ createText('phone', 'phone', 'Phone') }}
</div>
<div class="col-lg-6">{{ createText('working_days', 'working_days', 'Working Days') }}
</div>
<div class="col-lg-6">{{ createText('working_hours', 'working_hours', 'Working Hours') }}
</div>
<div class="col-lg-6">{{ createText('leave_days', 'leave_days', 'Leave days') }}
</div>
<div class="col-lg-6">{{ createText('secondary_phone', 'secondary_phone', 'Secondary Phone') }}
</div>
<div class="col-lg-6">{{ createText('location', 'location', 'Location') }}
</div>
<div class="col-lg-12 pb-2">{{ createPlainTextArea('google_map', 'google_map ', 'Google Map') }}
</div>
<div class="col-lg-6">{{ createText('fb', 'fb', 'Fb') }}
</div>
<div class="col-lg-6">{{ createText('insta', 'insta', 'Insta') }}
</div>
<div class="col-lg-6">{{ createText('twitter', 'twitter', 'Twitter') }}
</div>
<div class="col-lg-6">{{ createText('tiktok', 'tiktok', 'Tiktok') }}
</div>
<div class="col-lg-6">{{ createText('youtube', 'youtube', 'Youtube') }}
</div>
<div class="col-lg-12 pb-2">{{ createImageInput('primary_logo', 'Primary Logo') }}
</div>
<div class="col-lg-12 pb-2">{{ createImageInput('secondary_logo', 'Secondary Logo') }}
</div>
<div class="col-lg-12 pb-2">{{ createImageInput('thumb', 'Thumb') }}
</div>
<div class="col-lg-12 pb-2">{{ createImageInput('icon', 'Icon') }}
</div>
<div class="col-lg-12 pb-2">{{ createImageInput('og_image', 'Og Image') }}
</div>
<div class="col-lg-12 pb-2">{{ createImageInput('no_image', 'No Image') }}
</div>
<div class="col-lg-6">{{ createText('copyright_text', 'copyright_text', 'Copyright Text') }}
</div>
<div class="col-lg-12 pb-2">{{ createTextarea('content1', 'content1 ckeditor-classic', 'Content1') }}
</div>
<div class="col-lg-12 pb-2">{{ createTextarea('content2', 'content2 ckeditor-classic', 'Content2') }}
</div>
<div class="col-lg-12 pb-2">{{ createTextarea('content3', 'content3 ckeditor-classic', 'Content3') }}
</div>
<div class="col-lg-6">{{ createText('seo_title', 'seo_title', 'Seo Title') }}
</div>
<div class="col-lg-12 pb-2">{{ createPlainTextArea('seo_description', 'seo_description ', 'Seo Description') }}
</div>
<div class="col-lg-12 pb-2">{{ createPlainTextArea('seo_keywords', 'seo_keywords ', 'Seo Keywords') }}
</div>
<div class="col-lg-12 pb-2">{{ createPlainTextArea('og_tags', 'og_tags ', 'Og Tags') }}
</div> <br>
<div class="col-md-12"><?php createButton('btn-primary btn-store', '', 'Submit'); ?>
<?php createButton('btn-primary btn-cancel', '', 'Cancel', route('settings.index')); ?>
</div>
</form>
</div>
</div>
@endsection