Installable Django app containing 508-compliant plugins.
- jQuery 1.6+
- select2 v3 [ Docs ]
- selectWoo (select2 V4) [ Git | Docs | Bootstrap 3 Theme ]
- jQuery 1.11.4 Datepicker [ Git | Docs ]
pip install django-508-plugins
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.
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 <label>
tag matches the ID of the select box.
Minified versions of selectWoo
source files are also included in the install.
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.