django CMS Admin Style is a Django Theme tailored to the needs of django CMS.
Clone or download
FinalAngel Node dependency update (#404)
* adapted test framework

* got 1.11 to work

* added Django 2.x tests

* use copy instead

* adapt Dockerfile and tests

* restored changelog entry

* use latest versions
Latest commit 0f91a3f Dec 13, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.tx adapt transifex settings Jun 20, 2016
djangocms_admin_style Fixed misalignment of static fields and their labels in forms (#401) Dec 5, 2018
preview moved preview images Nov 22, 2016
tests Adding Django 2.x and removed Django <=1.10 support (#403) Dec 13, 2018
.csscomb.json run csscomb Aug 17, 2015
.dockerignore dockerized setup Jun 8, 2016
.editorconfig dockerized setup Jun 8, 2016
.eslintrc.js dockerized setup Jun 8, 2016
.gitignore moved test requirements folder to tests Nov 22, 2016
.travis.yml Adding Django 2.x and removed Django <=1.10 support (#403) Dec 13, 2018
AUTHORS.rst initial commit Oct 29, 2012
CHANGELOG.rst Adding Django 2.x and removed Django <=1.10 support (#403) Dec 13, 2018
Dockerfile Adding Django 2.x and removed Django <=1.10 support (#403) Dec 13, 2018
Dockerfile.django111 Adding Django 2.x and removed Django <=1.10 support (#403) Dec 13, 2018
Dockerfile.django20 Adding Django 2.x and removed Django <=1.10 support (#403) Dec 13, 2018
Dockerfile.django21 Adding Django 2.x and removed Django <=1.10 support (#403) Dec 13, 2018
LICENSE Update LICENSE May 26, 2014
MANIFEST.in Remove .* files from dist Dec 3, 2018
Makefile Adding Django 2.x and removed Django <=1.10 support (#403) Dec 13, 2018
README.rst Adding Django 2.x and removed Django <=1.10 support (#403) Dec 13, 2018
gulpfile.js Adding Django 2.x and removed Django <=1.10 support (#403) Dec 13, 2018
package-lock.json Node dependency update (#404) Dec 13, 2018
package.json Node dependency update (#404) Dec 13, 2018
setup.cfg make sure we create univeral wheels Mar 14, 2015
setup.py Adding Django 2.x and removed Django <=1.10 support (#403) Dec 13, 2018
webpack.config.js notification message Aug 26, 2016

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/preview/dashboard.png https://raw.githubusercontent.com/divio/djangocms-admin-style/master/preview/listview.png
https://raw.githubusercontent.com/divio/djangocms-admin-style/master/preview/datepicker.png https://raw.githubusercontent.com/divio/djangocms-admin-style/master/preview/shortcuts.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.

Settings

  • CMS_ENABLE_UPDATE_CHECK = True Set to False to disable the update notification.
  • CMS_UPDATE_CHECK_TYPE = ('minor') Set to ('patch') to get only patch notifications. (minor = 3.x.x, patch = 3.4.x)

The update checker does not gather or record any data.

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 test111 or make test20 commands for Django 1.11 or Django 2.0. The integration tests are written using Casperjs, phantomcss and djangocms-casper-helpers.