From ad32bbd9456fef4cc25c5e71c412b2da5d62d71c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tobias=20J=C3=BClg?= <tobias.juelg@tum.de>
Date: Wed, 25 May 2022 11:46:02 +0200
Subject: [PATCH] Fixed js

---
 .../templates/management/add_mobile_voter_name.html | 13 ++++++-------
 .../templates/management/add_mobile_voter_qr.html   | 13 ++++++-------
 2 files changed, 12 insertions(+), 14 deletions(-)

diff --git a/management/templates/management/add_mobile_voter_name.html b/management/templates/management/add_mobile_voter_name.html
index a05a8e4..7f66e19 100644
--- a/management/templates/management/add_mobile_voter_name.html
+++ b/management/templates/management/add_mobile_voter_name.html
@@ -24,12 +24,11 @@
 </div>
 {% endblock %}
 {% block footer_scripts %}
-<script src="{% static " js/jquery-3.5.1.min.js" %}"
-  integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0="></script>
-<script src="{% static " js/reload.js" %}"></script>
+  <script src="{% static "js/jquery-3.5.1.min.js" %}"
+          integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0="></script>
+  <script src="{% static "js/reload.js" %}"></script>
 
-<script src="{% static " js/popper-1.16.1.min.js" %}"
-  integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN"></script>
-<script src="{% static " bootstrap-4.5.3-dist/js/bootstrap.min.js" %}"
-  integrity="sha384-w1Q4orYjBQndcko6MimVbzY0tgp4pWB4lZ7lr30WKz0vr/aWKhXdBNmNb5D92v7s"></script>
+  <script src="{% static "bootstrap-4.5.3-dist/js/bootstrap.min.js" %}"
+          integrity="sha384-w1Q4orYjBQndcko6MimVbzY0tgp4pWB4lZ7lr30WKz0vr/aWKhXdBNmNb5D92v7s"></script>
+  <script src="{% static "management/js/session.js" %}"></script>
 {% endblock %}
\ No newline at end of file
diff --git a/management/templates/management/add_mobile_voter_qr.html b/management/templates/management/add_mobile_voter_qr.html
index 8e26167..60114f6 100644
--- a/management/templates/management/add_mobile_voter_qr.html
+++ b/management/templates/management/add_mobile_voter_qr.html
@@ -35,12 +35,11 @@
 {% block footer_scripts %}
 {# If the QR code was scanned and the user logged in successfully the page will automatically #}
 {# change to add_mobile_voter_name again #}
-<script src="{% static " js/jquery-3.5.1.min.js" %}"
-  integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0="></script>
-<script src="{% static " js/reload.js" %}"></script>
+  <script src="{% static "js/jquery-3.5.1.min.js" %}"
+          integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0="></script>
+  <script src="{% static "js/reload.js" %}"></script>
 
-<script src="{% static " js/popper-1.16.1.min.js" %}"
-  integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN"></script>
-<script src="{% static " bootstrap-4.5.3-dist/js/bootstrap.min.js" %}"
-  integrity="sha384-w1Q4orYjBQndcko6MimVbzY0tgp4pWB4lZ7lr30WKz0vr/aWKhXdBNmNb5D92v7s"></script>
+  <script src="{% static "bootstrap-4.5.3-dist/js/bootstrap.min.js" %}"
+          integrity="sha384-w1Q4orYjBQndcko6MimVbzY0tgp4pWB4lZ7lr30WKz0vr/aWKhXdBNmNb5D92v7s"></script>
+  <script src="{% static "management/js/session.js" %}"></script>
 {% endblock %}
\ No newline at end of file
-- 
GitLab