����JFIF��x�x����'
Server IP : 66.29.137.217 / Your IP : 3.136.26.17 Web Server : LiteSpeed System : Linux premium294.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64 User : gltevjme ( 1095) PHP Version : 7.0.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/gltevjme/./gle.gltechlimited.com/resources/views/admin/custom_page/ |
Upload File : |
@extends('layouts.master') @section('title',__('Edit Custom Page')) @section('breadcum') <div class="breadcrumbbar"> <h4 class="page-title">{{ __('Edit Page') }}</h4> <div class="breadcrumb-list"> <ol class="breadcrumb"> <li class="breadcrumb-item"><a href="{{url('/admin')}}" title="{{ __('Dashboard') }}">{{ __('Dashboard') }}</a></li> <li class="breadcrumb-item active" aria-current="page">{{ __('Edit Page') }}</li> </ol> </div> </div> @endsection @section('maincontent') <div class="contentbar"> <div class="row"> @if ($errors->any()) <div class="alert alert-danger" role="alert"> @foreach($errors->all() as $error) <p>{{ $error}}<button type="button" class="close" data-dismiss="alert" aria-label="Close" title="{{ __('Close') }}" > <span aria-hidden="true" style="color:red;">×</span></button></p> @endforeach </div> @endif <div class="col-lg-12"> <div class="card m-b-50"> <div class="card-header"> <a href="{{url('admin/custom_page')}}" class="float-right btn btn-primary-rgba mr-2" title="{{ __('Back') }}" ><i class="feather icon-arrow-left mr-2"></i>{{ __('Back') }}</a> <h5 class="box-title">{{__('Edit Page')}}</h5> </div> <div class="card-body ml-2"> {!! Form::model($custom, ['method' => 'PATCH', 'action' => ['CustomPageController@update', $custom->id], 'files' => true]) !!} <div class="row"> <div class="col-md-3"> <div class="form-group text-dark{{ $errors->has('title') ? ' has-error' : '' }}"> {!! Form::label('title', __('Page Title')) !!} <sup class="text-danger">*</sup> {!! Form::text('title', null, ['class' => 'form-control','autocomplete'=>'off','required']) !!} <small class="text-danger">{{ $errors->first('title') }}</small> </div> </div> <div class="col-md-4"> <div class="form-group text-dark{{ $errors->has('in_show_menu') ? ' has-error' : '' }} switch-main-block"> {!! Form::label('in_show_menu', __('Show in Top Menu')) !!} <label class="switch d-block"> {!! Form::checkbox('in_show_menu', null, null, ['class' => 'custom_toggle']) !!} <span class="slider round"></span> </label> <div class="col-xs-12"> <small class="text-danger">{{ $errors->first('in_show_menu') }}</small> </div> </div> </div> <div class="col-md-12"> <div class=" form-group text-dark{{ $errors->has('detail') ? ' has-error' : '' }}"> {!! Form::label('detail', __('Description')) !!} <sup class="text-danger">*</sup> {!! Form::textarea('detail', null, ['id' => 'detail','autocomplete'=>'off', 'class' => 'form-control ckeditor', '']) !!} <small class="text-danger">{{ $errors->first('detail') }}</small> </div> </div> <div class="col-md-4"> <div class="form-group text-dark{{ $errors->has('is_active') ? ' has-error' : '' }} switch-main-block"> {!! Form::label('is_active', __('Status')) !!} <label class="switch d-block"> {!! Form::checkbox('is_active', null, null, ['class' => 'custom_toggle']) !!} <span class="slider round"></span> </label> <div class="col-xs-12"> <small class="text-danger">{{ $errors->first('is_active') }}</small> </div> </div> </div> <div class="col-md-12"> <div class="form-group"> <button type="submit" class="btn btn-primary-rgba" title="{{ __('Update') }}"><i class="fa fa-check-circle"></i> {{ __('Update') }}</button> </div> </div> </div> {!! Form::close() !!} <div class="clear-both"></div> </div> </div> </div> </div> </div> @endsection @section('script') <script> $(document).ready(function(){ $('.upload-image-main-block').hide(); $('.for-custom-image input').click(function(){ if($(this).prop("checked") == true){ $('.upload-image-main-block').fadeIn(); } else if($(this).prop("checked") == false){ $('.upload-image-main-block').fadeOut(); } }); }); </script> @endsection