a theme for Pinax based on jQuery Mobile
Project description
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.
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
File details
Details for the file pinax-theme-jquerymobile-0.2.4.tar.gz
.
File metadata
- Download URL: pinax-theme-jquerymobile-0.2.4.tar.gz
- Upload date:
- Size: 153.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1bea974df3e57490e0989e60a09dbcfb27f11f4bb3ca22d50c3ec15033703d9 |
|
MD5 | a807eb872556b451f5f1431e18ac889e |
|
BLAKE2b-256 | ee5197033c987f8ddaf79cd790e8d6790c03409b066cb9d4b0f5b1a9948685cb |