pytask/templates/base.html
author Madhusudan.C.S <madhusudancs@gmail.com>
Sat, 15 Jan 2011 21:21:49 +0530
changeset 417 b37e541bf950
parent 395 5c6e2478663d
child 425 e15749fab2e4
permissions -rw-r--r--
Manipulate all the templates to use {% url %} templatetag instead of hard coded URLs.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
255
2bca2008fbe3 Added base.htm;
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     1
<html>
2bca2008fbe3 Added base.htm;
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     2
<head>
2bca2008fbe3 Added base.htm;
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     3
    <title>{% block title %}PyTasks{% endblock %}</title>
2bca2008fbe3 Added base.htm;
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     4
    {% block js_script %} {% endblock %}
395
5c6e2478663d Fixed the path to use /pytask as the prefix.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 371
diff changeset
     5
    <link rel=stylesheet href="/pytask/static/css/base.css" type="text/css" >
255
2bca2008fbe3 Added base.htm;
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     6
</head>
298
696309b5ad59 created a tag and used it in the template
Nishanth Amuluru <nishanth@fossee.in>
parents: 295
diff changeset
     7
{% load user_tags %}
255
2bca2008fbe3 Added base.htm;
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     8
<body>
294
5aca9d92ccbb removed the css code from base.html and formatted the page properly
Nishanth Amuluru <nishanth@fossee.in>
parents: 291
diff changeset
     9
<div id="wrapper">
5aca9d92ccbb removed the css code from base.html and formatted the page properly
Nishanth Amuluru <nishanth@fossee.in>
parents: 291
diff changeset
    10
    <div id="header">
417
b37e541bf950 Manipulate all the templates to use {% url %} templatetag instead of hard coded URLs.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 395
diff changeset
    11
        <h2><a href="{% url home_page %}">PyTasks</a></h2>
294
5aca9d92ccbb removed the css code from base.html and formatted the page properly
Nishanth Amuluru <nishanth@fossee.in>
parents: 291
diff changeset
    12
    </div>
291
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 255
diff changeset
    13
    <div id="container">
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 255
diff changeset
    14
        <div id="left">
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 255
diff changeset
    15
        <ul id="nav">
417
b37e541bf950 Manipulate all the templates to use {% url %} templatetag instead of hard coded URLs.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 395
diff changeset
    16
            <li><a href="{% url home_page %}" title="home">Home</a></li>
364
2763afa1c2a2 home_page is now in some shape
Nishanth Amuluru <nishanth@fossee.in>
parents: 307
diff changeset
    17
	    <br />
417
b37e541bf950 Manipulate all the templates to use {% url %} templatetag instead of hard coded URLs.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 395
diff changeset
    18
                <li><a href="{% url browse_tasks %}" title="tasks">Tasks</a></li>
b37e541bf950 Manipulate all the templates to use {% url %} templatetag instead of hard coded URLs.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 395
diff changeset
    19
                <li><a href="{% url browse_textbooks %}" title="textbook">Textbooks</a></li>
291
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 255
diff changeset
    20
                <br />
364
2763afa1c2a2 home_page is now in some shape
Nishanth Amuluru <nishanth@fossee.in>
parents: 307
diff changeset
    21
            {% if user.is_authenticated %}
417
b37e541bf950 Manipulate all the templates to use {% url %} templatetag instead of hard coded URLs.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 395
diff changeset
    22
                <li><a href="{% url browse_notifications %}" title="notifications">
b37e541bf950 Manipulate all the templates to use {% url %} templatetag instead of hard coded URLs.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 395
diff changeset
    23
                  {{ user|notf_dsp }}
291
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 255
diff changeset
    24
                </a></li>
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 255
diff changeset
    25
                <br>
417
b37e541bf950 Manipulate all the templates to use {% url %} templatetag instead of hard coded URLs.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 395
diff changeset
    26
                <li><a href="{% url view_profile %}">Profile</a></li>
b37e541bf950 Manipulate all the templates to use {% url %} templatetag instead of hard coded URLs.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 395
diff changeset
    27
                <li><a href="{% url auth_logout %}">Logout</a></li>
291
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 255
diff changeset
    28
            {% else %}
417
b37e541bf950 Manipulate all the templates to use {% url %} templatetag instead of hard coded URLs.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 395
diff changeset
    29
                <li><a href="{% url registration_register %}" title="register">Register</a></li>
b37e541bf950 Manipulate all the templates to use {% url %} templatetag instead of hard coded URLs.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 395
diff changeset
    30
                <li><a href="{% url auth_login %}" title="login">Login</a></li>
291
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 255
diff changeset
    31
            {% endif %}
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 255
diff changeset
    32
        </ul>
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 255
diff changeset
    33
        </div>
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 255
diff changeset
    34
        <div id="center">
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 255
diff changeset
    35
            {% block content %}This is the default content{% endblock %}
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 255
diff changeset
    36
        </div>
294
5aca9d92ccbb removed the css code from base.html and formatted the page properly
Nishanth Amuluru <nishanth@fossee.in>
parents: 291
diff changeset
    37
        <div id="right">
5aca9d92ccbb removed the css code from base.html and formatted the page properly
Nishanth Amuluru <nishanth@fossee.in>
parents: 291
diff changeset
    38
        </div>
5aca9d92ccbb removed the css code from base.html and formatted the page properly
Nishanth Amuluru <nishanth@fossee.in>
parents: 291
diff changeset
    39
        <div class="clearer">
5aca9d92ccbb removed the css code from base.html and formatted the page properly
Nishanth Amuluru <nishanth@fossee.in>
parents: 291
diff changeset
    40
        </div>
5aca9d92ccbb removed the css code from base.html and formatted the page properly
Nishanth Amuluru <nishanth@fossee.in>
parents: 291
diff changeset
    41
    </div>
5aca9d92ccbb removed the css code from base.html and formatted the page properly
Nishanth Amuluru <nishanth@fossee.in>
parents: 291
diff changeset
    42
    <div id="footer">
5aca9d92ccbb removed the css code from base.html and formatted the page properly
Nishanth Amuluru <nishanth@fossee.in>
parents: 291
diff changeset
    43
    Designed by <a href="http://fossee.in">FOSSEE</a>
5aca9d92ccbb removed the css code from base.html and formatted the page properly
Nishanth Amuluru <nishanth@fossee.in>
parents: 291
diff changeset
    44
    </div>
5aca9d92ccbb removed the css code from base.html and formatted the page properly
Nishanth Amuluru <nishanth@fossee.in>
parents: 291
diff changeset
    45
</div> 
291
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 255
diff changeset
    46
255
2bca2008fbe3 Added base.htm;
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    47
</body>
2bca2008fbe3 Added base.htm;
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    48
</html>