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