Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

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


Download files

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

Files for pinax-theme-jquerymobile, version 0.2.4
Filename, size File type Python version Upload date Hashes
Filename, size pinax-theme-jquerymobile-0.2.4.tar.gz (153.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page