From 78281151023508cd1c5ae7a4b01447727764855c Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Fri, 25 Nov 2022 08:29:50 +0100 Subject: [PATCH] Re-add flavor and steps to wizard. --- setup/server.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/setup/server.py b/setup/server.py index eda0a36f..622905ed 100644 --- a/setup/server.py +++ b/setup/server.py @@ -78,7 +78,12 @@ def build_app(path): @prefix_bp.route("/") @root_bp.route("/") def wizard(): - return flask.render_template('wizard.html', subnet6=random_ipv6_subnet()) + return flask.render_template( + 'wizard.html', + flavor="compose", + steps=sorted(os.listdir(os.path.join(path, "templates", "steps", "compose"))), + subnet6=random_ipv6_subnet() + ) @prefix_bp.route("/submit", methods=["POST"]) @root_bp.route("/submit", methods=["POST"])