xref: /webtrees/resources/views/layouts/offline.phtml (revision 00b1984e374faddab4698e73088f0c964e529b65)
1<?php
2
3use Fisharebest\Webtrees\I18N;
4use Fisharebest\Webtrees\Webtrees;
5
6?>
7
8<!DOCTYPE html>
9<html dir="<?= I18N::locale()->direction() ?>" lang="<?= I18N::locale()->languageTag() ?>">
10    <head>
11        <meta charset="UTF-8">
12        <meta name="viewport" content="width=device-width, initial-scale=1">
13
14        <title><?= e(Webtrees::NAME) ?></title>
15
16        <link rel="icon" href="favicon.ico" type="image/x-icon">
17        <style type="text/css">
18            body {
19                color: gray;
20                background-color: white;
21                font: 14px tahoma, arial, helvetica, sans-serif;
22                padding: 10px;
23            }
24
25            a {
26                color: #81A9CB;
27                font-weight: bold;
28                text-decoration: none;
29            }
30
31            a:hover {
32                text-decoration: underline;
33            }
34
35            h1 {
36                color: #81A9CB;
37                font-weight: normal;
38                text-align: center;
39            }
40
41            li {
42                line-height: 2;
43            }
44
45            blockquote {
46                color: red;
47            }
48
49            .content { /*margin:auto; width:800px;*/
50                border: 1px solid gray;
51                padding: 15px;
52                border-radius: 15px;
53            }
54
55            .good {
56                color: green;
57            }
58        </style>
59    </head>
60
61    <body class="container">
62        <h1><?= I18N::translate('This website is temporarily unavailable') ?></h1>
63        <div class="content">
64            <p>
65                <?= str_replace('index.php', e($url), I18N::translate('This website is down for maintenance. You should <a href="index.php">try again</a> in a few minutes.')) ?>
66            </p>
67            <p>
68                <?= $message ?>
69            </p>
70        </div>
71    </body>
72</html>
73