aboutsummaryrefslogtreecommitdiff
path: root/templates/oops.html
blob: 76d36628651eabb6bcee4ad82092d814f0df7720 (plain) (blame)
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
{# SPDX-License-Identifier: CC-BY-SA-4.0 #}
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title>Oops!</title>
	<link rel="stylesheet" href="/static/style.css" />
</head>
<body>
	<header>
		<h1>Oops!</h1>
	</header>
	<article>
		<p>
		The server encountered an unexpected error while processing your request. The traceback is as follows:
		</p>
		{% if error %}
		<pre id="err">{{error}}</pre>
		{% else %}
		<p style="background-color: red; padding: 0.5rem;">The error template didn't even receive an error report! Something has gone <em>really</em> wrong!</p>
		{% endif %}
		<p>
		Please contact the administrator at <a href="mailto:ykps@runxiyu.org"><code>ykps@runxiyu.org</code></a> with a copy of the above information.
		</p>
		<p>
		If you are a technical user, you may want to view the source code of this website's backend to figure out what's going on, and file a bug report. You may check out the source code from <a href="https://git.runxiyu.org/ykps/ykps-wsgi.git/">upstream</a>, <a href="https://git.sr.ht/~runxiyu/ykps-wsgi">sr.ht</a>, or <a href="https://github.com/runxiyu/ykps-wsgi.git">GitHub</a>. 
		</p>
	</article>
	<!--
	<footer>
	</footer>
	-->
</body>
</html>