Skip to main content

Adds pretty CSS styles for the django CMS admin interface.

Project description

pypi django djangocms djangocms4

This is a simple alternative for the django CMS Admin Style. While django CMS admin style reoganizes Django’s admin to uffer a unified user experience, this package has a much simpler objective:

  • Adjust colors to be consistent with django CMS.

  • Minimally adapt the css (e.g., add button borders) to keep the user interface consistent.

  • Exept this, Do not interfere with Django’s admin styling

Hence, it does only mildly adapt Django’s admin style but changes fonts, colors, and some form rendering to better fit into the django CMS look and feel.

Documentation

See REQUIREMENTS in the setup.py file for additional dependencies:

Installation

For a manual install:

  • run pip install djangocms-simple-admin-style

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

Configuration

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.

To compile CSS run the following commands using node 16:

  • nvm use

  • npm install

  • gulp

For further options have a look at the gulpfile.js.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

djangocms-simple-admin-style-0.2.0.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file djangocms-simple-admin-style-0.2.0.tar.gz.

File metadata

File hashes

Hashes for djangocms-simple-admin-style-0.2.0.tar.gz
Algorithm Hash digest
SHA256 cd8823cbd19c198d09e47ed8a12b4fbf9c3278793225e59995492f6c1b0ce8eb
MD5 d2a9bc760d5da7e84cac4aef2a7aece1
BLAKE2b-256 7697be29914af312767f1a598440418483404c5f4795d9ef22d11a6e9b45959c

See more details on using hashes here.

File details

Details for the file djangocms_simple_admin_style-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for djangocms_simple_admin_style-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cc21fbd5cba7c19313b6ab0520253535a6738283aea456031a9ba58fa9bd0c0d
MD5 fc8b2a8d296aabc873cbfbad4149a64f
BLAKE2b-256 25b1e14c841c99c9cb07768c9c4a89f56307b6ed47a1cb5597c67ff0f68be3ff

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page