diff --git a/multiplay-flask.py b/multiplay-flask.py index b246d94..af15b5f 100644 --- a/multiplay-flask.py +++ b/multiplay-flask.py @@ -12,7 +12,13 @@ channel_p = [] - +@app.errorhandler(404) +def page_not_found(e): + data = { + 'ui_page': "404", + "ui_title": "404" + } + return render_template('404.html', data=data), 404 @app.route("/") diff --git a/templates/404.html b/templates/404.html new file mode 100644 index 0000000..7f454da --- /dev/null +++ b/templates/404.html @@ -0,0 +1,9 @@ +{% extends 'base.html' %} +{% block content %} +
+{% endblock %} \ No newline at end of file diff --git a/ui-static/css/sb-admin-2.css b/ui-static/css/sb-admin-2.css index 22360d6..fd7d0b0 100644 --- a/ui-static/css/sb-admin-2.css +++ b/ui-static/css/sb-admin-2.css @@ -10915,7 +10915,7 @@ form.user .btn-user { font-size: 7rem; position: relative; line-height: 1; - width: 12.5rem; + width: 13rem; } @-webkit-keyframes noise-anim {