caktus-django-template / caktus_django_template / features / templates / base.html

{% load treenav_tags analytics %}
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" >
<head>
    <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
    <title>{% block title %}PROJECT_NAME{% endblock %}</title>
    {% block meta %}{% endblock %}
    <link rel="stylesheet" href="{{ MEDIA_URL }}css/reset-fonts.css" type="text/css" media="screen" charset="utf-8"/>
    <link rel="stylesheet" href="{{ MEDIA_URL }}css/layout.css" type="text/css" media="screen" charset="utf-8"/>
    <link rel="stylesheet" href="{{ MEDIA_URL }}css/style.css" type="text/css" media="screen" charset="utf-8"/>
    <!--[if lt IE 7]>
    <style media="screen" type="text/css">
    .col1 {
        width:100%;
    }
    </style>
    <![endif]-->
    {% block css %}{% endblock %}
    <script type="text/javascript" src="{{ MEDIA_URL }}js/jquery-1.4.2.min.js"></script>
    {% block javascript %}{% endblock %}
</head>
<body>

<div id="header">
    <ul id='site-navigation'>
        <li><a href='{% url admin:index %}' title='Admin'>Admin</a></li>
        {% if user.is_authenticated %}
            <li><a href='{% url admin:logout %}' title='Logout'>Logout</a></li>
        {% endif %}
    </ul>
    <h1>{% block top-header %}PROJECT_NAME{% endblock %}</h1>
</div>
<div class="colmask leftmenu">
    <div class="colright">
        <div class="col1wrap">
            <div class="col1">
                {% block content %}{% endblock %}
            </div>
        </div>
        <div id='sidebar' class="col2">
            <h2>Sidebar</h2>
            {% show_treenav 'primary-nav' %}
            {% block sidebar-extra %}{% endblock %}
        </div>
    </div>
</div>
<div id="footer">
    <p>Development by Caktus Consulting Group.</p>
</div>
{% analytics %}

</body>
</html>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.