Skip to main content

a theme for Pinax based on Twitter's Bootstrap

Project description

A Pinax theme based on Twitter's Bootstrap
==========================================


Quick Start
-----------

Include "pinax-theme-bootstrap" in your requirements file and
"pinax_theme_bootstrap" 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" and should provide
"footer" and "nav" blocks (the latter should just be a ul of li of a links).

Your pages should have blocks "head_title" and "body" and should extend
"site_base.html".

The url name "home" should be defined as the homepage.


Forms
-----

To style forms,

{% load bootstrap_tags %}

and do something like:

<form method="POST" action="">
{% csrf_token %}
<fieldset>
{{ form|as_bootstrap }}
</fieldset>
<div class="actions">
<button type="submit" class="btn primary">Submit</button>
</div>
</form>


Todo / Issues
-------------

* build additional templates for other apps (possibly as add-ons)
* include LESS source files here

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

pinax-theme-bootstrap-0.1.3.tar.gz (73.4 kB view details)

Uploaded Source

File details

Details for the file pinax-theme-bootstrap-0.1.3.tar.gz.

File metadata

File hashes

Hashes for pinax-theme-bootstrap-0.1.3.tar.gz
Algorithm Hash digest
SHA256 a5b5b7a37fd5f955a76dc853caeafd6b496ec083cc878fcd19a3805f93bab043
MD5 5725a2ac6f6feff1ec92ec8098cc2096
BLAKE2b-256 598eb36db2cf93c835cec34ab0fc2082eb50146a4642017d330e25530087b646

See more details on using hashes here.

Provenance

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