pytask/templates/base.html
author Nishanth Amuluru <nishanth@fossee.in>
Sun, 09 Jan 2011 19:45:42 +0530
changeset 129 13e171f09941
parent 126 2763afa1c2a2
child 133 94497f8b1dae
permissions -rw-r--r--
added unpublished tasks to home_page

<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="/textbook/" 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>