aboutsummaryrefslogtreecommitdiffstats
path: root/templates/registration/base_admin.html
diff options
context:
space:
mode:
authorAndrea Lepori <aleporia@gmail.com>2024-11-12 15:53:42 +0100
committerAndrea Lepori <aleporia@gmail.com>2024-11-12 15:53:42 +0100
commitac2845b70d7e5a5ab0b9af0610910bc8e59a1fda (patch)
tree10fec1166a85538b26942efb2471faef4575cdf9 /templates/registration/base_admin.html
parentadd new materialize v2 (diff)
downloadscout-subs-ac2845b70d7e5a5ab0b9af0610910bc8e59a1fda.tar.gz
scout-subs-ac2845b70d7e5a5ab0b9af0610910bc8e59a1fda.zip
add option to change to new css
Diffstat (limited to 'templates/registration/base_admin.html')
-rw-r--r--templates/registration/base_admin.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/registration/base_admin.html b/templates/registration/base_admin.html
index 9643e35..e7c56df 100644
--- a/templates/registration/base_admin.html
+++ b/templates/registration/base_admin.html
@@ -7,7 +7,7 @@
<head>
{% load static %}
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
- <link rel="stylesheet" type="text/css" href="{% static 'materialize.min.css' %}">
+ <link rel="stylesheet" type="text/css" href="{% static request.session.new_css|materialize_css %}">
<link rel="stylesheet" type="text/css" href="{% static 'tabulator/css/tabulator.min.css' %}">
<style>
input[type=text]:focus + label, .materialize-textarea:focus:not([readonly]) + label {
@@ -178,7 +178,7 @@
{% endblock %}
</main>
<script type="text/javascript" src="{% static 'jquery-3.5.1.min.js' %}"></script>
- <script type="text/javascript" src="{% static 'materialize.min.js' %}"></script>
+ <script type="text/javascript" src="{% static request.session.new_css|materialize_js %}"></script>
<script type="text/javascript" src="{% static 'lazyload.js' %}"></script>
<script type="text/javascript" src="{% static 'tabulator/js/tabulator.min.js' %}"></script>
{% block script_import %}