Commit e5430f61 authored by Athina Bekakou's avatar Athina Bekakou Committed by Giorgos Korfiatis

admin-ui: Adjust the url of the css files

parent 8e9d665e
......@@ -4,8 +4,8 @@
http_path = "/"
sass_dir = "sass"
images_dir = "images"
javascripts_dir = "javascripts"
css_dir = "css"
# javascripts_dir = "js"
# You can select your preferred output style here (can be overridden via the command line):
# output_style = :nested
......
......@@ -5,14 +5,13 @@
<meta charset="utf-8">
<link rel="shortcut icon" href="{{ BRANDING_FAVICON_URL }}" />
<title>{{BRANDING_SERVICE_NAME}} admin</title>
<link href="{{ ADMIN_MEDIA_URL }}{% min_prefix %}css/icon-fonts.css" rel="stylesheet">
<!-- There is no minified version of jquery.dataTables.css in DataTables 1.10.0 -->
<link href="{{ ADMIN_MEDIA_URL }}css/icon-fonts.css" rel="stylesheet">
<link href="{{ ADMIN_MEDIA_URL }}css/jquery.dataTables.css" rel="stylesheet">
{% if request.COOKIES.theme == 'dark' %}
<link href="{{ ADMIN_MEDIA_URL }}{% min_prefix %}css/main.css" rel="stylesheet">
<link href="{{ ADMIN_MEDIA_URL }}css/main.css" rel="stylesheet">
{% else %}
<link href="{{ ADMIN_MEDIA_URL }}{% min_prefix %}css/main-light.css" rel="stylesheet">
<link href="{{ ADMIN_MEDIA_URL }}css/main-light.css" rel="stylesheet">
{% endif %}
<!--
<link href="{{ ADMIN_MEDIA_URL }}css/ie7.css" rel="stylesheet"> -->
......
......@@ -476,16 +476,6 @@ def show_more_exception_message(assoc):
return ""
@register.simple_tag
def min_prefix():
"""
Return minified files folder for production environment
"""
if settings.DEBUG == False:
return 'min-'
else:
return ''
@register.simple_tag
def flatten_dict_to_dl(d, default_if_empty='-'):
"""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment