https://github.com/imsweb/django-508-plugins
Installable Django app containing 508-compliant plugins.
https://github.com/imsweb/django-508-plugins
Last synced: 5 months ago
JSON representation
Installable Django app containing 508-compliant plugins.
- Host: GitHub
- URL: https://github.com/imsweb/django-508-plugins
- Owner: imsweb
- Created: 2019-07-23T13:53:02.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2025-01-15T18:54:14.000Z (over 1 year ago)
- Last Synced: 2025-09-25T07:56:00.224Z (9 months ago)
- Language: JavaScript
- Size: 773 KB
- Stars: 0
- Watchers: 3
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# django-508-plugins
Installable Django app containing 508-compliant plugins.
## Requirements:
* jQuery 1.6+
## Current 508 Compliant packages:
* select2 v3 [ [Docs](https://select2.github.io/select2/) ]
* selectWoo (select2 V4) [ [Git](https://github.com/woocommerce/selectWoo) | [Docs](https://select2.org/) | [Bootstrap 3 Theme](https://github.com/select2/select2-bootstrap-theme) ]
* jQuery 1.11.4 Datepicker [ [Git](https://github.com/jquery/jquery-ui) | [Docs](https://api.jqueryui.com/datepicker/) ]
## Usage
```
pip install django-508-plugins
```
### select2
Add `plugins.select2` to your `INSTALLED_APPS` setting. Then, add the following source files to your template::
select2/select2.css
select2/select2-bootstrap.css # Only needed if using Bootstrap 3
select2/select2.js
**Note**: It is **highly** recommnded you do not include both `plugins.select2` and `plugins.selectWoo` stylesheets in the same template. These stylesheets include rules that will conflict with each other and can cause unexpected results.
### selectWoo
Add `plugins.selectWoo` to your `INSTALLED_APPS` setting. Then, add the following source files to your template::
selectWoo/css/selectWoo.css
selectWoo/css/select2-bootstrap.css # Only needed if using Bootstrap 3
selectWoo/js/selectWoo.full.js
**Note**: It is **highly** recommnded you do not include both `plugins.selectWoo` and `plugins.select2` stylesheets in the same template. These stylesheets include rules that will conflict with each other and can cause unexpected results.
When using selectWoo, make sure the the `for` attribute of the related `` tag matches the ID of the select box.
Minified versions of `selectWoo` source files are also included in the install.
### datepicker
Add `plugins.datepicker` to your `INSTALLED_APPS` setting. In order for the 508 Compliant datepicker to work, you must include jQuery UI in your template. Add the following source files to your template::
jquery-ui/jquery-ui.css
jquery-ui/jquery-ui.js
datepicker/js/jqueryui_datepicker_508.js
**Note** This build of jquery-ui only includes the jQuery UI Datepicker. Other jQuery UI components may not be 508 Compliant.
Minified versions of `datepicker` source files are also included in the install.