{ "info": { "author": "Marc Widmer, Jonas Ohrstrom", "author_email": "marc@pbi.io, jonas@pbi.io", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3" ], "description": "Django Slick Admin\n===================\n\nA slick & clean look for your Django (>=1.9) admin interface.\n\n*Slick admin* works completely unobtrusive and does everything via CSS. \nWell not *everything* - there are some optional & tiny bits of JavaScript involved as well.\n\n*Slick admin* works with the standard Django admin - and comes with support for:\n\n - [django CMS](https://www.django-cms.org/en/) (>=3.2.0)\n - [django-admin-tools](https://github.com/django-admin-tools/django-admin-tools) [Dashboard](http://django-admin-tools.readthedocs.io/en/latest/dashboard.html)\n\n\nInstalling\n----------\n\nUsing the latest version from PyPI:\n\n pip install django-slick-admin\n\nUsing this GitHub repository:\n\n pip install -e \"git://github.com/palmbeach-interactive/django-slick-admin.git#egg=django-slick-admin\"\n\n\nThen add `django_slick_admin` to `INSTALLED_APPS`, before `django.contrib.admin`.\n\n\n### CMS front end editing\n\nTo have the same color schema in the CMS front end there is a template tag included which loads additional CSS styles\nif 'editing mode' is enabled. To use them load `slick_admin_tags` in your base template and add `slick_admin_cms_style` \nnext to `cms_toolbar`.\n\n {% load cms_tags sekizai_tags slick_admin_tags %}\n ...\n \n {% cms_toolbar %}\n {% slick_admin_cms_style %}\n ...\n\n\nSettings\n--------\n\nTo have a consistent look both for front end editing and administrative interface there are some additional\nstyles available in 'cms mode'. \nThe 'cms mode' is automatically activated when `cms` is present in your `INSTALLED_APPS` - but you can also \noverride this behaviour with\n\n SLICK_ADMIN_CMS_ENABLED = True # False\n \nSame behaviour applies for the *admin-tools Dashboard*. Automatically set to `True` if `admin_tools.dashboard` in `INSTALLED_APPS`.\n\n SLICK_ADMIN_DASHBOARD_ENABLED = True # False\n \n \nStylesheet locations:\n\n SLICK_ADMIN_CSS = # default: STATIC_URL + 'django_slick_admin/css/django-slick-admin.css'\n \n SLICK_ADMIN_CMS_CSS = # default: STATIC_URL + 'django_slick_admin/css/cms-styles.css'\n\n\n\n\nCustomization\n-------------\n\nStart with customizing the included `admin/base_site.html` template.\n\n\n### Stylesheets\n\nThe stylesheets are based on *Sass* and live in the separate [django-slick-admin-styles](https://github.com/palmbeach-interactive/django-slick-admin-styles)\nrepository. \nThe versions/tags for the styles are aligned with the main repository. So if - for example - you are installing `django-slick-admin==0.1.1` \nyou should use the '0.1.1' version for the styles as well.\n\n#### Quick & dirty way to compile stylesheets with adjusted settings\n\nInstall required npm modules:\n \n npm install -D https://github.com/palmbeach-interactive/django-slick-admin-styles\n npm install -D node-sass\n\n \nCreate a sass file - e.g. `custom-admin-styles.sass` to override some defaults and import *django-slick-admin-styles*. \nSee [\\_defaults.sass](https://github.com/palmbeach-interactive/django-slick-admin/blob/master/django_slick_admin/sass/settings/_defaults.sass) for vailable settings.\n\n \n // custom-admin-styles.sass\n @charset \"UTF-8\"\n \n $color-primary: #00ccff\n $color-secondary: #ffcc00\n \n @import settings/base\n @import mixins/base\n @import components/base\n @import admin_tools/base\n\n\nRun sass compiler (adjust output path according to your setup):\n \n ./node_modules/node-sass/bin/node-sass \\\n --include-path ./node_modules/django-slick-admin-styles/sass \\\n custom-admin-styles.sass \\\n ./site-static/django_slick_admin/css/django-slick-admin.css\n\n\n#### Integrate via Gulp tasks\n\n\n // gulpfile.js\n gulp.task('admin-styles', function () {\n return gulp.src([\n './sass/admin/custom.sass'\n ])\n .pipe(sass({\n includePaths: './node_modules/django-slick-admin-styles/sass/',\n outputStyle: 'expanded',\n precision: 10\n }))\n .pipe(autoprefixer({browsers: AUTOPREFIXER_BROWSERS}))\n .pipe(concat('django-slick-admin.css'))\n .pipe(gulp.dest('website/site-static/django_slick_admin/css/'))\n });", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/palmbeach-interactive/django-slick-admin/", "keywords": "", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "django-slick-admin", "package_url": "https://pypi.org/project/django-slick-admin/", "platform": "OS Independent", "project_url": "https://pypi.org/project/django-slick-admin/", "project_urls": { "Homepage": "https://github.com/palmbeach-interactive/django-slick-admin/" }, "release_url": "https://pypi.org/project/django-slick-admin/0.1.4/", "requires_dist": null, "requires_python": "", "summary": "Slick admin styles for Django and django CMS.", "version": "0.1.4" }, "last_serial": 2515179, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "1524c457baa20e5822cb760ba9f1e5db", "sha256": "e1ff6450f6bb993aa6d3fe7505da39cc39224ab0d08ff5fae8b95293135f3b58" }, "downloads": -1, "filename": "django-slick-admin-0.1.0.tar.gz", "has_sig": false, "md5_digest": "1524c457baa20e5822cb760ba9f1e5db", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1629, "upload_time": "2016-06-21T14:06:56", "url": "https://files.pythonhosted.org/packages/d2/53/32b6ead63bf9006c01839586fcfb0a214594527115aff4bd65b3a8765a76/django-slick-admin-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "fe4e4968091a765703f537dea507148e", "sha256": "4bfe873ee7ca9b94703c5ebf27369440da9af65466ea5f7e8fc4faedd793cbed" }, "downloads": -1, "filename": "django-slick-admin-0.1.1.tar.gz", "has_sig": false, "md5_digest": "fe4e4968091a765703f537dea507148e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 515838, "upload_time": "2016-06-21T14:21:25", "url": "https://files.pythonhosted.org/packages/69/75/dc84da2990efa645bc8f267575f1a5085c8fd75f952820b540f0b9ffebf5/django-slick-admin-0.1.1.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "d203f9fd9d5dfd78d73bbe2425575db2", "sha256": "89234bdf0fe57eef93cc005c5e3ceac4573e2e611e6923cf55efb65b8b04b8d7" }, "downloads": -1, "filename": "django-slick-admin-0.1.4.tar.gz", "has_sig": false, "md5_digest": "d203f9fd9d5dfd78d73bbe2425575db2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 714074, "upload_time": "2016-12-12T22:08:51", "url": "https://files.pythonhosted.org/packages/15/a5/a7193663e2fa70d94d0c218cb40abb47fe3fa22083467cd588c1d39109fa/django-slick-admin-0.1.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d203f9fd9d5dfd78d73bbe2425575db2", "sha256": "89234bdf0fe57eef93cc005c5e3ceac4573e2e611e6923cf55efb65b8b04b8d7" }, "downloads": -1, "filename": "django-slick-admin-0.1.4.tar.gz", "has_sig": false, "md5_digest": "d203f9fd9d5dfd78d73bbe2425575db2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 714074, "upload_time": "2016-12-12T22:08:51", "url": "https://files.pythonhosted.org/packages/15/a5/a7193663e2fa70d94d0c218cb40abb47fe3fa22083467cd588c1d39109fa/django-slick-admin-0.1.4.tar.gz" } ] }