Skip to main content

fanstatic jQuery UI.

Project description

js.jqueryui

Introduction

This library packages jQuery UI for fanstatic. It is aware of different modes (normal, minified).

This requires integration between your web framework and fanstatic, and making sure that the original resources (shipped in the resources directory in js.jqueryui) are published to some URL.

How to use?

You can import jQuery UI from js.jqueryui and need it where you want these resources to be included on a page:

>>> from js.jqueryui import jqueryui
>>> jqueryui.need()

Themes

The themes in the jQuery UI themes distribution are included as well:

>>> from js.jqueryui import black_tie
>>> black_tie.need()

In addition to the themes provided by jQuery UI itself, an experimental jQuery UI Bootstrap theme is included, that makes jQuery UI widgets look nice in a Twitter Bootstrap themed site:

>>> from js.jqueryui import bootstrap
>>> bootstrap.need()

Locales

Also included are locales for the jQuery UI datepicker.

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.jqueryui import ui_datepicker_locales
from pyramid.i18n import get_locale_name

locale_name = get_locale_name(request)
if locale_name in ui_datepicker_locales:
    ui_datepicker_locales[locale_name].need()

CHANGES

1.10.3 (2013-05-19)

  • Update to 1.10.3 (including new translations).

  • Add minified versions of all translations.

  • Add new resources: ui_menu, ui_spinner, ui_tooltip.

  • Change the filenames of the separate effect resources to match those of the jQueryUI distribution.

  • Update Twitter Bootstrap theme to 0.5.

1.8.24 (2012-10-16)

1.8.16-1 (2011-09-25)

  • Fix bug in download script where the result contents of jquery-ui.js was wrong.

1.8.16 (2011-09-23)

  • Update to 1.8.16

  • Rewrite download script. Now javascript as well as themeroller themes are downloaded from the on-line download builder. Additionally, the download script builds the declarations for individual ui and effects components.

  • A minified version of the rollup CSS file is now included for for all themes.

1.8.13-1 (2011-06-22)

  • Added the i18n resources.

1.8.13 (2011-06-10)

  • Update to 1.8.13.

1.8.9 (2011-02-23)

  • Update to 1.8.9.

  • Add download script that downloads the default set of themeroller themes.

  • Fix manifest to include i18n files.

1.8.7 (2011-01-07)

  • Initial release.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

js.jqueryui-1.10.3.tar.gz (1.5 MB view details)

Uploaded Source

File details

Details for the file js.jqueryui-1.10.3.tar.gz.

File metadata

File hashes

Hashes for js.jqueryui-1.10.3.tar.gz
Algorithm Hash digest
SHA256 0d05b56948b5e336e205a11730ad8624dd833c39113c1cf302b38db98dc8c95e
MD5 cd23a557d70fcc4dc89e4e44c41d7ada
BLAKE2b-256 126de314e16faf8ec07669e03f60a6240386e427e725ae87a83988c4b978105b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page