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