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
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 can also be done via vagrant in a virtualmachine using the
`dcor-test <https://app.vagrantup.com/paulmueller/boxes/dcor-test/>` image.
Make sure that `vagrant` and `virtualbox` are installed and run the
following commands in the root of this repository:
::
# Setup virtual machine using `Vagrantfile`
vagrant up
# Run the tests
vagrant ssh -- sudo bash /testing/vagrant-run-tests.sh
.. |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": "https://github.com/DCOR-dev/ckanext-dcor_theme",
"name": "ckanext-dcor-theme",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "CKAN, DCOR, RT-DC",
"author": "Paul M\u00fcller",
"author_email": "dev@craban.de",
"download_url": "https://files.pythonhosted.org/packages/12/95/65963e0eaf9ce92ae06442616785de77f2bbcfaf7692d29d0cb1a369054f/ckanext-dcor_theme-0.7.8.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\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 can also be done via vagrant in a virtualmachine using the\n`dcor-test <https://app.vagrantup.com/paulmueller/boxes/dcor-test/>` image.\nMake sure that `vagrant` and `virtualbox` are installed and run the\nfollowing commands in the root of this repository:\n\n::\n\n # Setup virtual machine using `Vagrantfile`\n vagrant up\n # Run the tests\n vagrant ssh -- sudo bash /testing/vagrant-run-tests.sh\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\n\n",
"bugtrack_url": null,
"license": "AGPLv3+",
"summary": "The DCOR CKAN theme",
"version": "0.7.8",
"project_urls": {
"Homepage": "https://github.com/DCOR-dev/ckanext-dcor_theme"
},
"split_keywords": [
"ckan",
" dcor",
" rt-dc"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "748eeb1b3af2face35bffdca1d96ae6ae8041310becaf040f0d54874d9ad1f95",
"md5": "7973fd52e609b9f0acb5f4273ce7cc81",
"sha256": "ae36e4243cd89cc2f3983103143d3ef123a3a67d28f0e870dfdab7696aac8a67"
},
"downloads": -1,
"filename": "ckanext_dcor_theme-0.7.8-py3-none-any.whl",
"has_sig": false,
"md5_digest": "7973fd52e609b9f0acb5f4273ce7cc81",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 7667392,
"upload_time": "2024-04-16T10:40:22",
"upload_time_iso_8601": "2024-04-16T10:40:22.477294Z",
"url": "https://files.pythonhosted.org/packages/74/8e/eb1b3af2face35bffdca1d96ae6ae8041310becaf040f0d54874d9ad1f95/ckanext_dcor_theme-0.7.8-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "129565963e0eaf9ce92ae06442616785de77f2bbcfaf7692d29d0cb1a369054f",
"md5": "ba67f1c4969f8f366e92a829ef3c167d",
"sha256": "c505d5c6bc0fa17dddd72f30098387ea04ec42bd91b5d63e81975f8a171b4768"
},
"downloads": -1,
"filename": "ckanext-dcor_theme-0.7.8.tar.gz",
"has_sig": false,
"md5_digest": "ba67f1c4969f8f366e92a829ef3c167d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 7653553,
"upload_time": "2024-04-16T10:40:24",
"upload_time_iso_8601": "2024-04-16T10:40:24.835650Z",
"url": "https://files.pythonhosted.org/packages/12/95/65963e0eaf9ce92ae06442616785de77f2bbcfaf7692d29d0cb1a369054f/ckanext-dcor_theme-0.7.8.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-04-16 10:40:24",
"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"
}