From a4e01da27c08e43a67b2618ad1e71c1f8f86d5cd Mon Sep 17 00:00:00 2001 From: Biswakalyan Bhuyan Date: Thu, 19 Sep 2024 15:33:11 +0530 Subject: youtube fronend --- youtube/templates/error.html | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 youtube/templates/error.html (limited to 'youtube/templates/error.html') diff --git a/youtube/templates/error.html b/youtube/templates/error.html new file mode 100644 index 0000000..97f8ca9 --- /dev/null +++ b/youtube/templates/error.html @@ -0,0 +1,36 @@ +{% if error_code %} + {% set page_title = 'Error: ' ~ error_code %} +{% else %} + {% set page_title = 'Error' %} +{% endif %} + +{% if not slim %} + {% extends "base.html" %} +{% endif %} + +{% if traceback %} + {% block style %} + + {% endblock style %} +{% endif %} + +{% block main %} + {% if traceback %} +
+

500 Uncaught exception:

+
{{ traceback }}
+

Please report this issue at https://todo.sr.ht/~heckyel/yt-local

+

Remember to include the traceback in your issue and redact any information in it you do not want to share

+
+ {% else %} +
+
+
+
+ {{ error_message }} +
+
+
+
+ {% endif %} +{% endblock %} -- cgit v1.2.3-59-g8ed1b