Startseiten-Reisen im CMS steuerbar machen

This commit is contained in:
Kevin Adametz 2026-05-28 15:06:22 +00:00
parent ba48745809
commit 313f0dbf4e
5 changed files with 446 additions and 22 deletions

View file

@ -9,14 +9,15 @@
<div class="card">
<div class="card-datatable table-responsive py-2">
<div class="mr-4 mb-2 text-right">
<a href="{{ route('cms_sidebar_detail', ['new']) }}" class="btn btn-sm btn-primary">Neues Sidbar Widget anlegen</a>
<a href="{{ route('cms_sidebar_detail', ['new']) }}" class="btn btn-sm btn-primary">Neues Sidebar-Widget anlegen</a>
</div>
<table class="datatables-feedbacks table table-striped table-bordered">
<thead>
<tr>
<th style="max-width: 60px;">&nbsp;</th>
<th>{{__('Name')}}</th>
<th>{{__('Sichbar')}}</th>
<th>{{__('Sichtbar auf')}}</th>
<th>{{__('Komponente')}}</th>
<th>{{__('Pos.')}}</th>
<th>{{__('sichtbar')}}</th>
<th></th>
@ -34,10 +35,11 @@
<a href="{{ route('cms_sidebar_detail', [$value->id]) }}">{{ $value->name }}</a>
</td>
<td>{{ $value->getShowsAtString() }}</td>
<td>{{ $value->getComponentLabel() }}</td>
<td>
{{ $value->pos }}
</td>
<td data-sort="{{ $value->status }}">
<td data-sort="{{ $value->active }}">
@if($value->active)
<span class="badge badge-pill badge-success"><i class="fa fa-check"></i></span>
@else
@ -52,7 +54,7 @@
</tbody>
</table>
<div class="mt-4 col">
<a href="{{ route('cms_sidebar_detail', ['new']) }}" class="btn btn-sm btn-primary">Neues Sidbar Widget anlegen</a>
<a href="{{ route('cms_sidebar_detail', ['new']) }}" class="btn btn-sm btn-primary">Neues Sidebar-Widget anlegen</a>
</div>
</div>
<script>