Commit 3c6db5fb2015992f90f020644c542c75f713303d

Authored by Gustavo
1 parent 33ef0089

Including contrast verification

Showing 1 changed file with 8 additions and 3 deletions   Show diff stats
amadeus/templates/base.html
@@ -63,10 +63,15 @@ @@ -63,10 +63,15 @@
63 <!-- Summernote --> 63 <!-- Summernote -->
64 <script src="{% static 'summernote/summernote.js' %}" type="text/javascript"></script> 64 <script src="{% static 'summernote/summernote.js' %}" type="text/javascript"></script>
65 <link href="{% static 'summernote/summernote.css' %}" type="text/css" rel="stylesheet" /> 65 <link href="{% static 'summernote/summernote.css' %}" type="text/css" rel="stylesheet" />
  66 + {% if contrast_cookie %}
  67 + <link rel="stylesheet" type="text/css" href="{% static 'css/themes/contrast.css' %}">
  68 + {% else %}
  69 + {% with 'css/themes/'|add:theme.css_style|add:'.css' as theme_selected %}
  70 + <link rel="stylesheet" type="text/css" href="{% static theme_selected %}">
  71 + {% endwith %}
  72 + {% endif %}
  73 +
66 74
67 - {% with 'css/themes/'|add:theme.css_style|add:'.css' as theme_selected %}  
68 - <link rel="stylesheet" type="text/css" href="{% static theme_selected %}">  
69 - {% endwith %}  
70 75
71 76
72 </head> 77 </head>