Requirements:
- ckanext-scheming
- typing-extensions
Installation:
1. Activate CKAN virtualenv
2. Clone and install:
git clone https://github.com/DataShades/ckanext-js-tweaks.git
cd ckanext-js-tweaks
pip install -e .
pip install -r requirements.txt
Add to ckan.plugins:
js-tweaks
Configuration:
None at present - no config settings required
Features:
Basic tooltip:
Add data-tooltip=”text” attribute to any element:
Bootstrap tooltips:
Use Bootstrap tooltip attributes:
Additional scripts, macros, and helpers available for various UI enhancements.
Development:
git clone https://github.com/DataShades/ckanext-js-tweaks.git
cd ckanext-js-tweaks
python setup.py develop
pip install -r dev-requirements.txt
Testing: pytest –ckan-ini=test.ini