mirror of
https://github.com/Mailu/Mailu.git
synced 2025-01-22 03:39:05 +02:00
Re-add flavor and steps to wizard.
This commit is contained in:
parent
b3f534a6ac
commit
7828115102
@ -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"])
|
||||
|
Loading…
x
Reference in New Issue
Block a user