ckanext-dcor_theme
==================
|PyPI Version| |Build Status| |Coverage Status|
The CKAN theme of DCOR. What this plugin does:
- remove the language selection from footer.html
- remove links from footer.html
- set the title of the page to "DCOR"
- insert a custom about text
- remove social media buttons
- change icons / logo
- use i18n to change the terms "Organization" -> "Circle",
"Group" -> "Collection", etc.::
ckan dcor-theme-i18n-branding
- create a custom theme based on the default main.css file
(hide action buttons (Fullscreen, Embed) in resource view via css,
change colors) using::
ckan dcor-theme-main-css-branding
- patch CKAN templates with minor changes that would be too complicated to
implement with jinja templating::
ckan dcor-patch-ckan-templates
Installation
------------
::
pip install ckanext-dcor_theme
Edit ckan.ini::
ckan.plugins = [...] dcor_theme
and run the dcor-i18n-hack command::
ckan -c /etc/ckan/default/ckan.ini dcor-i18n-hack
Then, edit ckan.ini again::
ckan.locale_default = en_US
Testing
-------
If CKAN/DCOR is installed and setup for testing, this extension can
be tested with pytest:
::
pytest ckanext
Testing is implemented via GitHub Actions. You may also set up a local
docker container with CKAN and MinIO. Take a look at the GitHub Actions
workflow for more information.
.. |PyPI Version| image:: https://img.shields.io/pypi/v/ckanext.dcor_theme.svg
:target: https://pypi.python.org/pypi/ckanext.dcor_theme
.. |Build Status| image:: https://img.shields.io/github/actions/workflow/status/DCOR-dev/ckanext-dcor_theme/check.yml
:target: https://github.com/DCOR-dev/ckanext-dcor_theme/actions?query=workflow%3AChecks
.. |Coverage Status| image:: https://img.shields.io/codecov/c/github/DCOR-dev/ckanext-dcor_theme
:target: https://codecov.io/gh/DCOR-dev/ckanext-dcor_theme
Raw data
{
"_id": null,
"home_page": null,
"name": "ckanext-dcor-theme",
"maintainer": null,
"docs_url": null,
"requires_python": "<4,>=3.8",
"maintainer_email": "Paul M\u00fcller <dev@craban.de>",
"keywords": "DC, DCOR, deformability, cytometry",
"author": "Paul M\u00fcller",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/4d/02/4d7ef837ef055502bcff8da4e2f60591fd89ef54d9141006d863e378bad3/ckanext_dcor_theme-1.1.2.tar.gz",
"platform": null,
"description": "ckanext-dcor_theme\n==================\n\n|PyPI Version| |Build Status| |Coverage Status|\n\nThe CKAN theme of DCOR. What this plugin does:\n\n- remove the language selection from footer.html\n- remove links from footer.html\n- set the title of the page to \"DCOR\"\n- insert a custom about text\n- remove social media buttons\n- change icons / logo\n- use i18n to change the terms \"Organization\" -> \"Circle\",\n \"Group\" -> \"Collection\", etc.::\n\n ckan dcor-theme-i18n-branding\n\n- create a custom theme based on the default main.css file\n (hide action buttons (Fullscreen, Embed) in resource view via css,\n change colors) using::\n\n ckan dcor-theme-main-css-branding\n\n- patch CKAN templates with minor changes that would be too complicated to\n implement with jinja templating::\n\n ckan dcor-patch-ckan-templates\n\n\nInstallation\n------------\n\n::\n\n pip install ckanext-dcor_theme\n\nEdit ckan.ini::\n\n ckan.plugins = [...] dcor_theme\n\nand run the dcor-i18n-hack command::\n\n ckan -c /etc/ckan/default/ckan.ini dcor-i18n-hack\n\nThen, edit ckan.ini again::\n\n ckan.locale_default = en_US\n\n\nTesting\n-------\nIf CKAN/DCOR is installed and setup for testing, this extension can\nbe tested with pytest:\n\n::\n\n pytest ckanext\n\nTesting is implemented via GitHub Actions. You may also set up a local\ndocker container with CKAN and MinIO. Take a look at the GitHub Actions\nworkflow for more information.\n\n\n.. |PyPI Version| image:: https://img.shields.io/pypi/v/ckanext.dcor_theme.svg\n :target: https://pypi.python.org/pypi/ckanext.dcor_theme\n.. |Build Status| image:: https://img.shields.io/github/actions/workflow/status/DCOR-dev/ckanext-dcor_theme/check.yml\n :target: https://github.com/DCOR-dev/ckanext-dcor_theme/actions?query=workflow%3AChecks\n.. |Coverage Status| image:: https://img.shields.io/codecov/c/github/DCOR-dev/ckanext-dcor_theme\n :target: https://codecov.io/gh/DCOR-dev/ckanext-dcor_theme\n",
"bugtrack_url": null,
"license": "GNU Affero General Public License v3 or later (AGPLv3+)",
"summary": "The DCOR CKAN theme",
"version": "1.1.2",
"project_urls": {
"changelog": "https://github.com/DCOR-dev/ckanext-dcor_theme/blob/main/CHANGELOG",
"source": "https://github.com/DCOR-dev/ckanext-dcor_theme",
"tracker": "https://github.com/DCOR-dev/ckanext-dcor_theme/issues"
},
"split_keywords": [
"dc",
" dcor",
" deformability",
" cytometry"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "48ce03329b8db30d5d4e27dd3fecb9cbdddb4140654b25ac20af948e67835d16",
"md5": "a0e7b25288315e36310ce60454f744c8",
"sha256": "c83babd509e7382927fb7ed25c243cf61ac604a045ae27b9d0c9f33c282425f2"
},
"downloads": -1,
"filename": "ckanext_dcor_theme-1.1.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a0e7b25288315e36310ce60454f744c8",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4,>=3.8",
"size": 7675102,
"upload_time": "2025-07-30T19:16:43",
"upload_time_iso_8601": "2025-07-30T19:16:43.351273Z",
"url": "https://files.pythonhosted.org/packages/48/ce/03329b8db30d5d4e27dd3fecb9cbdddb4140654b25ac20af948e67835d16/ckanext_dcor_theme-1.1.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "4d024d7ef837ef055502bcff8da4e2f60591fd89ef54d9141006d863e378bad3",
"md5": "73bf67eca993f640059cc36b18fcf1f2",
"sha256": "33f4391e90d70d92a6d6d5c5e2e1b0569ae6724e4515139d71ffb6a9645a53bc"
},
"downloads": -1,
"filename": "ckanext_dcor_theme-1.1.2.tar.gz",
"has_sig": false,
"md5_digest": "73bf67eca993f640059cc36b18fcf1f2",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4,>=3.8",
"size": 7660190,
"upload_time": "2025-07-30T19:16:45",
"upload_time_iso_8601": "2025-07-30T19:16:45.105135Z",
"url": "https://files.pythonhosted.org/packages/4d/02/4d7ef837ef055502bcff8da4e2f60591fd89ef54d9141006d863e378bad3/ckanext_dcor_theme-1.1.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-07-30 19:16:45",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "DCOR-dev",
"github_project": "ckanext-dcor_theme",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "ckanext-dcor-theme"
}