Adds pretty CSS styles for the django CMS admin interface.
CSS JavaScript HTML Python Makefile
Latest commit c194435 Aug 26, 2016 @vxsx vxsx committed on GitHub Merge pull request #369 from divio/feature/cleanup-javascript
Introduce webpack for js bundling

README.rst

django CMS Admin Style

Adds pretty CSS styles for the django CMS admin interface.

https://raw.githubusercontent.com/divio/djangocms-admin-style/master/djangocms_admin_style/static/preview_images/admin-style-1.png https://raw.githubusercontent.com/divio/djangocms-admin-style/master/djangocms_admin_style/static/preview_images/admin-style-2.png
https://raw.githubusercontent.com/divio/djangocms-admin-style/master/djangocms_admin_style/static/preview_images/admin-style-3.png https://raw.githubusercontent.com/divio/djangocms-admin-style/master/djangocms_admin_style/static/preview_images/admin-style-4.png

Installation

  • add 'djangocms_admin_style' to your INSTALLED_APPS just before 'django.contrib.admin'

Customization

The django CMS Admin Style overrides django admin's base_site.html, but you can still partially customize this page. Look at the source of templates/admin/base_site.html and override the templates that are included in various blocks. For example, you can add your own CSS in templates/admin/inc/extrastyle.html.

Compiling CSS

  • Command line
gulp
  • for compiling the sass file, you need to npm install

Integration tests

In order to run integration tests you need to have Docker installed. They can be run using make test18 and make test19 commands for Django 1.8 and Django 1.9. The integration tests are written using Casperjs, phantomcss and djangocms-casper-helpers.