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.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.8.24.tar.gz (1.1 MB view hashes)

Uploaded Source

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