Файловый менеджер - Редактировать - /home/clickysoft/public_html/calvary-p2.clickysoft.net/resources/views/admin/hot-lunch/add.blade.php
Назад
@extends('admin.layouts.master') @section('title', 'Add Hot Lunch') @push('admin-styles') <link rel="stylesheet" href="{{ asset('assets/admin/vendor/libs/quill/typography.css') }}" /> <link rel="stylesheet" href="{{ asset('assets/admin/vendor/libs/quill/katex.css') }}" /> <link rel="stylesheet" href="{{ asset('assets/admin/vendor/libs/quill/editor.css') }}" /> @endpush @section('content') <div class="container-xxl flex-grow-1 container-p-y"> <div class="row"> <div class="col-md-12"> <div class="card mb-4"> <h5 class="card-header">Add Hot Lunch</h5> <div class="card-body"> <form action="{{ route('lunch.add.data') }}" method="POST"> @csrf @include('partials.alert') <div class="row"> <div class="col-md-6 mb-6"> <label class="form-label" for="title">Title <i class="fa fa-asterisk small-font text-danger" aria-hidden="true"></i> </label> <input type="text" class="form-control" id="title" name="title" value="{{ old('title') }}" placeholder="Enter Hot Lunch Title" /> </div> <div class="col-md-6 mb-6"> <label class="form-label" for="lunch_half">First Half / Second Half <i class="fa fa-info-circle cursor-pointer" title="This will determine weather to deduct charges other than lunch items" aria-hidden="true"></i> </label> <select name="lunch_half" id="lunch_half" class="form-select"> <option value="first_half" @selected(old('lunch_half') == 'first_half')>First Half</option> <option value="second_half" @selected(old('lunch_half') == 'second_half')>Second Half</option> </select> </div> </div> <div class="row"> <div class="col-md-6 mb-6 mt-3"> <label class="form-label" for="reg_starts">Registration Start Date <i class="fa fa-asterisk small-font text-danger" aria-hidden="true"></i> </label> <input type="date" class="form-control" name="reg_starts" id="reg_starts" value="{{ old('reg_starts') }}" placeholder="Enter Registration Start Date" /> </div> <div class="col-md-6 mb-6 mt-3"> <label class="form-label" for="reg_ends">Registration End Date <i class="fa fa-asterisk small-font text-danger" aria-hidden="true"></i> </label> <input type="date" class="form-control" id="reg_ends" name="reg_ends" value="{{ old('reg_ends') }}" placeholder="Enter Registration End Date" /> </div> <div class="col-md-6 mb-6 mt-3"> <label class="form-label" for="late_fee">Enable Late Fee <i class="fa fa-asterisk small-font text-danger" aria-hidden="true"></i> </label> <select name="late_fee" id="late_fee" class="form-select"> <option value="0" @selected(old('late_fee') == 0)>No</option> <option value="1" @selected(old('late_fee') == 1)>Yes</option> </select> </div> <div class="col-md-6 mb-6 mt-3"> <label class="form-label" for="status">Status <i class="fa fa-asterisk small-font text-danger" aria-hidden="true"></i> </label> <select name="status" id="status" class="form-select"> <option value="1" @selected(old('status') == 1)>Active</option> <option value="0" @selected(old('status') == 0)>Inactive</option> </select> </div> </div> <div class="row mt-3"> <div class="col-md-12 mb-6"> <label class="form-label">Lunch Description</label> <div class="form-control" id="description"></div> <input type="hidden" name="description" value=""> </div> </div> <div class="row mt-3"> <div class="col-md-12"> <a href="{{ route('manage.lunch') }}" class="btn btn-danger redirect-btn">Back</a> <button type="submit" class="btn btn-primary" onclick="showLoader()">Add</button> </div> </div> </form> </div> </div> </div> </div> </div> @endsection @push('admin-scripts') <script src="{{ asset('assets/admin/vendor/libs/quill/katex.js') }}"></script> <script src="{{ asset('assets/admin/vendor/libs/quill/quill.js') }}"></script> <script> $(function() { const lunchDescription = new Quill("#description", { bounds: "#description", placeholder: "Enter lunch description...", modules: { formula: !0, toolbar: [ [{ font: [] }, { size: [] }], ["bold", "italic", "underline", "strike"], [{ color: [] }, { background: [] }], [{ script: "super" }, { script: "sub" }], [{ header: "1" }, { header: "2" }, "blockquote", "code-block"], [{ list: "ordered" }, { list: "bullet" }, { indent: "-1" }, { indent: "+1" }], [{ direction: "rtl" }], ["link"], ["clean"] ] }, theme: "snow" }); lunchDescription.root.innerHTML = {!! json_encode(old('description')) !!}; lunchDescription.on('text-change', function() { $("input[name=description]").val(lunchDescription.root.innerHTML); }); }); </script> @endpush
| ver. 1.4 |
Github
|
.
| PHP 8.1.29 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка