1
0
mirror of https://github.com/tabler/tabler.git synced 2026-07-17 02:51:41 +04:00
Files
tabler/pages/_layouts/error.html
T
2019-05-08 23:18:03 +02:00

27 lines
901 B
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
layout: base
body-class: border-top-2 border-primary
---
{% assign error = site.data.errors[page.error] %}
<div class="d-flex min-h-full align-items-center justify-content-center">
<div class="text-center p-4">
{% if page.error == 'maintenance' %}
<div class="display-3 text-muted mb-3">{% include ui/icon.html icon="settings" class="icon-thin" %}</div>
<h1 class="h2 mb-3">{{ error }}</h1>
<p class="h4 text-muted font-weight-normal mb-5">Well be back shortly!</p>
{% else %}
<div class="display-3 text-muted mb-3">{{ page.error }}</div>
<h1 class="h2 mb-3 font-weight-bolder">Oops&hellip; You just found an error page 😭</h1>
<p class="h4 text-muted font-weight-normal mb-5">{{ error }}</p>
<a class="btn btn-primary" href="javascript:history.back()">
{% include ui/icon.html icon="arrow-left" class="mr-1" %} Go back
</a>
{% endif %}
</div>
</div>