3
0
Fork 0

Redesign + Fixes

This commit is contained in:
thomas 2021-06-29 22:05:00 +02:00
parent 7718ed6c32
commit 7fe8056e35
67 changed files with 1898 additions and 2799 deletions

View file

@ -12,17 +12,14 @@
<div class="col-lg-12 col-md-8col-xs-12 col-sm-12">
@php($message = \App\Message::orderByDesc('id')->first())
@if(!empty($message))
<div class="panel panel-theme news">
<div class="panel-heading">
@php($time = strtotime($message->created_at))
<h3 class="panel-title">{{ \App\Cache\Cache::getUsername($message->uuid) }}<span style="float: right">{{ date('d-m-Y', $time) }} at {{ date('H:m', $time) }}</span></h3>
</div>
<div class="panel-body">
<div class="container-fluid">
@component('components.panel')
@slot('title')
@php($time = strtotime($message->created_at))
{{ \App\Cache\Cache::getUsername($message->uuid) }}<span style="float: right">{{ date('d-m-Y', $time) }} at {{ date('H:m', $time) }}</span>
@endslot
{!! $message->content !!}
</div>
</div>
</div>
@endcomponent
@endif
</div>