diff options
author | floppydiskette <floppydisk@hyprcat.net> | 2024-09-13 12:58:12 +0100 |
---|---|---|
committer | floppydiskette <floppydisk@hyprcat.net> | 2024-09-13 12:59:16 +0100 |
commit | 2c3400fb4f5a22951d42f286975201bf817d7883 (patch) | |
tree | a08b06f5f6d5df4f6774da7645d85418609a4cf2 /resources/views/guestbook.blade.php | |
parent | d8915dcca4d9752f6f254e86afa39ef7f83617d1 (diff) |
wronglucky
Diffstat (limited to 'resources/views/guestbook.blade.php')
-rw-r--r-- | resources/views/guestbook.blade.php | 75 |
1 files changed, 0 insertions, 75 deletions
diff --git a/resources/views/guestbook.blade.php b/resources/views/guestbook.blade.php deleted file mode 100644 index f9f04ca..0000000 --- a/resources/views/guestbook.blade.php +++ /dev/null @@ -1,75 +0,0 @@ -<x-layout> - <x-slot:title>Guestbook</x-slot:title> - <table class="gb-entry-form-container" role="presentation"> - <tr> - <td> - <form method="POST" action="/guestbook"> - @csrf - <x-honeypot/> - <table class="form" role="presentation"> - <tr> - <td> - <label for="name"><strong>Name:</strong></label> - </td> - <td> - <input name="name" type="text" id="name"> - </td> - <td> - <span class="text-danger">{{ $errors->first('name') }}</span> - </td> - </tr> - <tr> - <td> - <label for="message"><strong>Message:</strong></label> - </td> - <td> - <textarea name="message" id="message" rows="3"></textarea> - </td> - <td> - <span class="text-danger">{{ $errors->first('message') }}</span> - </td> - </tr> - <tr> - <td></td> - <td> - <button type="submit">Submit</button> - </td> - </tr> - </table> - </form> - </td> - <td> - <p><i>A few things to note:</i></p> - <ul> - <li>You can submit an entry <u>once every hour</u>.</li> - <li>Your IP address is logged but <u>not</u> publicly displayed.</li> - <li>Any entries that appear to be spam <u>will</u> be removed.</li> - </ul> - </td> - </tr> - </table> - - - <hr> - <h2>Entries <small>({{ count($entries) }} total)</small></h2> - @foreach ($entries as $entry) - @php - $user_agent = $parser->parse($entry->agent); - @endphp - <div class="section"> - 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> - <hr> - <span class="guestbook-message">{{ $entry->message }}</span> - <hr> - @if($entry->agent === "Agent Unavailable") - <address>Agent unavailable</address> - @else - <address>Posted using <strong>{{ $user_agent->ua->toString() }}</strong> - on <strong>{{ $user_agent->os->toString() }}</strong></address> - @endif - </div> - <br> - @endforeach -</x-layout> |