mirror of https://github.com/4xmen/xshop.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
59 lines
2.1 KiB
PHTML
59 lines
2.1 KiB
PHTML
@extends('layouts.app')
|
|
|
|
@section('title')
|
|
{{__("Design :AREA",['AREA' => $area->name])}}
|
|
@endsection
|
|
|
|
@section('content')
|
|
|
|
@include('components.err')
|
|
<form action="{{route('admin.area.update',$area->name)}}" method="post">
|
|
@csrf
|
|
<div class="general-form mb-5">
|
|
<h1>
|
|
{{__("Design :AREA",['AREA' => $area->name])}} <i class="{{$area->icon}}"></i>
|
|
</h1>
|
|
|
|
<area-designer
|
|
image-link="{{route('admin.area.image',['',''])}}"
|
|
:parts='@json($area->parts()->orderBy('sort')->get())'
|
|
:valids='@json($valids)'
|
|
:area='@json($area)'
|
|
></area-designer>
|
|
{{-- <div class="row">--}}
|
|
{{-- @foreach($valids as $valid)--}}
|
|
{{-- <div class="col-md-3">--}}
|
|
{{-- <img class="img-fluid" src="{{route('admin.area.image',[$valid['segment'],$valid['part']])}}" alt="{{$valid['segment'].'.'.$valid['part']}}">--}}
|
|
{{-- <h5 class="mt-2 text-center">--}}
|
|
{{-- {{$valid['data']['name']}} [v{{$valid['data']['version']}}]--}}
|
|
{{-- </h5>--}}
|
|
{{-- </div>--}}
|
|
{{-- @endforeach--}}
|
|
{{-- </div>--}}
|
|
</div>
|
|
<button
|
|
class="action-btn circle-btn"
|
|
data-bs-toggle="tooltip"
|
|
data-bs-placement="top"
|
|
data-bs-custom-class="custom-tooltip"
|
|
data-bs-title="{{__("Save")}}"
|
|
>
|
|
<i class="ri-save-2-line"></i>
|
|
</button>
|
|
</form>
|
|
@if($area->max > 0 && $area->parts()->count() > 1)
|
|
|
|
<a
|
|
href="{{route('admin.area.sort',$area->name)}}"
|
|
class="action-btn circle-btn"
|
|
data-bs-toggle="tooltip"
|
|
data-bs-placement="top"
|
|
data-bs-custom-class="custom-tooltip"
|
|
data-bs-title="{{__("Sort")}}"
|
|
style="inset-inline-end: 1.2rem;inset-inline-start: auto;"
|
|
>
|
|
<i class="ri-sort-asc"></i>
|
|
</a>
|
|
@endif
|
|
@endsection
|