08 2024
This commit is contained in:
parent
c1c613a4b9
commit
881fc84207
384 changed files with 50679 additions and 990 deletions
|
|
@ -53,12 +53,12 @@
|
|||
</div>
|
||||
<div class="form-group col-sm-2 col-6">
|
||||
<select class="selectpicker" data-style="btn-default" name="info_availables[local][{{$wday}}][from]" data-live-search="true">
|
||||
{!! \App\Services\HTMLHelper::getTimeInSteps($available->from) !!}
|
||||
{!! \App\Helper\HTMLHelper::getTimeInSteps($available->from) !!}
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group col-sm-2 col-6">
|
||||
<select class="selectpicker" data-style="btn-default" name="info_availables[local][{{$wday}}][to]" data-live-search="true">
|
||||
{!! \App\Services\HTMLHelper::getTimeInSteps($available->to) !!}
|
||||
{!! \App\Helper\HTMLHelper::getTimeInSteps($available->to) !!}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -79,7 +79,7 @@
|
|||
<div class="col-sm-2 col-6">
|
||||
{{ Form::text('special_availables['.$special_local->id.'][date]', $special_local->date, array('placeholder'=>__('Datum'), 'class'=>'form-control datepicker-base')) }}
|
||||
</div>
|
||||
<div class="col-sm-2 col-6 py-2"><strong>{!! \App\Services\HTMLHelper::getDeDay($special_local->wday) !!}</strong></div>
|
||||
<div class="col-sm-2 col-6 py-2"><strong>{!! \App\Helper\HTMLHelper::getDeDay($special_local->wday) !!}</strong></div>
|
||||
|
||||
<div class="col-sm-2 col-12 py-2">
|
||||
<label class="switcher">
|
||||
|
|
@ -94,12 +94,12 @@
|
|||
</div>
|
||||
<div class="form-group col-sm-2 col-6">
|
||||
<select class="selectpicker" data-style="btn-default" name="special_availables[{{$special_local->id}}][from]" data-live-search="true">
|
||||
{!! \App\Services\HTMLHelper::getTimeInSteps($special_local->from) !!}
|
||||
{!! \App\Helper\HTMLHelper::getTimeInSteps($special_local->from) !!}
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group col-sm-2 col-6">
|
||||
<select class="selectpicker" data-style="btn-default" name="special_availables[{{$special_local->id}}][to]" data-live-search="true">
|
||||
{!! \App\Services\HTMLHelper::getTimeInSteps($special_local->to) !!}
|
||||
{!! \App\Helper\HTMLHelper::getTimeInSteps($special_local->to) !!}
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-sm-1 col-2 p-1">
|
||||
|
|
@ -134,12 +134,12 @@
|
|||
</div>
|
||||
<div class="form-group col-sm-2 col-6">
|
||||
<select class="selectpicker" data-style="btn-default" name="info_availables[phone][{{$wday}}][from]" data-live-search="true">
|
||||
{!! \App\Services\HTMLHelper::getTimeInSteps($available->from) !!}
|
||||
{!! \App\Helper\HTMLHelper::getTimeInSteps($available->from) !!}
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group col-sm-2 col-6">
|
||||
<select class="selectpicker" data-style="btn-default" name="info_availables[phone][{{$wday}}][to]" data-live-search="true">
|
||||
{!! \App\Services\HTMLHelper::getTimeInSteps($available->to) !!}
|
||||
{!! \App\Helper\HTMLHelper::getTimeInSteps($available->to) !!}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -160,7 +160,7 @@
|
|||
<div class="col-sm-2 col-6">
|
||||
{{ Form::text('special_availables['.$special_phone->id.'][date]', $special_phone->date, array('placeholder'=>__('Datum'), 'class'=>'form-control datepicker-base')) }}
|
||||
</div>
|
||||
<div class="col-sm-2 col-6 py-2"><strong>{!! \App\Services\HTMLHelper::getDeDay($special_phone->wday) !!}</strong></div>
|
||||
<div class="col-sm-2 col-6 py-2"><strong>{!! \App\Helper\HTMLHelper::getDeDay($special_phone->wday) !!}</strong></div>
|
||||
|
||||
<div class="col-sm-2 col-12 py-2">
|
||||
<label class="switcher">
|
||||
|
|
@ -175,12 +175,12 @@
|
|||
</div>
|
||||
<div class="form-group col-sm-2 col-6">
|
||||
<select class="selectpicker" data-style="btn-default" name="special_availables[{{$special_phone->id}}][from]" data-live-search="true">
|
||||
{!! \App\Services\HTMLHelper::getTimeInSteps($special_phone->from) !!}
|
||||
{!! \App\Helper\HTMLHelper::getTimeInSteps($special_phone->from) !!}
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group col-sm-2 col-6">
|
||||
<select class="selectpicker" data-style="btn-default" name="special_availables[{{$special_phone->id}}][to]" data-live-search="true">
|
||||
{!! \App\Services\HTMLHelper::getTimeInSteps($special_phone->to) !!}
|
||||
{!! \App\Helper\HTMLHelper::getTimeInSteps($special_phone->to) !!}
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-sm-1 col-2 p-1">
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@
|
|||
</label>
|
||||
@if($feedback->lvl != 1)
|
||||
<label for="feedback_parent" class="form-label">{{__('Parent')}}*</label>
|
||||
<select class="selectpicker" data-style="btn-default" name="feedback_parent" required>
|
||||
<select class="custom-select" data-style="btn-default" name="feedback_parent" required>
|
||||
{!! HTMLHelper::getParentBy($feedback->parent, $feedback->getParentsArray()) !!}
|
||||
</select>
|
||||
@else
|
||||
|
|
@ -56,8 +56,8 @@
|
|||
|
||||
<div class="form-row">
|
||||
<div class="form-group col-sm-12">
|
||||
<label class="form-label" for="feedback_slug">{{ __('Text') }}*</label>
|
||||
{{ Form::textarea('content', HTMLHelper::filterHTML($feedback->content, ['src' => ['addHost']]) , ['class' => 'form-control summernote']) }}
|
||||
<label class="form-label" for="feedback_content_new">{{ __('Text') }}*</label>
|
||||
{{ Form::textarea('content_new', HTMLHelper::filterHTML($feedback->content_new, ['src' => ['addHost']]) , ['class' => 'form-control summernote', 'id'=>'feedback_content_new']) }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
@ -76,6 +76,34 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<h4 class="mb-0 bg-light p-1">Hauptbild</h4>
|
||||
<hr class="mt-0">
|
||||
<div class="media mx-auto pb-3" id="lfm-data-fill">
|
||||
<img src="{{$feedback->getImage('thumb_url')}}" alt="" class="img_thumb_url d-block ui-w-100">
|
||||
<div class="media-body mt-2 ml-2">
|
||||
<div class="form-row">
|
||||
<div class="form-group col-10 col-sm-11" >
|
||||
{{ Form::hidden('image[slug]', $feedback->getImage('slug')) }}
|
||||
{{ Form::hidden('image[thumb_url]', $feedback->getImage('thumb_url')) }}
|
||||
{{ Form::hidden('image[url]', $feedback->getImage('url')) }}
|
||||
{{ Form::text('image[title]', $feedback->getImage('title'), array('placeholder'=>'Bildtitel', 'class'=>'form-control mb-2')) }}
|
||||
{{ Form::text('image[alt]', $feedback->getImage('alt'), array('placeholder'=>'Bild ALT Tag', 'class'=>'form-control')) }}
|
||||
</div>
|
||||
<div class="form-group col-2 col-sm-1">
|
||||
<button type="button" class="btn btn-sm btn-secondary float-right btn-lfm-open-modal"
|
||||
data-id="#lfm-data-fill"
|
||||
data-obj="image"
|
||||
data-set='["url", "slug", "thumb_url"]'
|
||||
data-img='.img_thumb_url'
|
||||
data-title="title"
|
||||
data-alt="alt">
|
||||
<i class="fa fa-image"></i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
@ -187,4 +215,12 @@
|
|||
--}}
|
||||
|
||||
|
||||
@endsection
|
||||
|
||||
@section('scripts')
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
IqLFileManager.init();
|
||||
});
|
||||
</script>
|
||||
@endsection
|
||||
91
resources/views/cms/travel_guide/test.blade.php
Normal file
91
resources/views/cms/travel_guide/test.blade.php
Normal file
|
|
@ -0,0 +1,91 @@
|
|||
@extends('layouts.layout-2')
|
||||
|
||||
@section('content')
|
||||
<style>
|
||||
.alert ul {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
</style>
|
||||
@if ($errors->any())
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<div class="alert alert-danger">
|
||||
<ul>
|
||||
@foreach ($errors->all() as $error)
|
||||
<li>{{ $error }}</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
|
||||
{!! Form::open(['url' => route('cms_travel_guide_test'), 'class' => 'form-horizontal']) !!}
|
||||
|
||||
<h4 class="font-weight-bold py-3 mb-1">
|
||||
Reiseführer TEST Editor
|
||||
|
||||
</h4>
|
||||
<div class="clearfix"></div>
|
||||
|
||||
<input type="hidden" name="id" id="id" value="">
|
||||
|
||||
<div class="card mb-2">
|
||||
<div class="card-body">
|
||||
<div class="form-row">
|
||||
<div class="form-group col-sm-12">
|
||||
<label class="form-label" for="content_new">summernote</label>
|
||||
<br clear="all">
|
||||
{{ Form::textarea('content_new', '' , ['class' => 'form-control summernote']) }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card mb-2">
|
||||
<div class="card-body">
|
||||
<div class="form-row">
|
||||
<div class="form-group col-sm-12">
|
||||
<label class="form-label" for="content_new">summernote small</label>
|
||||
<br clear="all">
|
||||
{{ Form::textarea('content_new', '' , ['class' => 'form-control summernote-small']) }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card mb-2">
|
||||
<div class="card-body">
|
||||
<div class="form-row">
|
||||
<div class="form-group col-sm-12">
|
||||
<label class="form-label" for="content_new">summernote exsmall</label>
|
||||
<br clear="all">
|
||||
{{ Form::textarea('content_new', '' , ['class' => 'form-control summernote-exsmall']) }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card mb-2">
|
||||
<div class="card-body">
|
||||
<div class="form-row">
|
||||
<div class="form-group col-sm-12">
|
||||
<label class="form-label" for="content_new">summernote air</label>
|
||||
<br clear="all">
|
||||
{{ Form::textarea('content_new', '' , ['class' => 'form-control summernote-air']) }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{!! Form::close() !!}
|
||||
@endsection
|
||||
|
||||
@section('scripts')
|
||||
|
||||
@endsection
|
||||
|
|
@ -79,7 +79,7 @@
|
|||
data-route="{{ route('iq_content_modal_load') }}"><span class="fa fa-edit"></span></a>
|
||||
</div>
|
||||
<div class="dd" id="netstable-content-tree" data-id="{{$model->id}}">
|
||||
{!! \App\Services\HTMLTreeHelper::makeNestableList($model, ($tree_node ? $tree_node->id : false)) !!}
|
||||
{!! \App\Helper\TreeHTML::makeNestableList($model, ($tree_node ? $tree_node->id : false)) !!}
|
||||
</div>
|
||||
</div>
|
||||
{!! Form::close() !!}
|
||||
|
|
@ -106,25 +106,25 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="">
|
||||
{{-- <div class="nav-responsive-md">
|
||||
<ul class="nav nav-pills nav-fill">
|
||||
<li class="nav-item">
|
||||
<a href="{{route('iq_content_tree_detail', [$model->id, $tree_node->id])}}" class="nav-link @if(!$section) active1 @endif">{{$tree_node->name}}
|
||||
</a>
|
||||
</li>
|
||||
@if($tree_node->iq_content_sites)
|
||||
@foreach($tree_node->iq_content_sites as $iq_content_site)
|
||||
<li class="nav-item">
|
||||
<a href="{{route('iq_content_tree_detail', [$model->id, $tree_node->id,$iq_content_site->id])}}" class="nav-link @if($iq_content_site && $iq_content_site->id == $section) active @endif">{{ $iq_content_site->id }}
|
||||
|
||||
</a>
|
||||
</li>
|
||||
@endforeach
|
||||
@endif
|
||||
</ul>
|
||||
</div>
|
||||
--}}
|
||||
|
||||
{{--
|
||||
<div class="nav-responsive-md">
|
||||
<ul class="nav nav-pills nav-fill">
|
||||
<li class="nav-item">
|
||||
<a href="{{route('iq_content_tree_detail', [$model->id, $tree_node->id])}}" class="nav-link @if(!$section) active1 @endif">{{$tree_node->name}}
|
||||
</a>
|
||||
</li>
|
||||
@if($tree_node->iq_content_sites)
|
||||
@foreach($tree_node->iq_content_sites as $iq_content_site)
|
||||
<li class="nav-item">
|
||||
<a href="{{route('iq_content_tree_detail', [$model->id, $tree_node->id,$iq_content_site->id])}}" class="nav-link @if($iq_content_site && $iq_content_site->id == $section) active @endif">
|
||||
{{ $iq_content_site->id }}
|
||||
</a>
|
||||
</li>
|
||||
@endforeach
|
||||
@endif
|
||||
</ul>
|
||||
</div>
|
||||
--}}
|
||||
@if(!$site_fields)
|
||||
<div class="">
|
||||
<input type="hidden" name="id" value="{{$tree_node->id}}">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue