3
0
Fork 0
This repository has been archived on 2024-11-14. You can view files and clone it, but cannot push or open issues or pull requests.
ThemeParkPlus-Panel/resources/views/home.blade.php
2021-06-27 21:01:43 +02:00

22 lines
847 B
PHP

@extends('layouts.main')
@section('content')
<div class="container-fluid" style="margin-top: 75px">
<div class="col-lg-6 col-lg-offset-3 col-md-8 col-md-offset-2">
@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">
{!! $message->content !!}
</div>
</div>
</div>
@endif
</div>
</div>
@endsection