From 44f9d0a560f6113803f57714b96545ec64ff9913 Mon Sep 17 00:00:00 2001
From: Patrick Jentsch
Date: Thu, 9 Dec 2021 15:39:45 +0100
Subject: [PATCH] Further codestyle improvements
---
app/templates/_scripts.html.j2 | 80 ++++++++++++--------
app/templates/base.html.j2 | 6 ++
app/templates/corpora/analyse_corpus.html.j2 | 7 +-
3 files changed, 60 insertions(+), 33 deletions(-)
diff --git a/app/templates/_scripts.html.j2 b/app/templates/_scripts.html.j2
index 83e4122b..5743801f 100644
--- a/app/templates/_scripts.html.j2
+++ b/app/templates/_scripts.html.j2
@@ -1,44 +1,64 @@
-
-{% assets filters='rjsmin', output="js/RessourceDisplays.min.bundle.js",
- "js/RessourceDisplays/RessourceDisplay.js",
- "js/RessourceDisplays/CorpusDisplay.js",
- "js/RessourceDisplays/JobDisplay.js" %}
+{%- assets
+ filters='rjsmin',
+ output='js/RessourceDisplays.min.bundle.js',
+ 'js/RessourceDisplays/RessourceDisplay.js',
+ 'js/RessourceDisplays/CorpusDisplay.js',
+ 'js/RessourceDisplays/JobDisplay.js'
+%}
-{% endassets %}
-{% assets filters='rjsmin', output="js/RessourceLists.min.bundle.js",
- "js/RessourceLists/RessourceList.js",
- "js/RessourceLists/CorpusList.js",
- "js/RessourceLists/CorpusFileList.js",
- "js/RessourceLists/JobList.js",
- "js/RessourceLists/JobInputList.js",
- "js/RessourceLists/JobResultList.js",
- "js/RessourceLists/QueryResultList.js",
- "js/RessourceLists/UserList.js" %}
+{%- endassets %}
+{%- assets
+ filters='rjsmin',
+ output='js/RessourceLists.min.bundle.js',
+ 'js/RessourceLists/RessourceList.js',
+ 'js/RessourceLists/CorpusList.js',
+ 'js/RessourceLists/CorpusFileList.js',
+ 'js/RessourceLists/JobList.js',
+ 'js/RessourceLists/JobInputList.js',
+ 'js/RessourceLists/JobResultList.js',
+ 'js/RessourceLists/QueryResultList.js',
+ 'js/RessourceLists/UserList.js'
+%}
-{% endassets %}
+{%- endassets %}
diff --git a/app/templates/base.html.j2 b/app/templates/base.html.j2
index dbecd35e..af8bc2d3 100644
--- a/app/templates/base.html.j2
+++ b/app/templates/base.html.j2
@@ -5,6 +5,12 @@
{% block head %}
{{ super() }}
+{% if current_user.setting_dark_mode %}
+
+
+{% endif %}
{% endblock head %}
{% block metas %}
diff --git a/app/templates/corpora/analyse_corpus.html.j2 b/app/templates/corpora/analyse_corpus.html.j2
index ee5ac6fb..11389faf 100644
--- a/app/templates/corpora/analyse_corpus.html.j2
+++ b/app/templates/corpora/analyse_corpus.html.j2
@@ -65,9 +65,10 @@
{% endassets %}
{% endblock scripts %}