File manager - Edit - /home/linknsbh/rassudr.online/resources/views/admin/mobile-interface/content.blade.php
Back
@extends('admin.layout') {{-- this style will be applied when the direction of language is right-to-left --}} @includeIf('admin.partials.rtl-style') @section('content') <div class="page-header"> <h4 class="page-title">{{ __('Home Page') }}</h4> <ul class="breadcrumbs"> <li class="nav-home"> <a href="{{ route('admin.dashboard') }}"> <i class="flaticon-home"></i> </a> </li> <li class="separator"> <i class="flaticon-right-arrow"></i> </li> <li class="nav-item"> <a href="{{ route('admin.mobile_interface') }}">{{ __('Mobile App Settings') }}</a> </li> <li class="separator"> <i class="flaticon-right-arrow"></i> </li> <li class="nav-item"> <a href="#">{{ __('Home Page') }}</a> </li> </ul> </div> <div class="row"> <div class="col-md-12"> <div class="card"> <div class="card-header"> <div class="row"> <div class="col-lg-10"> <div class="card-title">{{ __('Update Images & Texts') }}</div> </div> <div class="col-lg-2"> </div> </div> </div> <div class="card-body"> <form id="ajaxForm" action="{{ route('admin.mobile_interface_update') }}" method="post" enctype="multipart/form-data"> @csrf <input type="hidden" value="{{ request()->input('language') }}" name="language"> <div class="row px-5"> <!-- hero section --> <div class="col-lg-12"> <fieldset class="form-group border mb-5 border-secondary rounded"> <legend class="w-auto px-2 h3 font-weight-bold text-warning"> {{ __('Hero Section') }} </legend> <div class="row"> <div class="col-lg-12"> <div class="form-group"> <label for="">{{ __('Image') . '*' }}</label> <br> <div class="thumb-preview"> @if (!empty($data->hero_section_background_img)) <img src="{{ asset('assets/img/hero/' . $data->hero_section_background_img) }}" alt="image" class="uploaded-img"> @else <img src="{{ asset('assets/img/noimage.jpg') }}" alt="..." class="uploaded-img"> @endif </div> <div class="mt-3"> <div role="button" class="btn btn-primary btn-sm upload-btn"> {{ __('Choose Image') }} <input type="file" class="img-input" name="hero_section_background_img"> </div> </div> @error('hero_section_background_img') <p class="mt-2 mb-0 text-danger">{{ $message }}</p> @enderror </div> </div> <div class="col-lg-6"> <div class="form-group"> <label for="">{{ __('Hero Section Title') }}</label> <input type="text" class="form-control" name="hero_section_title" value="{{ empty($data->hero_section_title) ? '' : $data->hero_section_title }}" placeholder="{{ __('Enter hero section title') }}"> @error('hero_section_title') <div class="text-danger">{{ $message }}</div> @enderror </div> </div> <div class="col-lg-6"> <div class="form-group"> <label for="">{{ __('Hero Section Subtitle') }}</label> <input type="text" class="form-control" name="hero_section_subtitle" value="{{ empty($data->hero_section_subtitle) ? '' : $data->hero_section_subtitle }}" placeholder="{{ __('Enter hero section subtitle') }}"> @error('hero_section_subtitle') <div class="text-danger">{{ $message }}</div> @enderror </div> </div> <div class="col-lg-12"> <div class="form-group"> <label for="">{{ __('Hero Section Text') }}</label> <input type="text" class="form-control" name="hero_section_text" value="{{ empty($data->hero_section_text) ? '' : $data->hero_section_text }}" placeholder="{{ __('Enter hero section text') }}"> @error('hero_section_text') <div class="text-danger">{{ $message }}</div> @enderror </div> </div> </div> </fieldset> </div> <!-- category section --> <div class="col-lg-6"> <fieldset class="form-group border mb-5 border-secondary rounded"> <legend class="w-auto px-2 h3 font-weight-bold text-warning"> {{ __('Category Section') }} </legend> <div class="row"> <div class="col-lg-12"> <div class="form-group"> <label for="">{{ __('Category Section Title') }}</label> <input type="text" class="form-control" name="category_section_title" value="{{ empty($data->category_section_title) ? '' : $data->category_section_title }}" placeholder="{{ __('Enter category section title') }}"> @error('category_section_title') <div class="text-danger">{{ $message }}</div> @enderror </div> </div> </div> </fieldset> </div> <!-- featured service section --> <div class="col-lg-6"> <fieldset class="form-group border mb-5 border-secondary rounded"> <legend class="w-auto px-2 h3 font-weight-bold text-warning"> {{ __('Featured Service Section') }} </legend> <div class="row"> <div class="col-lg-12"> <div class="form-group"> <label for="">{{ __('Featured Service Section Title') }}</label> <input type="text" class="form-control" name="featured_service_section_title" value="{{ empty($data->featured_service_section_title) ? '' : $data->featured_service_section_title }}" placeholder="{{ __('Enter featured service section title') }}"> @error('featured_service_section_title') <div class="text-danger">{{ $message }}</div> @enderror </div> </div> </div> </fieldset> </div> <!-- vendor section --> <div class="col-lg-6"> <fieldset class="form-group border mb-5 border-secondary rounded"> <legend class="w-auto px-2 h3 font-weight-bold text-warning"> {{ __('Vendor Section') }} </legend> <div class="row"> <div class="col-lg-12"> <div class="form-group"> <label for="">{{ __('Vendor Section Title') }}</label> <input type="text" class="form-control" name="vendor_section_title" value="{{ empty($data->vendor_section_title) ? '' : $data->vendor_section_title }}" placeholder="{{ __('Enter vendor section title') }}"> @error('vendor_section_title') <div class="text-danger">{{ $message }}</div> @enderror </div> </div> </div> </fieldset> </div> <!-- latest service section --> <div class="col-lg-6"> <fieldset class="form-group border mb-5 border-secondary rounded"> <legend class="w-auto px-2 h3 font-weight-bold text-warning"> {{ __('Latest Service Section') }} </legend> <div class="row"> <div class="col-lg-12"> <div class="form-group"> <label for="">{{ __('Latest Service Section Title') }}</label> <input type="text" class="form-control" name="latest_service_section_title" value="{{ empty($data->latest_service_section_title) ? '' : $data->latest_service_section_title }}" placeholder="{{ __('Enter latest service section title') }}"> @error('latest_service_section_title') <div class="text-danger">{{ $message }}</div> @enderror </div> </div> </div> </fieldset> </div> </div> </form> </div> <div class="card-footer"> <div class="row"> <div class="col-12 text-center"> <button type="button" id="submitBtn" class="btn btn-success"> {{ __('Update') }} </button> </div> </div> </div> </div> </div> </div> @endsection
| ver. 1.4 |
Github
|
.
| PHP 8.2.31 | Generation time: 0.11 |
proxy
|
phpinfo
|
Settings