Merge fixes into v5.5 branch (#12)

---------
Co-authored-by: codacy-production[bot] <61871480+codacy-production[bot]@users.noreply.github.com>
This commit is contained in:
Frankie B 2023-07-29 18:03:13 +01:00 committed by Frankie B
commit 8e36d3dcba
18 changed files with 59 additions and 408 deletions

View file

@ -6,7 +6,7 @@
<p>Are you sure you want to delete this entry?</p>
<h3>Entry Details:</h3>
<table class="gb_entry_details">
<table class="gb-entry_details">
<tr>
<td><b>ID:</b></td>
<td>{{ $entry->id }}</td>

View file

@ -10,19 +10,19 @@
@endphp
<h1>Entries <small>({{ count($entries) }} total)</small></h1>
@foreach ($entries as $entry)
<table class="gb_admin">
<table class="gb-admin">
<tr>
<td>
Name:&nbsp;{{ $entry->name }}<br>
IP:&nbsp;&nbsp;&nbsp;{{ $entry->ip_address }}<br>
Date:&nbsp;{{ gmdate("H:i:s - Y-m-d", $entry->timestamp) }}
</td>
<td class="gb_del">
<td class="gb-del">
<a href="/admin/guestbook/delete?id={{ $entry->id }}">del</a>
</td>
</tr>
<tr>
<td colspan="2" class="gb_message">
<td colspan="2" class="gb-message">
<br>
{{ htmlspecialchars($entry->message) }}
</td>