kopia lustrzana https://github.com/OpenDroneMap/WebODM
Use inline CSS compression
rodzic
ff0d4b5c4f
commit
f8410c720d
|
@ -51,7 +51,7 @@
|
||||||
|
|
||||||
<title>{{title|default:"Login"}} - {{ SETTINGS.app_name }}</title>
|
<title>{{title|default:"Login"}} - {{ SETTINGS.app_name }}</title>
|
||||||
|
|
||||||
{% compress css %}
|
{% compress css inline %}
|
||||||
<link rel="stylesheet" type="text/x-scss" href="{% static 'app/css/theme.scss' %}" />
|
<link rel="stylesheet" type="text/x-scss" href="{% static 'app/css/theme.scss' %}" />
|
||||||
{% endcompress %}
|
{% endcompress %}
|
||||||
|
|
||||||
|
|
|
@ -334,6 +334,7 @@ JWT_AUTH = {
|
||||||
COMPRESS_PRECOMPILERS = (
|
COMPRESS_PRECOMPILERS = (
|
||||||
('text/x-scss', 'django_libsass.SassCompiler'),
|
('text/x-scss', 'django_libsass.SassCompiler'),
|
||||||
)
|
)
|
||||||
|
COMPRESS_ENABLED = True
|
||||||
|
|
||||||
# Sass
|
# Sass
|
||||||
def theme(color):
|
def theme(color):
|
||||||
|
|
Ładowanie…
Reference in New Issue