kreuzberg-theme/content/list.blade.php

104 lines
1.9 KiB
PHP
Raw Normal View History

@extends('template.'.config('settings.template').'.content.master')
2020-09-24 10:04:46 +00:00
@section('content')
2021-05-10 07:09:33 +00:00
<!--
2020-09-24 10:04:46 +00:00
<div class="container">
<div class="col-12">
<br><br>
2020-09-29 10:25:41 +00:00
<h1>Aktuelles</h1>
2020-09-24 10:04:46 +00:00
<p class="intro">
2021-02-09 14:52:04 +00:00
@if (isset($listModel))
{{ $listModel->description }}
2020-09-24 10:04:46 +00:00
@else
2021-05-10 05:50:09 +00:00
{{ config('settings.description')}}
2020-09-24 10:04:46 +00:00
@endif
<br>
</p>
</div>
2021-02-09 15:23:15 +00:00
@foreach($nachrichten as $nach)
2021-02-09 15:31:26 +00:00
<div class="col-12 col-md-4">
2021-02-09 15:23:15 +00:00
2021-02-09 15:31:26 +00:00
<div class="card h-100 shadow-lg" id="news-{{$nach->id}}">
@if ($nach->image)
<img src="{{ asset('uploads/' . $nach->image) }}" class="card-img-top">
@endif
2021-02-09 15:23:15 +00:00
<div class="card-body">
2021-02-09 15:31:26 +00:00
<h5 class="card-title">{{$nach->title}}</h5>
<h6 class="card-subtitle mb-2">
<i style="font-weight: normal " class="text-dark"">{{date('d.m.Y H:i', strtotime($nach->created_at))}}</i>
2021-02-09 15:23:15 +00:00
2021-02-09 15:31:26 +00:00
</h6>
2021-02-09 15:23:15 +00:00
2021-02-09 15:31:26 +00:00
<p class="card-text">
{!! $nach->nachrichten !!}
</p>
2021-02-09 15:23:15 +00:00
</div>
2021-02-09 15:31:26 +00:00
2021-02-09 15:23:15 +00:00
</div>
2021-02-09 15:31:26 +00:00
</div>
2021-02-09 15:23:15 +00:00
@endforeach
2020-09-24 10:04:46 +00:00
</div>
@stop
@section('scripts')
<script src="https://cdnjs.cloudflare.com/ajax/libs/jscroll/2.4.1/jquery.jscroll.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-cookie/1.4.1/jquery.cookie.min.js"></script>
<script src="{{ asset('template/js/fslightbox.js') }}"></script>
@stop