Fanstatic packaging of jQuery-Timepicker-Addon
Project description
js.jquery_timepicker_addon
Introduction
This library packages jQuery-Timepicker-Addon for fanstatic.
This requires integration between your web framework and fanstatic, and making sure that the original resources (shipped in the resources directory in js.jquery_timepicker_addon) are published to some URL.
How to use?
You can import timepicker from js.jquery_timepicker_addon and need it where you want these resources to be included on a page:
>>> from js.jquery_timepicker_addon import timepicker >>> timepicker.need()
Locales
Also included are locales for the timepicker widget.
How to get the right locale for the current request depends on your web framework. In Pyramid you could e.g. do something like this:
from js.jquery_timepicker_addon import timepicker_locales from pyramid.i18n import get_locale_name locale_name = get_locale_name(request) if locale_name in timepicker_locales: timepicker_locales[locale_name].need()
CHANGES
1.0.5 (2012-10-16)
Update to 1.0.5
Add minified versions for all resources
Add timepicker_locales dictionary.
0.9.8 (2011-12-12)
Update to 0.9.8.
0.9.7-1 (2011-11-10)
Expose all i18n/l10n files as individual resources.
0.9.7 (2011-11-08)
Update to 0.9.7.
0.9.6 (2011-09-07)
Initial release.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for js.jquery_timepicker_addon-1.0.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1236f8292037c2383dfa528583741034bf25350dafa2a594c00391367e425726 |
|
MD5 | ae81f039f65d3688a391471fb4bee9b7 |
|
BLAKE2b-256 | 165f2432668a7952c7f2e18fe0e9c7b4b451f8bcb97b0ad443241b546f7d6f94 |