Add new version in repository

This commit is contained in:
Ludovic CANDELLIER
2021-07-25 23:19:27 +02:00
parent f75632b054
commit b879f11c99
608 changed files with 12235 additions and 7513 deletions

View File

@@ -0,0 +1,15 @@
@extends('boilerplate::layout.index', [
'title' => __('Botanic.families.title'),
'subtitle' => __('Botanic.families.add'),
'breadcrumb' => [__('Botanic.families.title'), __('Botanic.families.add')]
])
@include('boilerplate::load.fileinput')
@section('content')
{{ Form::open(['route' => 'Admin.Botanic.Families.store', 'id' => 'form', 'autocomplete' => 'off', 'files' => true]) }}
@include('Admin.Botanic.Families.form')
</form>
@endsection

View File

@@ -0,0 +1,16 @@
@extends('layout.index', [
'title' => __('Botanic.families.title'),
'subtitle' => __('Botanic.families.edit'),
'breadcrumb' => ['Familles']
])
@section('content')
{{ Form::open(['route' => 'Admin.Botanic.Families.store', 'id' => 'form', 'autocomplete' => 'off']) }}
<input type="hidden" name="id" value="{{ $family['id'] }}">
@include('Admin.Botanic.Families.form')
</form>
@endsection

View File

@@ -0,0 +1,41 @@
<div class="row mb-3">
<div class="col-md-8">
<div class="row mb-3">
<div class="col-6">
{{ Form::label('name', 'Nom') }}
@include('components.input', ['name' => 'name', 'value' => (isset($family['name'])) ? $family['name'] : null, 'required' => true])
</div>
<div class="col-6">
{{ Form::label('alias', 'Alias') }}
@include('components.input', ['name' => 'alias', 'value' => (isset($family['alias'])) ? $family['alias'] : null])
</div>
</div>
<div class="row mb-3">
<div class="col-12">
{{ Form::label('latin', 'Nom latin') }}
@include('components.input', ['name' => 'latin', 'value' => (isset($family['latin'])) ? $family['latin'] : null, 'required' => true])
</div>
</div>
<div class="row mb-3">
<div class="col-12">
{{ Form::label('description', 'Description') }}
@include('components.textarea', ['name' => 'description', 'value' => isset($family['description']) ? $family['description'] : null, 'class' => 'editor', 'required' => true])
</div>
</div>
</div>
</div>
@include('components.save')
@include('load.form.editor')
@push('js')
<script>
$(function() {
initEditor();
});
</script>
@endpush

View File

@@ -0,0 +1,11 @@
@extends('layout.index', [
'title' => __('Botanic.families.title'),
'subtitle' => __('Botanic.families.list'),
'breadcrumb' => [__('Botanic.families.title')]
])
@section('content')
@component('components.card')
@include('components.datatable', ['route' => route('Admin.Botanic.Families.index'), 'model' => 'families'])
@endcomponent
@endsection

View File

@@ -0,0 +1,28 @@
@extends('layout.index', [
'title' => __('families.title'),
'subtitle' => __('families.title'),
'breadcrumb' => [__('families.title')]
])
@section('content')
<div class="row">
<div class="col-md-offset-2 col-md-8">
<div class="box box-info">
<div class="box-body">
<div class="col-md-6">
<h3>{{ name }}</h3>
<h4>
</h4>
</div>
<div class="col-md-12">
</div>
</div>
</div>
</div>
</div>
@endsection

View File

@@ -0,0 +1,13 @@
@extends('layout.index', [
'title' => __('Botanic.genres.title'),
'subtitle' => __('Botanic.genres.add'),
'breadcrumb' => [__('Botanic.genres.title'), __('Botanic.genres.add')]
])
@section('content')
{{ Form::open(['route' => 'Admin.Botanic.Genres.store', 'id' => 'form', 'autocomplete' => 'off']) }}
@include('Admin.Botanic.Genres.form')
</form>
@endsection

View File

@@ -0,0 +1,16 @@
@extends('layout.index', [
'title' => __('Botanic.genres.title'),
'subtitle' => __('Botanic.genres.edit'),
'breadcrumb' => ['Familles']
])
@section('content')
{{ Form::open(['route' => 'Admin.Botanic.Genres.store', 'id' => 'form', 'autocomplete' => 'off']) }}
<input type="hidden" name="id" value="{{ $genre['id'] }}">
@include('Admin.Botanic.Genres.form')
</form>
@endsection

View File

