Use template folders
This commit is contained in:
parent
2f158f50de
commit
982cdafea3
4
first.py
4
first.py
@ -115,7 +115,7 @@ def get_compose_inputs(path):
|
||||
def home():
|
||||
"""Home page."""
|
||||
apps = [app_name for app_name in get_apps_json()]
|
||||
return render_template("index.html", apps=apps)
|
||||
return render_template("first/index.html", apps=apps)
|
||||
|
||||
|
||||
@app.route("/apps")
|
||||
@ -139,7 +139,7 @@ def install_app(app_name):
|
||||
|
||||
form = InstallAppInputForm()
|
||||
|
||||
return render_template("install.html", app_name=app_name, form=form)
|
||||
return render_template("first/install.html", app_name=app_name, form=form)
|
||||
|
||||
|
||||
@app.route("/deploy/<app_name>")
|
||||
|
Reference in New Issue
Block a user