cat/resources/html/error.html

55 lines
1.3 KiB
HTML
Raw Permalink Normal View History

2019-01-11 23:10:58 +01:00
<!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">
2019-01-14 02:39:40 +01:00
{% style "/assets/bulma/css/bulma.css" %}
2019-01-11 23:10:58 +01:00
<style type="text/css">
html {
height: 100%;
min-height: 100%;
min-width: 100%;
overflow: hidden;
width: 100%;
}
2019-01-14 02:39:40 +01:00
2019-01-11 23:10:58 +01:00
html body {
height: 100%;
margin: 0;
padding: 0;
width: 100%;
}
2019-01-14 02:39:40 +01:00
html .section {
2019-01-11 23:10:58 +01:00
display: table;
height: 100%;
padding: 0;
width: 100%;
}
2019-01-14 02:39:40 +01:00
html .container {
2019-01-11 23:10:58 +01:00
display: table-cell;
height: 100%;
vertical-align: middle;
}
</style>
</head>
<body>
2019-01-14 02:39:40 +01:00
<div class="section">
<div class="container">
<div class="has-text-centered">
<h1 class="title is-3"><span class="has-text-danger">Error: {{status}}</span></h1>
<hr>
{% if title %}
<h2 class="subtitle is-3">{{title}}</h2>
{% endif %}
{% if message %}
<h4 class="subtitle is-5 has-text-danger">{{message}}</h4>
{% endif %}
2019-01-11 23:10:58 +01:00
</div>
</div>
</div>
</body>
</html>