diff --git a/atst/routes/__init__.py b/atst/routes/__init__.py index 100815f7..32995091 100644 --- a/atst/routes/__init__.py +++ b/atst/routes/__init__.py @@ -12,7 +12,9 @@ bp = Blueprint("atst", __name__) @bp.route("/") def root(): - return render_template("root.html") + return render_template("login.html") + + @bp.route("/help") def helpdocs(): return render_template("help/index.html") diff --git a/templates/base_public.html b/templates/base_public.html new file mode 100644 index 00000000..5ff93a4a --- /dev/null +++ b/templates/base_public.html @@ -0,0 +1,67 @@ +{% from "components/icon.html" import Icon %} + + + + + + + + {% block title %}JEDI Cloud{% endblock %} + {% assets "css" %} + + {% endassets %} + + + + +
+ +
+ +
+ + {% block content %}{% endblock %} + + + +
+ + + + + diff --git a/templates/root.html b/templates/login.html similarity index 57% rename from templates/root.html rename to templates/login.html index 3470362d..5f6fb468 100644 --- a/templates/root.html +++ b/templates/login.html @@ -1,20 +1,10 @@ {% from "components/alert.html" import Alert %} - - - - - - - {% block title %}JEDI Cloud{% endblock %} - {% assets "css" %} - - {% endassets %} - - - +{% extends "base_public.html" %} -
+{% block title %}Sign in | JEDI Cloud{% endblock %} + +{% block content %}
- - -
- - - +{% endblock %}