@@ -0,0 +1,43 @@
<div class="row">
<div class="col-md-8">
<div class="row mb-3">
<div class="col-12">
{{ Form::label('name', 'Nom') }}
@include('components.input', ['name' => 'name', 'value' => $genre['name'] ?? null, 'required' => true])
</div>
</div>
<div class="row mb-3">
<div class="col-12">
{{ Form::label('family', 'Famille') }}
@include('components.select', ['name' => 'family_id', 'list' => $families, 'value' => $genre['family_id'] ?? null, 'required' => false])
</div>
</div>
<div class="row mb-3">
<div class="col-12">
{{ Form::label('alias', 'Alias') }}
@include('components.input', ['name' => 'alias', 'value' => $genre['alias'] ?? null, 'required' => false])
</div>
</div>
<div class="row mb-3">
<div class="col-12">
{{ Form::label('latin', 'Nom latin') }}
@include('components.input', ['name' => 'latin', 'value' => $genre['latin'] ?? null, 'required' => false])
</div>
</div>
<div class="row mb-3">
<div class="col-12">
{{ Form::label('description', 'Description') }}
@include('components.textarea', ['name' => 'description', 'value' => $genre['description'] ?? null, 'class' => 'editor', 'required' => false])
</div>
</div>
</div>
</div>
@include('components.save')

View File

@@ -0,0 +1,12 @@
@extends('layout.index', [
'title' => __('Botanic.genres.title'),
'subtitle' => __('Botanic.genres.list'),
'breadcrumb' => [__('Botanic.genres.title')]
])
@section('content')
@component('components.card')
@include('components.datatable', ['route' => route('Admin.Botanic.Genres.index'), 'model' => 'genres'])
@endcomponent
@endsection

View File

@@ -0,0 +1,30 @@
@extends('layout.index', [
'title' => __('products.title'),
'subtitle' => __('products.title'),
'breadcrumb' => [__('products.title')]
])
@section('content')
<div class="row">
<div class="col-md-offset-2 col-md-8">
<div class="box box-info">
<div class="box-body">
<div class="col-md-6">
<h3>{{ name }}</h3>
<h4>
{{ $product.section.name }}<br>
</h4>
</div>
<div class="col-md-12">
@include('components.carousel')
</div>
</div>
</div>
</div>
</div>
@endsection

View File

@@ -0,0 +1,13 @@
@extends('layout.index', [
'title' => __('Botanic.species.title'),
'subtitle' => __('Botanic.species.add'),
'breadcrumb' => [__('Botanic.species.title'), __('Botanic.species.add')]
])
@section('content')
{{ Form::open(['route' => 'Admin.Botanic.Species.store', 'id' => 'form', 'autocomplete' => 'off', 'files' => true]) }}
@include('Admin.Botanic.Species.form')
</form>
@endsection

View File

@@ -0,0 +1,14 @@
@extends('layout.index', [
'title' => __('Botanic.species.title'),
'subtitle' => __('Botanic.species.edit'),
'breadcrumb' => [__('Botanic.species.title'), __('Botanic.species.list')]
])
@section('content')
{{ Form::open(['route' => 'Admin.Botanic.Species.store', 'id' => 'form', 'autocomplete' => 'off', 'files' => true]) }}
<input type="hidden" name="id" value="{{ $specie['id'] }}">
@include('Admin.Botanic.Species.form')
</form>
@endsection

View File

@@ -0,0 +1,56 @@
@include('boilerplate::load.fileinput')
@include('boilerplate::load.select2')
@include('boilerplate::load.tinymce')
<div class="row mb-3">
<div class="col-md-8">
<div class="row mb-3">
<div class="col-6">
{{ Form::label('name', 'Nom') }}
@include('components.input', ['name' => 'name', 'value' => $specie['name'] ?? null, 'required' => true])
</div>
<div class="col-6">
{{ Form::label('latin', 'Nom latin') }}
@include('components.input', ['name' => 'latin', 'value' => $specie['latin'] ?? null, 'required' => false])
</div>
</div>
<div class="row mb-3">
<div class="col-6">
{{ Form::label('genre', 'Genre') }}
@include('components.select', ['name' => 'genre_id', 'list' => $genres, 'value' => $specie['genre_id'] ?? null, 'class' => 'select2', 'with_empty' => '', 'required' => false])
</div>
<div class="col-6">
{{ Form::label('alias', 'Alias') }}
@include('components.input', ['name' => 'alias', 'value' => $specie['alias'] ?? null])
</div>
</div>
<div class="row mb-3">
<div class="col-12">
{{ Form::label('description', 'Description') }}
@include('components.textarea', ['name' => 'description', 'value' => $specie['description'] ?? null, 'class' => 'editor', 'required' => false])
</div>
</div>
</div>
<div class="col-md-4">
{{ Form::label('photo', 'Photos') }}
@include('components.file', ['name' => 'name', 'value' => $specie['name'] ?? null])
</div>
</div>
@include('components.save')
@include('load.form.upload.fileinput')
@include('load.form.select2')
@push('js')
<script>
$(function() {
initSelect2();
initEditor();
});
</script>
@endpush

View File

