mirror of
https://github.com/DarkflameUniverse/NexusDashboard.git
synced 2024-11-24 14:37:26 +00:00
template
This commit is contained in:
parent
8aec4a45d2
commit
d3c8c5d77b
18
app/templates/status_codes/500.html.j2
Normal file
18
app/templates/status_codes/500.html.j2
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
{% extends 'base.html.j2' %}
|
||||||
|
|
||||||
|
{% block title %}ERROR{% endblock %}
|
||||||
|
|
||||||
|
{% block content_before %}
|
||||||
|
ERROR - {{ config.APP_NAME }}
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block content %}
|
||||||
|
{% if current_user.gm_level == 9 %}
|
||||||
|
<code>
|
||||||
|
{{ exception }}
|
||||||
|
</code>
|
||||||
|
{% else %}
|
||||||
|
<h2 class="text-center">An Error has Occurred!!!</h2>
|
||||||
|
<div>Please Report this to an Admin</div>
|
||||||
|
{% endif %}
|
||||||
|
{% endblock %}
|
Loading…
Reference in New Issue
Block a user