aboutsummaryrefslogtreecommitdiff
path: root/resources/views/pages/admin/guestbook-del-confirm.blade.php
diff options
context:
space:
mode:
authorFrankie B <git@diskfloppy.me>2023-07-16 21:02:51 +0100
committerGitHub <noreply@github.com>2023-07-16 21:02:51 +0100
commit7c16dc53b55aa50d6c9ac0bdea2f51fbbf2b20b0 (patch)
treed81c7682b4696d4182ab375d64fa69c4ff755647 /resources/views/pages/admin/guestbook-del-confirm.blade.php
parent691d0d933d9c2d9289fa01c7153371e45998ac53 (diff)
feat: site admin (#8)
Diffstat (limited to 'resources/views/pages/admin/guestbook-del-confirm.blade.php')
-rw-r--r--resources/views/pages/admin/guestbook-del-confirm.blade.php33
1 files changed, 33 insertions, 0 deletions
diff --git a/resources/views/pages/admin/guestbook-del-confirm.blade.php b/resources/views/pages/admin/guestbook-del-confirm.blade.php
new file mode 100644
index 0000000..99d2a4c
--- /dev/null
+++ b/resources/views/pages/admin/guestbook-del-confirm.blade.php
@@ -0,0 +1,33 @@
+@extends('layouts.minimal')
+@section('title', 'Delete confirm')
+@section('content')
+ <h1>Delete Confirmation</h1>
+ <hr/>
+ <p>Are you sure you want to delete this entry?</p>
+
+ <h3>Entry Details:</h3>
+ <table class="gb_entry_details">
+ <tr>
+ <td><b>ID:</b></td>
+ <td>{{ $entry->id }}</td>
+ </tr>
+ <tr>
+ <td><b>Name:</b></td>
+ <td>{{ $entry->name }}</td>
+ </tr>
+ <tr>
+ <td><b>Date:</b></td>
+ <td>{{ gmdate("H:i:s - Y-m-d", $entry->timestamp) }}</td>
+ </tr>
+ <tr>
+ <td><b>Message:</b></td>
+ <td>{{ $entry->message }}</td>
+ </tr>
+ </table>
+
+ <form action="/admin/guestbook/delete" method="POST">
+ @csrf
+ <input type="hidden" name="id" value="{{ $entry->id }}">
+ <button type="submit">Confirm Delete</button>
+ </form>
+@stop