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:
parent
4f50fa52c3
commit
8e36d3dcba
18 changed files with 59 additions and 408 deletions
|
@ -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>
|
||||
|
|
|
@ -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: {{ $entry->name }}<br>
|
||||
IP: {{ $entry->ip_address }}<br>
|
||||
Date: {{ 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>
|
||||
|
|
|
@ -2,13 +2,13 @@
|
|||
@section('title', 'Guestbook')
|
||||
@section('content')
|
||||
<br>
|
||||
<table class="gb_entryform_container">
|
||||
<table class="gb-entryform_container">
|
||||
<tr>
|
||||
<td>
|
||||
<form method="POST" action="/guestbook">
|
||||
@csrf
|
||||
<x-honeypot />
|
||||
<table class="gb_entryform">
|
||||
<table class="gb-entryform">
|
||||
<tr>
|
||||
<td>
|
||||
<label for="name"><strong>Name:</strong></label>
|
||||
|
@ -62,7 +62,7 @@
|
|||
@endphp
|
||||
<h1>Entries <small>({{ count($entries) }} total)</small></h1>
|
||||
@foreach ($entries as $entry)
|
||||
<table class="gb_entry">
|
||||
<table class="gb-entry">
|
||||
<tr>
|
||||
<td>
|
||||
Submitted by <strong>{{ $entry->name }}</strong>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue