diff --git a/ref-test/app/admin/templates/admin/components/og-meta.html b/ref-test/app/admin/templates/admin/components/og-meta.html index 5c63bca..45453e1 100644 --- a/ref-test/app/admin/templates/admin/components/og-meta.html +++ b/ref-test/app/admin/templates/admin/components/og-meta.html @@ -2,16 +2,17 @@ - + - + - + - \ No newline at end of file + + \ No newline at end of file diff --git a/ref-test/app/quiz/templates/quiz/components/og-meta.html b/ref-test/app/quiz/templates/quiz/components/og-meta.html index 5c63bca..45453e1 100644 --- a/ref-test/app/quiz/templates/quiz/components/og-meta.html +++ b/ref-test/app/quiz/templates/quiz/components/og-meta.html @@ -2,16 +2,17 @@ - + - + - + - \ No newline at end of file + + \ No newline at end of file diff --git a/ref-test/app/templates/404.html b/ref-test/app/templates/404.html index 77cf2ac..483d1b0 100644 --- a/ref-test/app/templates/404.html +++ b/ref-test/app/templates/404.html @@ -1,8 +1,82 @@ -{% extends "components/base.html" %} + + + + + + + + + + {% block style %} + {% endblock %} + {% block title %} SKA Referee Test Beta {% endblock %} + + -{% block content %} -

Page Not Found

-

- The page you were looking for does not exist. Try going back and navigating to the desired destination correctly. -

-{% endblock %} \ No newline at end of file + {% block navbar %} + {% include "components/navbar.html" %} + {% endblock %} + +
+ {% block top_alerts %} + {% include "components/server-alerts.html" %} + {% endblock %} + {% block content %} +

Page Not Found

+

+ The page you were looking for does not exist. Try going back and navigating to the desired destination correctly. +

+ {% endblock %} + +
+ + + + + + + + + + {% block script %} + {% endblock %} + + \ No newline at end of file diff --git a/ref-test/app/templates/components/og-meta.html b/ref-test/app/templates/components/og-meta.html index 5c63bca..ec7858a 100644 --- a/ref-test/app/templates/components/og-meta.html +++ b/ref-test/app/templates/components/og-meta.html @@ -2,16 +2,17 @@ - + - + - + - \ No newline at end of file + + \ No newline at end of file diff --git a/ref-test/main.py b/ref-test/main.py index b0ffffe..aa270a9 100644 --- a/ref-test/main.py +++ b/ref-test/main.py @@ -41,14 +41,11 @@ def create_app(): flash(f'Cookie Consent: This web site only stores minimal, functional cookies. It does not store any tracking information. By using this site, you consent to this use of cookies. For more information, see our privacy policy.', 'cookie_alert') @app.errorhandler(404) - def _404_handler(error): - return render_template('404.html') + def _404_handler(error): return render_template('404.html') @app.errorhandler(CSRFError) - def _csrf_handler(): - return jsonify({'error':'Could not validate a secure connection.'}), 403 + def _csrf_handler(): return jsonify({'error':'Could not validate a secure connection.'}), 403 @app.context_processor - def _now(): - return {'now': datetime.now()} + def _now(): return {'now': datetime.now()} from app.admin.views import admin from app.api.views import api