summaryrefslogtreecommitdiff
path: root/resources/views/layouts/error.phtml
blob: c3e71f75d6f5355063062766c806d99856c8a80e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?php

declare(strict_types=1);

use Fisharebest\Webtrees\I18N;

/**
 * @var string $content
 */

?>
<!DOCTYPE html>
<html dir="<?= I18N::locale()->direction() ?>" lang="<?= I18N::locale()->languageTag() ?>">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <meta name="robots" content="noindex">

        <title><?= I18N::translate('This website is temporarily unavailable') ?></title>

        <link rel="icon" href="favicon.ico" type="image/x-icon">

        <style>
            body {color: gray; background-color: white; font: 14px tahoma, arial, helvetica, sans-serif; padding:10px; }
            a {color: #81A9CB; font-weight: bold; text-decoration: none;}
            a:hover {text-decoration: underline;}
            h1 {color: #81A9CB; font-weight:normal; text-align:center;}
            li {line-height:2;}
            blockquote {color:red;}
            .content { border:1px solid gray; padding:15px; margin: 15px; border-radius:15px;}
            .good {color: green;}
        </style>
    </head>

    <body>
        <h1><?= I18N::translate('This website is temporarily unavailable') ?></h1>

        <?= $content ?>
    </body>
</html>