From 33c49199c7e85b0f07503855d2f71cd64c0bfc10 Mon Sep 17 00:00:00 2001 From: floppydiskette Date: Thu, 8 Aug 2024 02:00:44 +0100 Subject: Initial redesign commit --- resources/views/guestbook.blade.php | 32 ++++++++++++++------------------ 1 file changed, 14 insertions(+), 18 deletions(-) (limited to 'resources/views/guestbook.blade.php') diff --git a/resources/views/guestbook.blade.php b/resources/views/guestbook.blade.php index bed4211..f9f04ca 100644 --- a/resources/views/guestbook.blade.php +++ b/resources/views/guestbook.blade.php @@ -56,24 +56,20 @@ @php $user_agent = $parser->parse($entry->agent); @endphp - - - - - +
+ Submitted by {{ $entry->name }} + on {{ $entry->created_at->format('Y-m-d') }} + at {{ $entry->created_at->format('h:i:s A (e)') }} +
+ {{ $entry->message }} +
+ @if($entry->agent === "Agent Unavailable") +
Agent unavailable
+ @else +
Posted using {{ $user_agent->ua->toString() }} + on {{ $user_agent->os->toString() }}
+ @endif +

@endforeach -- cgit v1.2.3-54-g00ecf