From a70a5f99ef7854b89a849d7d053e9632584afba2 Mon Sep 17 00:00:00 2001 From: Christian Boettcher <c.boettcher@fz-juelich.de> Date: Thu, 10 Jun 2021 11:58:39 +0200 Subject: [PATCH] shared js before specific js, s.t. function calls work --- frontend/templates/base.html.jinja | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/frontend/templates/base.html.jinja b/frontend/templates/base.html.jinja index 782e500..02fb35c 100644 --- a/frontend/templates/base.html.jinja +++ b/frontend/templates/base.html.jinja @@ -13,6 +13,7 @@ background: #aaa; } </style> + {% block extraheader %}{% endblock %} </head> <body> <!--BIG TITLE WITH LOGO--> @@ -51,10 +52,11 @@ <p>Information about server admin and impressum</p> </div> + <!--SHARED JAVASCRIPT--> + <script src="js/auth.js"></script> + <script src="js/apicalls.js"></script> + <!--EXTRA JAVASCRIPT--> {% block scripts %} {% endblock %} - - <!--SHARED JAVASCRIPT--> - <script src="js/auth.js"></script> </body> \ No newline at end of file -- GitLab