first change

This commit is contained in:
2025-07-27 17:40:56 +05:45
commit f8b9a6725b
3152 changed files with 229528 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
{{ html()->form('POST', route('sitemapConfig.store'))->class('needs-validation')->attributes(['novalidate'])->open() }}
@isset($sitemapConfig)
{{ html()->hidden('id', $sitemapConfig->id) }}
@endisset
<div class="card-body">
<div class="row">
<div class="col-sm-12">
<div class="mb-3">
{{ html()->label('Config Name')->for('title') }}
{{ html()->span('*')->class('text-danger') }}
{{ html()->text('title')->value($sitemapConfig->title ?? old('title'))->class('form-control')->placeholder('Enter Config Name')->required() }}
{{ html()->div('Please enter a title.')->class('invalid-feedback') }}
</div>
<div class="mb-3">
{{ html()->label('Max depth')->class('form-label')->for('max_depth') }}
{{ html()->number('max_depth')->class('form-control')->value($sitemapConfig->max_depth ?? old('max_depth'))->placeholder('Max Depth') }}
</div>
<div class="mb-3">
{{ html()->label('Max crawl count')->class('form-label')->for('max_count') }}
{{ html()->number('max_crawl_count')->class('form-control')->value($sitemapConfig->max_crawl_count ?? old('max_crawl_count'))->placeholder('Page Crawl Count') }}
</div>
<div class="mb-3">
{{ html()->label('Ignore crawler')->class('form-label')->for('sitemap_excludes') }}
{{ html()->textarea('sitemap_excludes')->class('form-control')->value($sitemapConfig->sitemap_excludes ?? old('sitemap_excludes'))->placeholder('CSV Format') }}
</div>
<div class="mb-3">
{{ html()->label('Ignore robots')->class('form-label')->for('ignore_robot') }}
{{ html()->select('ignore_robot', ['0' => 'Disable', '1' => 'Enable'])->value($sitemapConfig->ignore_robot ?? old('ignore_robot'))->class('form-select choices-select') }}
</div>
</div>
<x-form-buttons :href="route('sitemapConfig.index')" :label="isset($sitemapConfig) ? 'Update' : 'Create'" />
</div>
</div>
{{ html()->form()->close() }}