mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-05-01 06:59:52 +00:00
Merge pull request #3210 from Julesdevops/simple-503-error-file
Massively simplify the 503 error view
This commit is contained in:
commit
2d074caf72
1 changed files with 25 additions and 8 deletions
|
@ -1,12 +1,29 @@
|
||||||
@extends('layouts.simple')
|
<!DOCTYPE html>
|
||||||
|
<html lang="{{ config('app.lang') }}"
|
||||||
|
dir="{{ config('app.rtl') ? 'rtl' : 'ltr' }}">
|
||||||
|
<head>
|
||||||
|
<title>{{ isset($pageTitle) ? $pageTitle . ' | ' : '' }}{{ setting('app-name') }}</title>
|
||||||
|
|
||||||
@section('content')
|
<!-- Meta -->
|
||||||
|
<meta name="viewport" content="width=device-width">
|
||||||
|
<meta charset="utf-8">
|
||||||
|
|
||||||
<div class="container small mt-xl">
|
<!-- Styles and Fonts -->
|
||||||
<div class="card content-wrap auto-height">
|
<link rel="stylesheet" href="{{ versioned_asset('dist/styles.css') }}">
|
||||||
<h1 class="list-heading">{{ trans('errors.app_down', ['appName' => setting('app-name')]) }}</h1>
|
<link rel="stylesheet" media="print" href="{{ versioned_asset('dist/print-styles.css') }}">
|
||||||
<p>{{ trans('errors.back_soon') }}</p>
|
|
||||||
|
<!-- Custom Styles & Head Content -->
|
||||||
|
@include('common.custom-styles')
|
||||||
|
@include('common.custom-head')
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="content" class="block">
|
||||||
|
<div class="container small mt-xl">
|
||||||
|
<div class="card content-wrap auto-height">
|
||||||
|
<h1 class="list-heading">{{ trans('errors.app_down', ['appName' => setting('app-name')]) }}</h1>
|
||||||
|
<p>{{ trans('errors.back_soon') }}</p>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</body>
|
||||||
@stop
|
</html>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue