Skip to main content

A Pinax theme 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”

nav & subnav blocks

“nav” and “subnav” blocks content should be something like:

<li><a data-role=”button” data-icon=”home” href=”{% url home %}”>{% trans “Home” %}</a></li>

“nav” block appears in header and “subnav” block in footer

Your pages should have blocks “head_title”, “body_title”(with same content as “head_title”) and “body” and should extend “site_base.html”.

for each installed app, in app templates in base.html or appname_base.html, you should have:

{% block body_title_base %}{% trans “Appname” %} : {% endif %}{% block body_title %}{% endblock %}{% endblock %}

somwhere before “body” block

The url name “home” should be defined as the homepage.

by default theme using jquery CDN with latest jquery, jquerymobile.min.js, jquerymobile.min.css

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.

Metadata

Release files for pinax-theme-jquerymobile 0.2.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pinax-theme-jquerymobile 0.2.4
File Size Uploaded Provenance
pinax-theme-jquerymobile-0.2.4.tar.gz 153.1 kB Without provenance Details

Release files / pinax-theme-jquerymobile-0.2.4.tar.gz

Download URL pinax-theme-jquerymobile-0.2.4.tar.gz
Size 153.1 kB
Tags Source
SHA-256 checksum
How to use checksums
f1bea974df3e57490e0989e60a09dbcfb27f11f4bb3ca22d50c3ec15033703d9
BLAKE2b-256 checksum
How to use checksums
ee5197033c987f8ddaf79cd790e8d6790c03409b066cb9d4b0f5b1a9948685cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for pinax-theme-jquerymobile 0.2.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.4 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page