pinax-theme-jquerymobile 0.2.4
a theme for Pinax based on jQuery Mobile
Quick Start
Include "pinax-theme-jquerymobile" in your requirements file and "pinax_theme_jquerymobile" in your INSTALLED APPS.
Make sure both template loaders and staticfiles finders includes app directories.
Site name comes from Sites fixture.
Your "site_base.html" should extend "theme_base.html"
Forms
To style forms, do something like:
<form method="POST" action="">{% csrf_token %} <li data-role="list-divider">{% trans "Your Form Name Here" %}</li> <ul data-role="listview" data-inset="true">{{ form.as_ul }} <li><button data-icon="arrow-u" type="submit">{% trans "Submit Form" %}</button></li></ul></form>
Todo / Issues
- build additional templates for other Pinax-related apps
- add settings option to switch jQuery Mobile themes (A,B,C,D,E) in settings
- add settings option to load jQuery Mobile static files from CDN or use local files.
| File | Type | Py Version | Uploaded on | Size | # downloads |
|---|---|---|---|---|---|
| pinax-theme-jquerymobile-0.2.4.tar.gz (md5) | Source | 2011-09-11 | 149KB | 298 | |
- Author: Eugene MechanisM
- Home Page: http://github.com/MechanisM/pinax-theme-jquerymobile
- Bug Tracker: https://github.com/MechanisM/pinax-theme-jquerymobile/issues
- License: MIT
- Categories
- Package Index Owner: MechanisM
- DOAP record: pinax-theme-jquerymobile-0.2.4.xml
