Skip to content

Commit 2d074ca

Browse files
authored
Merge pull request #3210 from Julesdevops/simple-503-error-file
Massively simplify the 503 error view
2 parents 73eac83 + 99202b3 commit 2d074ca

File tree

1 file changed

+25
-8
lines changed

1 file changed

+25
-8
lines changed
Lines changed: 25 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,29 @@
1-
@extends('layouts.simple')
1+
<!DOCTYPE html>
2+
<html lang="{{ config('app.lang') }}"
3+
dir="{{ config('app.rtl') ? 'rtl' : 'ltr' }}">
4+
<head>
5+
<title>{{ isset($pageTitle) ? $pageTitle . ' | ' : '' }}{{ setting('app-name') }}</title>
26

3-
@section('content')
7+
<!-- Meta -->
8+
<meta name="viewport" content="width=device-width">
9+
<meta charset="utf-8">
410

5-
<div class="container small mt-xl">
6-
<div class="card content-wrap auto-height">
7-
<h1 class="list-heading">{{ trans('errors.app_down', ['appName' => setting('app-name')]) }}</h1>
8-
<p>{{ trans('errors.back_soon') }}</p>
11+
<!-- Styles and Fonts -->
12+
<link rel="stylesheet" href="{{ versioned_asset('dist/styles.css') }}">
13+
<link rel="stylesheet" media="print" href="{{ versioned_asset('dist/print-styles.css') }}">
14+
15+
<!-- Custom Styles & Head Content -->
16+
@include('common.custom-styles')
17+
@include('common.custom-head')
18+
</head>
19+
<body>
20+
<div id="content" class="block">
21+
<div class="container small mt-xl">
22+
<div class="card content-wrap auto-height">
23+
<h1 class="list-heading">{{ trans('errors.app_down', ['appName' => setting('app-name')]) }}</h1>
24+
<p>{{ trans('errors.back_soon') }}</p>
25+
</div>
926
</div>
1027
</div>
11-
12-
@stop
28+
</body>
29+
</html>

0 commit comments

Comments
 (0)