summaryrefslogtreecommitdiff
path: root/resources/html/error.html
blob: ed0706d9d5b79847c6de87eb65cf2ea98bc6392d (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
<!DOCTYPE html>
<html>
<head>
    <title>Something Bad Happened</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    {% style """/assets/bulma/css/bulma.min.css" %}
    <style type="text/css">
        html {
            height: 100%;
            min-height: 100%;
            min-width: 100%;
            overflow: hidden;
            width: 100%;
        }
        html body {
            height: 100%;
            margin: 0;
            padding: 0;
            width: 100%;
        }
        html .container-fluid {
            display: table;
            height: 100%;
            padding: 0;
            width: 100%;
        }
        html .row-fluid {
            display: table-cell;
            height: 100%;
            vertical-align: middle;
        }
    </style>
</head>
<body>
<div class="container is-fluid">
    <div class="has-text-centered">
        <h1><span class="is-size-4 has-text-danger">Error: {{status}}</span></h1>
        <hr>
        {% if title %}
        <h2 class="without-margin">{{title}}</h2>
        {% endif %}
        {% if message %}
        <h4 class="text-danger">{{message}}</h4>
        {% endif %}
    </div>
</div>
</body>
</html>