From 526d5d93f2fc5b950f691c33b2e1098ad6375226 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20V=C3=B6lkl?= Date: Wed, 21 Sep 2022 21:05:00 +0200 Subject: [PATCH] added error 404 and error 505 pages --- content/contents/kabel.blade.php | 87 ++++++++++++++++++++++++++++++++ content/errors/404.blade.php | 76 +++++++++++++--------------- content/errors/500.blade.php | 27 ++++++++++ content/errors/503.blade.php | 27 ++++++++++ 4 files changed, 175 insertions(+), 42 deletions(-) create mode 100644 content/contents/kabel.blade.php create mode 100644 content/errors/500.blade.php create mode 100644 content/errors/503.blade.php diff --git a/content/contents/kabel.blade.php b/content/contents/kabel.blade.php new file mode 100644 index 0000000..128613e --- /dev/null +++ b/content/contents/kabel.blade.php @@ -0,0 +1,87 @@ +@layout("content.master") +@section('head') +{{$content->title}} + + +@stop +@section('content') +
+ @if(session()->has('success')) +
{{session()->get('success')}}
+ @elseif(session()->has('error')) +
{{session()->get('error')}}
+ @endif +
+
+
+ @if(empty($content->image)) + ... + @else + ... + @endif +
+
+
+
+
+

{{$content->title}}

+
+ {{$content->data_fields['preis']}} € + Inkl. MwSt. +
+
+ + @if(2==2) + + Sofort verfügbar! + + @elseif(2==3) + + Nachschub ist unterwegs. Jetzt vorbestellen! + @endif + +
+ + + + + + + + +
+
+ + +
+ +
+ + + + + +
+
+
+
+ + + +@stop +@section('scripts') + +@stop diff --git a/content/errors/404.blade.php b/content/errors/404.blade.php index 29aa489..c85b590 100644 --- a/content/errors/404.blade.php +++ b/content/errors/404.blade.php @@ -2,53 +2,45 @@ @section('content') -
- -
-
-
-
- -
-
-
-

404 Error

-

This site does not exist.

- -
-
-

Either you misspelled the URL or the page got deleted.

-
- Return to the Home Page -
-
-
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
-
+ + +
+ +
+ +

404 Fehler

+

Die angeforderte Seite existiert nicht oder nicht mehr.

+
+
+
+
+ Zurück zur Startseite +
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + +
+
- - - -
- @stop diff --git a/content/errors/500.blade.php b/content/errors/500.blade.php new file mode 100644 index 0000000..f17df92 --- /dev/null +++ b/content/errors/500.blade.php @@ -0,0 +1,27 @@ +@extends('template.'.config('settings.template').'.content.master') +@section('content') +
+
+ +
+ + + + +
+
+ +

Error 500

+

Es ist ein Fehler aufgetreten aber wir kümmern uns darum!

+ +
+
+
+ +
+ + +
+
+ +@stop diff --git a/content/errors/503.blade.php b/content/errors/503.blade.php new file mode 100644 index 0000000..b1e008b --- /dev/null +++ b/content/errors/503.blade.php @@ -0,0 +1,27 @@ +@extends('template.'.config('settings.template').'.content.master') +@section('content') +
+
+ +
+ + + + +
+
+ +

Error 503

+

Es ist ein Fehler aufgetreten aber wir kümmern uns darum!

+ +
+
+
+ +
+ + +
+
+ +@stop