From e5440329ec2e44fb19251547c1efed6bb8708f81 Mon Sep 17 00:00:00 2001 From: Jennifer Taylor Date: Fri, 20 Aug 2021 18:10:35 +0000 Subject: [PATCH] Change JS load order while attempting to make frontend cold start time better. --- bemani/frontend/templates/base.html | 166 +++++++++++++-------------- bemani/frontend/templates/react.html | 2 +- 2 files changed, 84 insertions(+), 84 deletions(-) diff --git a/bemani/frontend/templates/base.html b/bemani/frontend/templates/base.html index a4968b8..1548d2b 100644 --- a/bemani/frontend/templates/base.html +++ b/bemani/frontend/templates/base.html @@ -11,25 +11,91 @@ - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + {% for entry in components %} - + {% endfor %} + {% block scripts %}{% endblock %} + + + {% if show_navigation %} + + {% endif %} +
+
+ +
+
+ {% block content %}{% endblock %} +
- {% block scripts %}{% endblock %} - - - {% if show_navigation %} - - {% endif %} -
-
- -
-
- {% block content %}{% endblock %} -
diff --git a/bemani/frontend/templates/react.html b/bemani/frontend/templates/react.html index 847e174..dd594f0 100644 --- a/bemani/frontend/templates/react.html +++ b/bemani/frontend/templates/react.html @@ -1,6 +1,6 @@ {% extends "base.html" %} {% block scripts %} - + {% endblock %} {% block content %}