More fixes

This commit is contained in:
Frankie B 2023-07-29 17:25:04 +01:00
commit d781702215
No known key found for this signature in database
5 changed files with 37 additions and 51 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>