|
|
@ -13,20 +13,19 @@ |
|
|
|
</div><!-- /.container-fluid --> |
|
|
|
</div><!-- /.container-fluid --> |
|
|
|
</section> |
|
|
|
</section> |
|
|
|
|
|
|
|
|
|
|
|
<!-- Main content --> |
|
|
|
|
|
|
|
<section class="content"> |
|
|
|
<section class="content"> |
|
|
|
<div class="container-fluid"> |
|
|
|
<div class="container-fluid"> |
|
|
|
<!-- SELECT2 EXAMPLE --> |
|
|
|
<!-- SELECT2 EXAMPLE --> |
|
|
|
<div class="card card-default"> |
|
|
|
<div class="card card-default"> |
|
|
|
<div class="card-header"> |
|
|
|
<div class="card-header"> |
|
|
|
<h3 class="card-title">Create AboutUs</h3> |
|
|
|
<h3 class="card-title">Create AboutUs</h3> |
|
|
|
<a href="{{url('admin/about_us')}}" class="back-button btn-green">List</a> |
|
|
|
<a href="{{ url('admin/about_us') }}" class="back-button btn-green">List</a> |
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="card-body"> |
|
|
|
<div class="card-body"> |
|
|
|
@include('success.success') |
|
|
|
@include('success.success') |
|
|
|
@include('errors.error') |
|
|
|
@include('errors.error') |
|
|
|
{!! Form::open(['url' => '/admin/about_us', 'class' => 'form-horizontal', 'method'=> 'POST','files' => true]) !!} |
|
|
|
{!! Form::open(['url' => '/admin/about_us', 'class' => 'form-horizontal', 'method' => 'POST', 'files' => true]) !!} |
|
|
|
<div class="row"> |
|
|
|
<div class="row"> |
|
|
|
|
|
|
|
|
|
|
|
<div class="col-md-6"> |
|
|
|
<div class="col-md-6"> |
|
|
@ -36,22 +35,22 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="col-md-12" > |
|
|
|
<div class="col-md-12"> |
|
|
|
<div class="form-group" > |
|
|
|
<div class="form-group"> |
|
|
|
<label>Top Description <span style="color: red";> * </span></label> |
|
|
|
<label>Top Description <span style="color: red";> * </span></label> |
|
|
|
<textarea name="description" id="body" rows="5" style="height: 658px;">{{old('description')}}</textarea> |
|
|
|
<textarea name="description" id="body" rows="5" style="height: 658px;">{{ old('description') }}</textarea> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="col-md-12" > |
|
|
|
<div class="col-md-12"> |
|
|
|
<div class="form-group" > |
|
|
|
<div class="form-group"> |
|
|
|
<label>Middle Description <span style="color: red";> * </span></label> |
|
|
|
<label>Middle Description <span style="color: red";> * </span></label> |
|
|
|
<textarea name="sub_description" id="body1" rows="5">{{old('sub_description')}}</textarea> |
|
|
|
<textarea name="sub_description" id="body1" rows="5">{{ old('sub_description') }}</textarea> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="col-md-12" > |
|
|
|
<div class="col-md-12"> |
|
|
|
<div class="form-group" > |
|
|
|
<div class="form-group"> |
|
|
|
<label>Bottom Description <span style="color: red";> * </span> </label> |
|
|
|
<label>Bottom Description <span style="color: red";> * </span> </label> |
|
|
|
<textarea name="bottom_description" id="body2" rows="5" >{{old('bottom_description')}} |
|
|
|
<textarea name="bottom_description" id="body2" rows="5">{{ old('bottom_description') }} |
|
|
|
</textarea> |
|
|
|
</textarea> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -59,26 +58,28 @@ |
|
|
|
<div class="col-md-6"> |
|
|
|
<div class="col-md-6"> |
|
|
|
<div class="form-group"> |
|
|
|
<div class="form-group"> |
|
|
|
<label>Seo Title</label> |
|
|
|
<label>Seo Title</label> |
|
|
|
<input type="text" class="form-control" id="inputPassword3" name="seo_title" value="{{old('seo_title')}}"> |
|
|
|
<input type="text" class="form-control" id="inputPassword3" name="seo_title" |
|
|
|
|
|
|
|
value="{{ old('seo_title') }}"> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="col-md-6"> |
|
|
|
<div class="col-md-6"> |
|
|
|
<div class="form-group"> |
|
|
|
<div class="form-group"> |
|
|
|
<label> Keyword <span style="color: red";> * </span> </label> |
|
|
|
<label> Keyword <span style="color: red";> * </span> </label> |
|
|
|
<input type="text" class="form-control" id="inputPassword3" name="keyword" value="{{old('keyword')}}" required> |
|
|
|
<input type="text" class="form-control" id="inputPassword3" name="keyword" |
|
|
|
|
|
|
|
value="{{ old('keyword') }}" required> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="col-md-6"> |
|
|
|
<div class="col-md-6"> |
|
|
|
<div class="form-group"> |
|
|
|
<div class="form-group"> |
|
|
|
<label>Seo Description </label> |
|
|
|
<label>Seo Description </label> |
|
|
|
<textarea id="body3" name="seo_description">{{old('seo_description')}}</textarea> |
|
|
|
<textarea id="body3" name="seo_description">{{ old('seo_description') }}</textarea> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="col-md-6"> |
|
|
|
<div class="col-md-6"> |
|
|
|
<div class="form-group"> |
|
|
|
<div class="form-group"> |
|
|
|
<label>Meta Keyword</label> |
|
|
|
<label>Meta Keyword</label> |
|
|
|
<textarea id="body4" name="meta_keyword">{{old('meta_keyword')}}</textarea> |
|
|
|
<textarea id="body4" name="meta_keyword">{{ old('meta_keyword') }}</textarea> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="col-md-6"> |
|
|
|
<div class="col-md-6"> |
|
|
@ -86,8 +87,10 @@ |
|
|
|
<label>Status <span style="color: red";> * </span> </label> |
|
|
|
<label>Status <span style="color: red";> * </span> </label> |
|
|
|
<select name="status" class="form-control" id="type" required> |
|
|
|
<select name="status" class="form-control" id="type" required> |
|
|
|
<option value="" selected disabled>Please select Status</option> |
|
|
|
<option value="" selected disabled>Please select Status</option> |
|
|
|
@foreach(config('custom.status') as $in => $val) |
|
|
|
@foreach (config('custom.status') as $in => $val) |
|
|
|
<option value="{{$in}}" {{(old('status')==$in) ? 'selected':''}}>{{$val}}</option> |
|
|
|
<option value="{{ $in }}" |
|
|
|
|
|
|
|
{{ old('status') == $in ? 'selected' : '' }}> |
|
|
|
|
|
|
|
{{ $val }}</option> |
|
|
|
@endforeach |
|
|
|
@endforeach |
|
|
|
|
|
|
|
|
|
|
|
</select> |
|
|
|
</select> |
|
|
@ -110,47 +113,38 @@ |
|
|
|
@section('script') |
|
|
|
@section('script') |
|
|
|
<script> |
|
|
|
<script> |
|
|
|
ClassicEditor |
|
|
|
ClassicEditor |
|
|
|
.create( document.querySelector( '#body' ), |
|
|
|
.create(document.querySelector('#body'), { |
|
|
|
{ |
|
|
|
|
|
|
|
ckfinder: { |
|
|
|
ckfinder: { |
|
|
|
uploadUrl: '{{route('image.upload').'?_token='.csrf_token()}}', |
|
|
|
uploadUrl: '{{ route('image.upload') . '?_token=' . csrf_token() }}', |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
}) |
|
|
|
}) |
|
|
|
ClassicEditor |
|
|
|
ClassicEditor |
|
|
|
.create( document.querySelector( '#body1' ), |
|
|
|
.create(document.querySelector('#body1'), { |
|
|
|
{ |
|
|
|
|
|
|
|
ckfinder: { |
|
|
|
ckfinder: { |
|
|
|
uploadUrl: '{{route('image.upload').'?_token='.csrf_token()}}', |
|
|
|
uploadUrl: '{{ route('image.upload') . '?_token=' . csrf_token() }}', |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|
ClassicEditor |
|
|
|
ClassicEditor |
|
|
|
.create( document.querySelector( '#body2' ), |
|
|
|
.create(document.querySelector('#body2'), { |
|
|
|
{ |
|
|
|
|
|
|
|
ckfinder: { |
|
|
|
ckfinder: { |
|
|
|
uploadUrl: '{{route('image.upload').'?_token='.csrf_token()}}', } |
|
|
|
uploadUrl: '{{ route('image.upload') . '?_token=' . csrf_token() }}', |
|
|
|
|
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|
ClassicEditor |
|
|
|
ClassicEditor |
|
|
|
.create( document.querySelector( '#body3' ), |
|
|
|
.create(document.querySelector('#body3'), { |
|
|
|
{ |
|
|
|
|
|
|
|
ckfinder: { |
|
|
|
ckfinder: { |
|
|
|
uploadUrl: '{{route('image.upload').'?_token='.csrf_token()}}', } |
|
|
|
uploadUrl: '{{ route('image.upload') . '?_token=' . csrf_token() }}', |
|
|
|
|
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|
ClassicEditor |
|
|
|
ClassicEditor |
|
|
|
.create( document.querySelector( '#body4' ), |
|
|
|
.create(document.querySelector('#body4'), { |
|
|
|
{ |
|
|
|
|
|
|
|
ckfinder: { |
|
|
|
ckfinder: { |
|
|
|
uploadUrl: '{{route('image.upload').'?_token='.csrf_token()}}', } |
|
|
|
uploadUrl: '{{ route('image.upload') . '?_token=' . csrf_token() }}', |
|
|
|
}) |
|
|
|
|
|
|
|
.catch( error => |
|
|
|
|
|
|
|
{ console.error( error ); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
); |
|
|
|
}) |
|
|
|
|
|
|
|
.catch(error => { |
|
|
|
|
|
|
|
console.error(error); |
|
|
|
|
|
|
|
}); |
|
|
|
</script> |
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@endsection |
|
|
|
@endsection |
|
|
|
|
|
|
|
|
|
|
|