pytask/templates/base.html
author Nishanth Amuluru <nishanth@fossee.in>
Tue, 11 Jan 2011 00:03:57 +0530
changeset 371 94497f8b1dae
parent 364 2763afa1c2a2
child 395 5c6e2478663d
permissions -rw-r--r--
pointed the link correctly

<html>
<head>
    <title>{% block title %}PyTasks{% endblock %}</title>
    {% block js_script %} {% endblock %}
    <link rel=stylesheet href="/static/css/base.css" type="text/css" >
</head>
{% load user_tags %}
<body>
<div id="wrapper">
    <div id="header">
        <h2><a href="/">PyTasks</a></h2>
    </div>
    <div id="container">
        <div id="left">
        <ul id="nav">
            <li><a href="/" title="home">home</a></li>
	    <br />
                <li><a href="/task/browse/" title="tasks">tasks</a></li>
                <li><a href="/task/textbook/browse/" title="textbook">textbooks</a></li>
                <br />
            {% if user.is_authenticated %}
                <li><a href="/profile/notf/browse/" title="notifications">
			{{ user|notf_dsp }}
                </a></li>
                <br>
                <li><a href="/profile/view">profile</a></li>
                <li><a href="/accounts/logout/">logout</a></li>
            {% else %}
                <li><a href="/accounts/register/" title="register">register</a></li>
                <li><a href="/accounts/login/" title="login">login</a></li>
            {% endif %}
        </ul>
        </div>
        <div id="center">
            {% block content %}This is the default content{% endblock %}
        </div>
        <div id="right">
            <!--{% if user.is_authenticated %}
            <a href="/accounts/logout">logout</a> 
            {% endif %}-->
        </div>
        <div class="clearer">
        </div>
    </div>
    <div id="footer">
    Designed by <a href="http://fossee.in">FOSSEE</a>
    </div>
</div> 

</body>
</html>