-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmaintenance.php
More file actions
65 lines (63 loc) · 1.99 KB
/
maintenance.php
File metadata and controls
65 lines (63 loc) · 1.99 KB
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
<?php
$asset_version = '';
if (isset($config['app']['asset_version'])) {
$asset_version = $config['app']['asset_version'];
}
if ($asset_version === '') {
$asset_version = filemtime(__FILE__);
}
$asset_version = htmlspecialchars((string)$asset_version, ENT_QUOTES, 'UTF-8');
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Maintenance Mode</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="style.v1.03.2.css?v=<?php echo $asset_version; ?>" rel="stylesheet">
<style>
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #f8f9fa;
margin: 0;
}
.maintenance-container {
text-align: center;
padding: 30px;
background-color: #fff;
margin-top: 30px;
}
.maintenance-container h1 {
font-size: 2rem;
margin-bottom: 20px;
}
.maintenance-container p {
font-size: 1.2rem;
margin-bottom: 10px;
}
</style>
</head>
<body>
<div class="container">
<div class="header row align-items-center">
<div class="col-sm-4">
<img src="images/NHLBI_Logo_Vector.svg" class="logo" alt="<?php echo $config['app']['app_logo_alt']; ?>">
</div>
<div class="col-sm-4 text-center">
<h1>NHLBI Chat</h1>
</div>
<div class="col-sm-4 text-end">
</div>
</div>
<div class="maintenance-container">
<h1>We'll be back soon!</h1>
<p>Sorry for the inconvenience but we're performing some maintenance at the moment. We'll be back online shortly!</p>
<p>— Office of Scientific Information</p>
</div>
</div>
</body>
</html>