Add door name to pages

This commit is contained in:
2025-05-15 03:08:47 +01:00
parent 2ef6b6fcd0
commit 71c8d62c73
3 changed files with 6 additions and 0 deletions

1
app.py
View File

@@ -63,6 +63,7 @@ def sector(sector):
@app.route('/') @app.route('/')
def index(): def index():
return render_template("door.html", return render_template("door.html",
title="Office Front Door",
allowed_ids={ 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", [(3, "I am a very important CEO so open this door now!.........i......")]],
"44 61 76 65": ["Welcome CEO<br/></br>flag{yep_big_boss}", []], # CEO "44 61 76 65": ["Welcome CEO<br/></br>flag{yep_big_boss}", []], # CEO

View File

@@ -63,6 +63,7 @@ def sector(sector):
@app.route('/') @app.route('/')
def index(): def index():
return render_template("door.html", return render_template("door.html",
title="CEO's Office Door",
allowed_ids={ allowed_ids={
"44 61 76 65": ["Welcome CEO<br/></br>flag{open_them_all}", [(3, "I am a very important CEO so open this door now!.........i......")]], # CEO "44 61 76 65": ["Welcome CEO<br/></br>flag{open_them_all}", [(3, "I am a very important CEO so open this door now!.........i......")]], # CEO
}) })

View File

@@ -13,6 +13,8 @@
margin: 0; margin: 0;
padding: 0; padding: 0;
display: flex; display: flex;
flex-direction: column;
row-gap: 24px;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
height: 100vh; height: 100vh;
@@ -52,6 +54,8 @@
</head> </head>
<body> <body>
<h1>{{title}}</h1>
<div id="lockContainer"> <div id="lockContainer">
<div id="lockIcon">&#128274;</div> <div id="lockIcon">&#128274;</div>
<div id="idCardStatus"> <div id="idCardStatus">