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 %}