{ "info": { "author": "Matthias Kestenholz", "author_email": "mk@feinheit.ch", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development", "Topic :: Software Development :: Libraries :: Application Frameworks" ], "description": "=========================================================================\n``towel_bootstrap`` -- making it easy to use Towel with Twitter Bootstrap\n=========================================================================\n\n.. note::\n\n You have to add ``towel_bootstrap`` to ``INSTALLED_APPS``, preferably\n before ``django.contrib.admin`` because otherwise the bootstrapified\n login, logout and password templates will not be picked up.\n\n\nIncluded goodies\n================\n\nBase templates\n--------------\n\n* ``towel_bootstrap/base.html``:\n\n Base template for everything. CSS is at the top, Javascript at the bottom.\n Defines two Javascript arrays you might want to be aware of:\n\n * ``onReady``: A list of functions which will be run on\n ``$(document).ready()``. Receive the jQuery instance as first and only\n argument.\n\n * ``onForm``: A list of functions which initialize forms. Might be called\n several times on the same set of elements. Receive two arguments, a\n jQuery object wrapping either ``document`` or some subset of the DOM\n and the jQuery instance.\n\n* ``towel_bootstrap/full.html``:\n\n Template for full-width pages.\n\n* ``towel_bootstrap/modal.html``:\n\n Template for AJAX-loaded modals.\n\n* ``towel_bootstrap/plain.html``:\n\n Template covering a smaller width, most useful for login/logout pages and\n such. Empties the main navigation.\n\nAll base templates except for ``towel_bootstrap/base.html`` extend\n``base.html``. This means that if you provide your own ``base.html`` which only\noverrides the bare minimum of regions, you can use all other templates right\naway.\n\nThe following blocks are available by default:\n\n* ``title``: Browser title\n* ``css``: CSS declaration.\n* ``body``: Everything inside ```` except for ``templates`` and ``js``.\n* ``navigation``: The content of the navbar.\n* ``main``: The main container, that is, everything except for the navigation\n and the footer.\n* ``search``: A search form embedded in the sidebar.\n* ``sidebar``: The sidebar itself.\n* ``messages``: A messages container above the page header and the content.\n* ``page-header``: The page header, most useful when there is a\n ``
`` inside.\n* ``content``: Content.\n* ``footer``: The footer.\n* ``templates``: May be used for Javascript templates, meaning mainly for\n ``