Giter VIP home page Giter VIP logo

djangocms-admin-style's Introduction

django CMS Admin Style

pypi build coverage

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

The shortcuts you see on top of the dashboard are from django-admin-shortcuts

Contributing

This is a an open-source project. We'll be delighted to receive your feedback in the form of issues and pull requests. Before submitting your pull request, please review our contribution guidelines.

We're grateful to all contributors who have helped create and maintain this package. Contributors are listed at the contributors section.

One of the easiest contributions you can make is helping to translate this addon on Transifex.

Documentation

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

python django djangocms

Installation

For a manual install:

  • run pip install djangocms-admin-style
  • add djangocms_admin_style to your INSTALLED_APPS just before 'django.contrib.admin'
  • run python manage.py migrate djangocms_admin_style

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.

The following additional settings can be set:

  • 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.

To compile CSS run the following commands:

  • npm install
  • gulp

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

Running Tests

In order to run integration tests you need to have Docker installed.

You can run tests by executing:

make test111
make test20

The integration tests are written using Casperjs, phantomcss and djangocms-casper-helpers.

djangocms-admin-style's People

Contributors

alesdotio avatar beniwohli avatar bentappin avatar benzkji avatar brankub avatar chaosk avatar chive avatar christianbertschy avatar chronial avatar czpython avatar digi604 avatar finalangel avatar geoidesic avatar gkmngrgn avatar glasnt avatar goldhand avatar itbabu avatar jalaziz avatar johnraz avatar jqb avatar jrief avatar lory87 avatar mfcovington avatar mkoistinen avatar rafalp avatar ryanbagwell avatar stefanfoulis avatar vthaian avatar vxsx avatar yakky avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.