From b9163999bb63145865fb597d6faffb858c6cac5d Mon Sep 17 00:00:00 2001 From: eyjhb Date: Sat, 24 Aug 2024 14:44:53 +0200 Subject: [PATCH] gerd.member-website: added debug information --- machines/gerd/services/member-website/app.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/machines/gerd/services/member-website/app.py b/machines/gerd/services/member-website/app.py index a8cdb4d..70f02e7 100755 --- a/machines/gerd/services/member-website/app.py +++ b/machines/gerd/services/member-website/app.py @@ -38,6 +38,19 @@ tmpl_index = """
{% endfor %} + +{% if show_debug %} +
+
+
+Debug information: + +{% endif %} """ @@ -90,6 +103,7 @@ def index(): tmpl_index, services=services_data, user=user_info, + show_debug=bool(request.args.get("debug")), ) return render_template_string( tmpl_firstpass,