|
|
@ -78,7 +78,12 @@ def build_app(path):
|
|
|
|
@prefix_bp.route("/")
|
|
|
|
@prefix_bp.route("/")
|
|
|
|
@root_bp.route("/")
|
|
|
|
@root_bp.route("/")
|
|
|
|
def wizard():
|
|
|
|
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"])
|
|
|
|
@prefix_bp.route("/submit", methods=["POST"])
|
|
|
|
@root_bp.route("/submit", methods=["POST"])
|
|
|
|
@root_bp.route("/submit", methods=["POST"])
|
|
|
|