diff --git a/ui/entrypoint.py b/ui/entrypoint.py index 4fa6d04..7ee9f14 100644 --- a/ui/entrypoint.py +++ b/ui/entrypoint.py @@ -2,15 +2,15 @@ from flask import Flask, render_template, current_app -import wrappers +import wrappers, utils import os - app = Flask(__name__, static_url_path="/", static_folder="static", template_folder="templates") ABSOLUTE_URI = "" if "ABSOLUTE_URI" in os.environ : ABSOLUTE_URI = os.environ["ABSOLUTE_URI"] app.config["ABSOLUTE_URI"] = ABSOLUTE_URI +app.jinja_env.globals.update(env_to_summary_class=utils.env_to_summary_class) @app.route('/') @app.route('/home') diff --git a/ui/templates/instances.html b/ui/templates/instances.html index 87893ae..800dfd8 100644 --- a/ui/templates/instances.html +++ b/ui/templates/instances.html @@ -20,7 +20,7 @@