Design Refresh

This commit is contained in:
Roscoe 2026-01-23 23:16:08 +00:00
commit e7202174f7
Signed by: RoscoeDaWah
SSH key fingerprint: SHA256:Hqn452XQ1ETzUt/FthJu6+OFkS4NBxCv5VQSEvuk7CE
44 changed files with 593 additions and 228 deletions

View file

@ -103,7 +103,7 @@
@php
$user_agent = $parser->parse($entry->agent);
@endphp
<div class="gb-entry">
<div class="gb-entry{{ $entry->flagged ? " gb-entry-flagged" : "" }}">
Submitted by <strong>{{ $entry->name }}</strong>
on <strong>{{ $entry->created_at->format('Y-m-d') }}</strong>
at <strong>{{ $entry->created_at->format('h:i:s A (e)') }}</strong>
@ -120,6 +120,21 @@
on <strong>{{ $user_agent->os->toString() }}</strong></address>
@endif
@endif
@if(Auth::check())
<hr>
@if($entry->flagged)
<form action="{{ route('guestbook.flag',$entry->id) }}" method="GET">
@csrf
<button type="submit">Remove Flag</button>
</form>
&nbsp;
@endif
<form action="{{ route('guestbook.destroy',$entry->id) }}" method="POST">
@csrf
@method('DELETE')
<button type="submit">Delete</button>
</form>
@endif
</div>
<br>
@endforeach