This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Base templates for Django that adhere to ASU Web Standards.

Project Description

This project provides base templates for use in Django apps that need to conform to the ASU University Web Design Standards.

It relies on the assets created by the ASU Web Standards Bootstrap project provided by the Global Institute of Sustainability.

Installation & Usage

Install using pip (or easy_install):

pip install django-asutheme

Add 'asutheme' to your INSTALLED_APPS:

INSTALLED_APPS = (
    ...
    'django.contrib.admin',
    'asutheme',
)

Add 'asutheme.context_processors.container_style' to your list of context processors. By default the containers are fixed, if you would like them to be fluid add to your settings file. ASU_THEME_FLUID = True to your settings file.

You can now extend the base template and add to/override defined blocks:

{% extend asutheme/base.html %}

{% block asu_site_title_main %}
    <a href="https://lib.asu.edu" title="Arizona State University - Libraries">ASU Libraries</a>
{% endblock %}

{% block navbar_content %}
    <li><a href="/media">Media</a></li>
{% endblock %}

{% block super_footer_brand %}
    <img src="/static/images/libraries_logo_footer.png" alt="ASU Libraries Logo">
    <address>
        ...
    </address>
{% endblock %}
Release History

Release History

This version
History Node

0.2.7

History Node

0.2.6

History Node

0.2.4

History Node

0.2.3

History Node

0.2.2

History Node

0.2.1

History Node

0.2

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-asutheme-0.2.7.tar.gz (1.3 MB) Copy SHA256 Checksum SHA256 Source Jan 13, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting