mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-15 01:05:42 +00:00
Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/opaque into development
This commit is contained in:
commit
2aa86fdd04
@ -160,7 +160,7 @@
|
|||||||
<script>
|
<script>
|
||||||
document.addEventListener("DOMContentLoaded", function() {
|
document.addEventListener("DOMContentLoaded", function() {
|
||||||
{% if current_user.is_authenticated and current_user.is_dark %}
|
{% if current_user.is_authenticated and current_user.is_dark %}
|
||||||
DarkReader.enable({"brightness": 100, "contrast": 100, "sepia": 0});
|
DarkReader.enable({"brightness": 150, "contrast": 100, "sepia": 0});
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% for flashed_message in get_flashed_messages() %}
|
{% for flashed_message in get_flashed_messages() %}
|
||||||
nopaque.toast("{{ flashed_message }}");
|
nopaque.toast("{{ flashed_message }}");
|
||||||
|
Loading…
Reference in New Issue
Block a user