Файловый менеджер - Редактировать - /home/c7lekhnath/silverray.com.au/oldsite/Modules/CustomPage/resources/views/create.blade.php
Назад
@extends('admin.master_layout') @section('title') <title>{{ __('Create Custom Page') }}</title> @endsection @section('admin-content') <div class="main-content"> <section class="section"> <x-admin.breadcrumb title="{{ __('Create Custom Page') }}" :list="[ __('Dashboard') => route('admin.dashboard'), __('Custom Page') => route('admin.custom-page.index'), __('Create Custom Page') => '#', ]" /> <div class="section-body"> <div class="mt-4 row"> <div class="col-12"> <div class="card"> <div class="card-header d-flex justify-content-between"> <x-admin.form-title :text="__('Create Custom Page')" /> <div> <x-admin.back-button :href="route('admin.custom-page.index')" /> </div> </div> <div class="card-body"> <form action="{{ route('admin.custom-page.store') }}" method="POST" enctype="multipart/form-data"> @csrf <div class="row"> <div class="form-group col-md-8 offset-md-2"> <x-admin.form-input id="title" name="page_name" label="{{ __('Page name') }}" placeholder="{{ __('Page name') }}" value="{{ old('page_name') }}" required="true"/> </div> <div class="form-group col-md-8 offset-md-2"> <x-admin.form-input id="slug" name="slug" label="{{ __('Slug') }}" placeholder="{{ __('Enter Slug') }}" value="{{ old('slug') }}" required="true"/> </div> <div class="form-group col-md-8 offset-md-2"> <x-admin.form-editor name="description" label="{{ __('Description') }}" value="{{ old('description') }}" required="true"/> </div> </div> <div class="row"> <div class="text-center col-md-8 offset-md-2"> <x-admin.save-button :text="__('Save')"></x-admin.save-button> </div> </div> </form> </div> </div> </div> </div> </div> </section> </div> @endsection @push('css') <style> .image-preview label, #callback-preview label { top: 170px !important; color: white !important; background-color: black !important; } </style> @endpush @push('js') <script src="{{ asset('backend/js/jquery.uploadPreview.min.js') }}"></script> <script> $.uploadPreview({ input_field: "#image-upload", preview_box: "#image-preview", label_field: "#image-label", label_default: "{{ __('Choose Icon') }}", label_selected: "{{ __('Change Icon') }}", no_label: false, success_callback: null }); (function($) { "use strict"; $(document).ready(function() { $("#title").on("keyup", function(e) { $("#slug").val(convertToSlug($(this).val())); }) }); })(jQuery); function convertToSlug(Text) { return Text .toLowerCase() .replace(/[^\w ]+/g, '') .replace(/ +/g, '-'); } </script> @endpush
| ver. 1.4 |
Github
|
.
| PHP 8.3.20 | Генерация страницы: 0.1 |
proxy
|
phpinfo
|
Настройка