@@ -0,0 +1,12 @@
@extends('layout.index', [
'title' => __('Botanic.species.title'),
'subtitle' => __('Botanic.species.list'),
'breadcrumb' => [__('Botanic.species.title')]
])
@section('content')
@component('components.card')
@include('components.datatable', ['route' => route('Admin.Botanic.Species.index'), 'model' => 'species'])
@endcomponent
@endsection

View File

@@ -0,0 +1,30 @@
@extends('layout.index', [
'title' => __('products.title'),
'subtitle' => __('products.title'),
'breadcrumb' => [__('products.title')]
])
@section('content')
<div class="row">
<div class="col-md-offset-2 col-md-8">
<div class="box box-info">
<div class="box-body">
<div class="col-md-6">
<h3>{{ name }}</h3>
<h4>
{{ $product.section.name }}<br>
</h4>
</div>
<div class="col-md-12">
@include('components.carousel')
</div>
</div>
</div>
</div>
</div>
@endsection

View File

@@ -0,0 +1,16 @@
@extends('layout.index', [
'title' => __('Botanic.varieties.title'),
'subtitle' => __('Botanic.varieties.add'),
'breadcrumb' => [__('Botanic.varieties.title'), __('Botanic.varieties.add')]
])
@include('boilerplate::load.fileinput')
@section('content')
{{ Form::open(['route' => 'Admin.Botanic.Varieties.store', 'id' => 'form', 'autocomplete' => 'off', 'files' => true]) }}
@include('Admin.Botanic.Varieties.form')
</form>
@endsection

View File

@@ -0,0 +1,14 @@
@extends('layout.index', [
'title' => __('Botanic.varieties.title'),
'subtitle' => __('Botanic.varieties.edit'),
'breadcrumb' => [__('Botanic.varieties.title'), __('Botanic.varieties.edit')]
])
@section('content')
{{ Form::open(['route' => 'Admin.Botanic.Varieties.store', 'id' => 'form', 'autocomplete' => 'off', 'files' => true]) }}
<input type="hidden" name="id" id="id" value="{{ $id }}">
@include('Admin.Botanic.Varieties.form')
</form>
@endsection

View File

@@ -0,0 +1,55 @@
<div class="row">
<div class="col-md-8">
<div class="row">
<div class="col-6">
{{ Form::label('name', 'Nom') }}
@include('components.input', ['name' => 'name', 'value' => $name ?? null, 'required' => true])
</div>
<div class="col-6">
{{ Form::label('genre', 'Espèce') }}
@include('components.select', ['name' => 'specie_id', 'list' => $species, 'value' => $specie_id ?? null, 'class' => 'select2 form-control', 'with_empty' => '', 'required' => false])
</div>
</div>
<div class="row mt-3">
<div class="col-12">
{{ Form::label('tags', 'Tags') }}
@include('components.select-tree', ['name' => 'tags[]', 'list' => $tags_list, 'values' => $tags ?? null, 'class' => 'select2 form-control', 'multiple' => true])
</div>
</div>
<div class="row mt-3">
<div class="col-12">
{{ Form::label('description', 'Description') }}
@include('components.textarea', ['name' => 'description', 'value' => $description ?? null, 'class' => 'editor', 'rows' => 5, 'required' => false])
</div>
</div>
</div>
<div class="col-md-4">
@include('components.uploader.widget', ['load_url' => route('Admin.Botanic.Varieties.getImages', ['id' => $id ?? false]), 'delete_url' => route('Admin.Botanic.Varieties.deleteImage'), 'name' => 'images'])
</div>
</div>
@include('components.save')
@include('load.form.appender')
@include('load.form.editor')
@include('load.form.save')
@include('load.form.select2')
@include('load.layout.chevron')
@include('boilerplate::load.fileinput')
@include('boilerplate::load.tinymce')
@push('js')
<script>
$(function() {
initSelect2();
initChevron();
initEditor();
initSaveForm();
});
</script>
@endpush

View File

@@ -0,0 +1,12 @@
@extends('layout.index', [
'title' => __('Botanic.varieties.title'),
'subtitle' => __('Botanic.varieties.list'),
'breadcrumb' => [__('Botanic.varieties.title')]
])
@section('content')
@component('components.card')
@include('components.datatable', ['route' => route('Admin.Botanic.Varieties.index'), 'model' => 'varieties'])
@endcomponent
@endsection

View File

@@ -0,0 +1,30 @@
@extends('layout.index', [
'title' => __('products.title'),
'subtitle' => __('products.title'),
'breadcrumb' => [__('products.title')]
])
@section('content')
<div class="row">
<div class="col-md-offset-2 col-md-8">
<div class="box box-info">
<div class="box-body">
<div class="col-md-6">
<h3>{{ name }}</h3>
<h4>
{{ $product.section.name }}<br>
</h4>
</div>
<div class="col-md-12">
@include('components.carousel')
</div>
</div>
</div>
</div>
</div>
@endsection