/
offline.html
41 lines (37 loc) · 1.65 KB
/
offline.html
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
{% set nginx = pillar.get('nginx', {}) %}
{% set email = nginx.get('contact-email') %}
{% set url = 'mailto:' + email if email else nginx.get('contact-url', 'https://www.jcu.edu.au/helpdesk') %}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<base href="/_errors/" />
<title>{{ nginx.get('service-name', 'JCU eResearch Services')}}</title>
<link href="https://cdn.jcu.edu.au/cookbook/3.2.1/css/cookbook.min.css" rel="stylesheet" integrity="sha512-SQ33i2+PObnQuWZ2njxy+zKTRYFbatGrv51phXNFxkKE2tKW5zZeF6aYmIDWKx19qYk6LlQ7uf5eSc8JA2QexA==" crossorigin="anonymous">
<link href="https://cdn.jcu.edu.au/cookbook/3.2.1/css/fonts.min.css" rel="stylesheet" integrity="sha512-Zs0rFYewwr7t9jnNGZHTOvfgs1rq+KsnKPCgElX7AsJlawkJmfvuKlQHv8TBN++3NAvSRnEumRdFseu10KjpNQ==" crossorigin="anonymous">
</head>
<body class="jcu-content pt-2">
<header class="container mb-2">
<img src="logo.svg">
</header>
<section class="container">
<div class="alert alert-dark my-4">
<h1 class="display-3">
Oops, sorry about that.
</h1>
<p class="lead mb-0">
{{ nginx.get('service-name', 'This service') }} is unable to respond to your action.
</p>
</div>
</section>
<section class="container">
<p>
This may be due to your action being complex and timing out, a bug, error or system issue, or too many people accessing the service at the same time.
If you were performing an action, check your system to confirm if what you were attempted has completed when the system is available again.
</p>
<p>
If you have any questions, get in touch with us at <a href="{{ url }}">{{ email or url }}</a> and quote your URL.
</p>
</section>
</body>
</html>