Use template folders

This commit is contained in:
Luke Murphy 2020-07-01 20:13:15 +02:00
parent 2f158f50de
commit 982cdafea3
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
3 changed files with 2 additions and 2 deletions

View File

@ -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>")