aboutsummaryrefslogtreecommitdiff
path: root/resources/views/errors/minimal.blade.php
diff options
context:
space:
mode:
authorFrankie B <git@diskfloppy.me>2024-01-12 18:57:10 +0000
committerFrankie B <git@diskfloppy.me>2024-01-12 18:57:33 +0000
commit725712aa35a989f1c2f179e210b8fa1c310e39e9 (patch)
tree4ba81858541a5db1e16839dd780af06ec0e5872d /resources/views/errors/minimal.blade.php
parentc622761799635392cc35a46795955c9a0be12fc1 (diff)
Add custom error pages, pixel images, etc (also improve computers)
Diffstat (limited to 'resources/views/errors/minimal.blade.php')
-rw-r--r--resources/views/errors/minimal.blade.php21
1 files changed, 21 insertions, 0 deletions
diff --git a/resources/views/errors/minimal.blade.php b/resources/views/errors/minimal.blade.php
new file mode 100644
index 0000000..e15c833
--- /dev/null
+++ b/resources/views/errors/minimal.blade.php
@@ -0,0 +1,21 @@
+@extends('layouts.minimal')
+@section('content')
+ <h1>Error @yield('code') | <strong>@yield('message')</strong></h1>
+ <hr align="left">
+ <p>Here, have a cat...</p>
+ <img src="https://http.cat/@yield('code')" width="500"><br><br>
+ <p>If you believe this is a server error, contact the <a href="mailto:webmaster@diskfloppy.me">webmaster</a></p>
+ <br>
+ <h4>Diagnostic Info</h4>
+ <table><tr><td>
+ <code>
+ Server: &nbsp;{{ gethostname() }}<br>
+ Your IP: {{ Request::ip() }}<br>
+ Root: &nbsp;&nbsp;&nbsp;{!! url('') !!}<br>
+ Path: &nbsp;&nbsp;&nbsp;/{{ Request::path() }}/<br>
+ Epoch: &nbsp;&nbsp;{{ now()->timestamp }}<br>
+ Agent: &nbsp;&nbsp;Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:122.0) Gecko/20100101 Firefox/122.0 </code>
+ </td></tr></table>
+ <hr align="left">
+ <p>&copy; floppydisk 2021-2024</p>
+@endsection