Skip to main content

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.

Metadata

Release files for ckanext-dcor-theme 1.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ckanext-dcor-theme 1.1.4
File Size Uploaded
ckanext_dcor_theme-1.1.4.tar.gz 7.7 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for ckanext-dcor-theme 1.1.4
File Interpreter ABI Platform
ckanext_dcor_theme-1.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 15.3 MB

Release files / ckanext_dcor_theme-1.1.4.tar.gz

Download URL ckanext_dcor_theme-1.1.4.tar.gz
Size 7.7 MB
Tags Source
SHA-256 checksum
How to use checksums
99e89ab2d5c2aef6fdbe7b1f26a3c7322da613a1bb63850afa69584c57dc4b49
BLAKE2b-256 checksum
How to use checksums
ff56c8ea96368bfac8b0dc6ce4798965fb6f89d56bb644ffe1d9873dad075421
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.24

Release files / ckanext_dcor_theme-1.1.4-py3-none-any.whl

Download URL ckanext_dcor_theme-1.1.4-py3-none-any.whl
Size 7.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
394f99639da5a603aaffebb7859497b65316bcd8ad349fe806de8fbe63e74fe2
BLAKE2b-256 checksum
How to use checksums
5ca646f3b0032b46c5b6ff63499c7a07f29baccb9fab0fa364d2456de961a4ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.24

Release history Release notifications | RSS feed

This release

1.1.4 This release

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.12.1

2 release files

0.12.0

2 release files

0.11.2

2 release files

0.11.1

2 release files

0.8.2

2 release files

0.8.1

2 release files

0.7.8

2 release files

0.7.7

2 release files

0.7.6

2 release files

0.7.5

2 release files

0.7.4

2 release files

0.7.3

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.6

2 release files

0.4.5

2 release files

0.4.4

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.9

2 release files

0.3.8

2 release files

0.3.6

1 release file

0.3.5

1 release file

0.3.4

1 release file

0.3.3

1 release file

0.3.2

1 release file

0.3.1

1 release file

0.3.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page