Name | ckanext-js-tweaks JSON |
Version |
0.0.31
JSON |
| download |
home_page | None |
Summary | JS scripts to improve UI expirience |
upload_time | 2024-10-24 13:57:47 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.8 |
license | AGPL |
keywords |
ckan
scheming
schema
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
|
[![Tests](https://github.com/DataShades/ckanext-js-tweaks/workflows/Tests/badge.svg?branch=main)](https://github.com/DataShades/ckanext-js-tweaks/actions)
# ckanext-js-tweaks
It's a bunch of scripts, macroses and helpers to make daily routing easier.
### Adding tooltip
Just add `data-tooltip="text"` attribute to an element to display basic tooltip.
OR use bootstrap tooltips, if you want.
`data-toggle="tooltip" data-placement="top" title="Tooltip on top"`
## Installation
**TODO:** Add any additional install steps to the list below.
For example installing any non-Python dependencies or adding any required
config settings.
To install ckanext-js-tweaks:
1. Activate your CKAN virtual environment, for example:
. /usr/lib/ckan/default/bin/activate
2. Clone the source and install it on the virtualenv
git clone https://github.com/DataShades/ckanext-js-tweaks.git
cd ckanext-js-tweaks
pip install -e .
pip install -r requirements.txt
3. Add `js-tweaks` to the `ckan.plugins` setting in your CKAN
config file (by default the config file is located at
`/etc/ckan/default/ckan.ini`).
4. Restart CKAN. For example if you've deployed CKAN with Apache on Ubuntu:
sudo service apache2 reload
## Config settings
None at present
**TODO:** Document any optional config settings here. For example:
# The minimum number of hours to wait before re-checking a resource
# (optional, default: 24).
ckanext.js_tweaks.some_setting = some_default_value
## Developer installation
To install ckanext-js-tweaks for development, activate your CKAN virtualenv and
do:
git clone https://github.com/DataShades/ckanext-js-tweaks.git
cd ckanext-js-tweaks
python setup.py develop
pip install -r dev-requirements.txt
## Tests
To run the tests, do:
pytest --ckan-ini=test.ini
## License
[AGPL](https://www.gnu.org/licenses/agpl-3.0.en.html)
Raw data
{
"_id": null,
"home_page": null,
"name": "ckanext-js-tweaks",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "DataShades <datashades@linkdigital.com.au>",
"keywords": "CKAN, scheming, schema",
"author": null,
"author_email": "DataShades <datashades@linkdigital.com.au>, Oleksandr Cherniavskyi <mutantsan@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/74/d8/f4a3831f97e6db262a8ea6cde855018f9ba1ae94d14d3e8f861bab4373a1/ckanext_js_tweaks-0.0.31.tar.gz",
"platform": null,
"description": "[![Tests](https://github.com/DataShades/ckanext-js-tweaks/workflows/Tests/badge.svg?branch=main)](https://github.com/DataShades/ckanext-js-tweaks/actions)\n\n# ckanext-js-tweaks\n\nIt's a bunch of scripts, macroses and helpers to make daily routing easier.\n\n### Adding tooltip\nJust add `data-tooltip=\"text\"` attribute to an element to display basic tooltip.\n\nOR use bootstrap tooltips, if you want.\n`data-toggle=\"tooltip\" data-placement=\"top\" title=\"Tooltip on top\"`\n\n\n## Installation\n\n**TODO:** Add any additional install steps to the list below.\n For example installing any non-Python dependencies or adding any required\n config settings.\n\nTo install ckanext-js-tweaks:\n\n1. Activate your CKAN virtual environment, for example:\n\n . /usr/lib/ckan/default/bin/activate\n\n2. Clone the source and install it on the virtualenv\n\n git clone https://github.com/DataShades/ckanext-js-tweaks.git\n cd ckanext-js-tweaks\n pip install -e .\n\tpip install -r requirements.txt\n\n3. Add `js-tweaks` to the `ckan.plugins` setting in your CKAN\n config file (by default the config file is located at\n `/etc/ckan/default/ckan.ini`).\n\n4. Restart CKAN. For example if you've deployed CKAN with Apache on Ubuntu:\n\n sudo service apache2 reload\n\n\n## Config settings\n\nNone at present\n\n**TODO:** Document any optional config settings here. For example:\n\n\t# The minimum number of hours to wait before re-checking a resource\n\t# (optional, default: 24).\n\tckanext.js_tweaks.some_setting = some_default_value\n\n\n## Developer installation\n\nTo install ckanext-js-tweaks for development, activate your CKAN virtualenv and\ndo:\n\n git clone https://github.com/DataShades/ckanext-js-tweaks.git\n cd ckanext-js-tweaks\n python setup.py develop\n pip install -r dev-requirements.txt\n\n\n## Tests\n\nTo run the tests, do:\n\n pytest --ckan-ini=test.ini\n\n## License\n\n[AGPL](https://www.gnu.org/licenses/agpl-3.0.en.html)\n",
"bugtrack_url": null,
"license": "AGPL",
"summary": "JS scripts to improve UI expirience",
"version": "0.0.31",
"project_urls": {
"Homepage": "https://github.com/DataShades/ckanext-js-tweaks"
},
"split_keywords": [
"ckan",
" scheming",
" schema"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "84263363f0e3fc3cf0aabcf90fbed62b94d9dd981621247faac3cb59e389a47e",
"md5": "e77c2f7372dc94b410a69d218038e891",
"sha256": "4a9230d6836b9e9a3135b6916763f4834990985b36d4dc5810a5d1ce36893030"
},
"downloads": -1,
"filename": "ckanext_js_tweaks-0.0.31-py3-none-any.whl",
"has_sig": false,
"md5_digest": "e77c2f7372dc94b410a69d218038e891",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 56933,
"upload_time": "2024-10-24T13:57:45",
"upload_time_iso_8601": "2024-10-24T13:57:45.996640Z",
"url": "https://files.pythonhosted.org/packages/84/26/3363f0e3fc3cf0aabcf90fbed62b94d9dd981621247faac3cb59e389a47e/ckanext_js_tweaks-0.0.31-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "74d8f4a3831f97e6db262a8ea6cde855018f9ba1ae94d14d3e8f861bab4373a1",
"md5": "25ab25d0e49ea0dbbcc225cae556dea0",
"sha256": "87ad95c6803ba6c2ae160c0e5dad26dc23f509e9c70e44e091f34532cec32f7b"
},
"downloads": -1,
"filename": "ckanext_js_tweaks-0.0.31.tar.gz",
"has_sig": false,
"md5_digest": "25ab25d0e49ea0dbbcc225cae556dea0",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 53410,
"upload_time": "2024-10-24T13:57:47",
"upload_time_iso_8601": "2024-10-24T13:57:47.324009Z",
"url": "https://files.pythonhosted.org/packages/74/d8/f4a3831f97e6db262a8ea6cde855018f9ba1ae94d14d3e8f861bab4373a1/ckanext_js_tweaks-0.0.31.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-24 13:57:47",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "DataShades",
"github_project": "ckanext-js-tweaks",
"travis_ci": false,
"coveralls": true,
"github_actions": true,
"requirements": [],
"lcname": "ckanext-js-tweaks"
}