Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Common header/footer templates and CSS for Django-based Mozilla sites.
JavaScript
branch: master

This branch is 1 commit ahead, 26 commits behind mozilla:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
mobile
README.rst
background.png
footer.html
header-logos.png
header.html
headerfooter.css
menu.js
menu_links.html
minimal-header.html
mobile.css
mobilefeatures.js
wordmark-slim.png

README.rst

Global header/footer templates and css shared between Django-powered sites at Mozilla.

The following projects are currently using this code:

Kitsune: https://github.com/jsocol/kitsune/ Zamboni: https://github.com/jbalogh/zamboni/

Out of the box, you get:

  • Header/footer images, CSS set such that these image paths work if the CSS is served from media/global, both minified and not
  • Fluid width for both header and footer
  • JS that adds a hide delay on header drop downs

Requirements

  • Jinja 2.

  • A jinja |f filter, used to interpolate parameters, like so:

    'visit {0}'|f('<span>mozilla</span>')

  • The JS is optional, but using it requires jQuery; tested with 1.3 or later.

Something went wrong with that request. Please try again.