Commit 95efd20b by Clinton Blackburn

Using Django Compressor for Publisher CSS files

parent c03a55a2
......@@ -6,10 +6,11 @@
{% block css %}
{{ block.super }}
{% compress css %}
<link rel="stylesheet" href="{% static 'bower_components/font-awesome/css/font-awesome.css' %}" type="text/x-scss">
<link rel="stylesheet" href="{% static 'bower_components/pikaday/css/pikaday.css' %}" type="text/x-scss">
<link rel="stylesheet" href="{% static 'bower_components/datatables/media/css/jquery.dataTables.css' %}"
type="text/x-scss">
<link rel="stylesheet" href="{% static 'bower_components/datatables/media/css/jquery.dataTables.css' %}" type="text/x-scss">
{% endcompress %}
{% endblock %}
{% block content %}
......@@ -34,7 +35,6 @@
</ul>
</nav>
{% if request.path == dashboard_url %}
<main class="layout-col layout-col-b border-left layout-col-container-dashboard">
......
{% extends 'publisher/base.html' %}
{% load compress %}
{% load i18n %}
{% load static %}
......@@ -8,8 +9,10 @@
{% endblock title %}
{% block css %}
<link rel="stylesheet" href="{% static 'bower_components/tinymce/skins/lightgray/content.min.css' %}" type="text/x-scss">
<link rel="stylesheet" href="{% static 'bower_components/tinymce/skins/lightgray/skin.min.css' %}" type="text/x-scss">
{% compress css %}
<link rel="stylesheet" href="{% static 'bower_components/tinymce/skins/lightgray/content.min.css' %}" type="text/x-scss">
<link rel="stylesheet" href="{% static 'bower_components/tinymce/skins/lightgray/skin.min.css' %}" type="text/x-scss">
{% endcompress %}
{{ block.super }}
{% endblock %}
......
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