From 71ddc32f496bbe3ef0c494f19f5091830b006b16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Tempel?= Date: Mon, 9 Sep 2024 10:12:24 +0200 Subject: [PATCH] KA CHING! --- Website/__init__.py | 4 ++++ Website/templates/base.html | 1 + Website/templates/list.html | 18 +++++++++++++++++- static/ka-ching.wav | Bin 0 -> 273360 bytes 4 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 static/ka-ching.wav diff --git a/Website/__init__.py b/Website/__init__.py index 307dace..3e5bb3a 100644 --- a/Website/__init__.py +++ b/Website/__init__.py @@ -57,6 +57,10 @@ def create_app(test_config=None): def socketiojs(): return send_file('../static/socket.io.js') + @app.route('/ka-ching.wav') + def kaching(): + return send_file('../static/ka-ching.wav') + @app.route('/new.css') def newcss(): return send_file('../static/new.min.css') diff --git a/Website/templates/base.html b/Website/templates/base.html index 69fdd57..d893f04 100644 --- a/Website/templates/base.html +++ b/Website/templates/base.html @@ -8,6 +8,7 @@ > + {% block customscript %}{% endblock %} diff --git a/Website/templates/list.html b/Website/templates/list.html index 1769c42..922c849 100644 --- a/Website/templates/list.html +++ b/Website/templates/list.html @@ -4,6 +4,21 @@ Strichliste {% endblock %} {% block customscript %}