From 71c8d62c73e572726dd147f8bd6e76c6b460c29c Mon Sep 17 00:00:00 2001 From: Matthew Grove Date: Thu, 15 May 2025 03:08:47 +0100 Subject: [PATCH] Add door name to pages --- app.py | 1 + app_2.py | 1 + templates/door.html | 4 ++++ 3 files changed, 6 insertions(+) diff --git a/app.py b/app.py index d3762fb..44b9aa8 100644 --- a/app.py +++ b/app.py @@ -63,6 +63,7 @@ def sector(sector): @app.route('/') def index(): return render_template("door.html", + title="Office Front Door", allowed_ids={ # "44 61 76 65": ["Welcome CEO", [(3, "I am a very important CEO so open this door now!.........i......")]], "44 61 76 65": ["Welcome CEO

flag{yep_big_boss}", []], # CEO diff --git a/app_2.py b/app_2.py index 7f05dd6..1e727c0 100644 --- a/app_2.py +++ b/app_2.py @@ -63,6 +63,7 @@ def sector(sector): @app.route('/') def index(): return render_template("door.html", + title="CEO's Office Door", allowed_ids={ "44 61 76 65": ["Welcome CEO

flag{open_them_all}", [(3, "I am a very important CEO so open this door now!.........i......")]], # CEO }) diff --git a/templates/door.html b/templates/door.html index da80660..ed5ef71 100644 --- a/templates/door.html +++ b/templates/door.html @@ -13,6 +13,8 @@ margin: 0; padding: 0; display: flex; + flex-direction: column; + row-gap: 24px; align-items: center; justify-content: center; height: 100vh; @@ -52,6 +54,8 @@ +

{{title}}

+
🔒