summaryrefslogtreecommitdiff
path: root/resources/views/layouts/offline.php
blob: 2e03d4da53a96fdb78c387f237ca9b694d17b81b (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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<?php use Fisharebest\Webtrees\I18N; ?>
<!DOCTYPE html>
<html <?= I18N::htmlAttributes() ?>>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1">

		<title><?= WT_WEBTREES ?></title>

		<link rel="icon" href="favicon.ico" type="image/x-icon">
		<style type="text/css">
			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 { /*margin:auto; width:800px;*/
				border: 1px solid gray;
				padding: 15px;
				border-radius: 15px;
			}

			.good {
				color: green;
			}
		</style>
	</head>

	<body class="container">
		<h1><?= I18N::translate('This website is temporarily unavailable') ?></h1>
		<div class="content">
			<p>
				<?= 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.')) ?>
			</p>
			<p>
				<?= $message ?>
			</p>
		</div>
	</body>
</html>