xref: /webtrees/resources/views/layouts/error.phtml (revision 81b514b4672980e5db010e9d89b55eaf131e798f)
1<?php
2
3declare(strict_types=1);
4
5use Fisharebest\Webtrees\I18N;
6
7/**
8 * @var string $content
9 */
10
11?>
12<!DOCTYPE html>
13<html dir="<?= I18N::locale()->direction() ?>" lang="<?= I18N::locale()->languageTag() ?>">
14    <head>
15        <meta charset="UTF-8">
16        <meta name="viewport" content="width=device-width, initial-scale=1">
17        <meta name="robots" content="noindex">
18
19        <title><?= I18N::translate('This website is temporarily unavailable') ?></title>
20
21        <link rel="icon" href="favicon.ico" type="image/x-icon">
22
23        <style>
24            body {color: gray; background-color: white; font: 14px tahoma, arial, helvetica, sans-serif; padding:10px; }
25            a {color: #81A9CB; font-weight: bold; text-decoration: none;}
26            a:hover {text-decoration: underline;}
27            h1 {color: #81A9CB; font-weight:normal; text-align:center;}
28            li {line-height:2;}
29            blockquote {color:red;}
30            .content { border:1px solid gray; padding:15px; margin: 15px; border-radius:15px;}
31            .good {color: green;}
32        </style>
33    </head>
34
35    <body>
36        <h1><?= I18N::translate('This website is temporarily unavailable') ?></h1>
37
38        <?= $content ?>
39    </body>
40</html>
41