1. Tino de Bruijn
  2. dsac_templates

Source

dsac_templates / templates / base.html

{% load cms_tags menu_tags %}
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
    <title>DSAC - {% block title %}{% page_attribute page_title %}{% endblock %}</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">

    <!-- Framework CSS -->
    <link rel="stylesheet" href="{{ MEDIA_URL }}css/site/css/blueprint/screen.css" type="text/css" media="screen, projection">
    <link rel="stylesheet" href="{{ MEDIA_URL }}css/site/css/blueprint/print.css" type="text/css" media="print">	
    <!--[if lt IE 8]><link rel="stylesheet" href="{{ MEDIA_URL }}css/site/css/blueprint/ie.css" type="text/css" media="screen, projection"><![endif]-->
    <link rel="stylesheet" href="{{ MEDIA_URL }}css/site/css/main.css" type="text/css" media="screen, projection">
    <link rel="stylesheet" href="{{ MEDIA_URL }}css/site/css/decoration.css" type="text/css" media="screen, projection">
    <link rel="stylesheet" href="{{ MEDIA_URL }}css/site/css/navigation.css" type="text/css" media="screen, projection">
    {% block extrahead %}{% endblock %}
</head>
<body>
    <div id="corners-top">
        <div id="corner-left-boven">&nbsp;</div>
        <div id="corner-center">&nbsp;</div>
        <div id="corner-right-boven">&nbsp;</div>
    </div>
    <div id="background">
    <div class="container">
        <div id="header" class="span-24 last">
            <a href="http://dsac.spafe.nl/nl/"><img src="{{ MEDIA_URL }}img/site/img/header.jpg"></a>
        </div>
        
        {% block nav %}
        <div id="nav_menu" class="span-24">
            <ul>
                {% show_menu 0 0 0 100 %}
            </ul>
        </div>
        {% endblock %}
        
        {% block breadcrumbs %}
        <ul id="breadcrumbs" class="span-24">
            {% show_breadcrumb %}
        </ul>
        {% endblock %}

        <div class="span-24">
            {% block content %}
                {% block page_title %}
                <div class="span-24">
                    <h1>{% page_attribute page_title %}</h1>
                </div>
                {% endblock %}
                {% block main_content %}
                    
                {% endblock %}
            {% endblock %}
        </div>
        <div id="footer" class="span-24 last prepend-top append-bottom">
            © DSAC 2011 | <a href="{% page_url "contact" %}">E-mail het DSAC bestuur</a> | 
            {% if user.is_authenticated %}
            <a href="{% url django.contrib.auth.views.logout %}">Log uit</a>
            {% else %}
            <a href="{% url django.contrib.auth.views.login %}">Log in</a>
            {% endif %}
             |
        </div>
    </div>
    </div>
     <div id="corners-bottom"> 
        <div id="corner-left-onder">&nbsp;</div> 
        <div id="corner-center">&nbsp;</div> 
        <div id="corner-right-onder">&nbsp;</div> 
    </div>  
</body>
</html>