pytask/templates/base.html
author Nishanth Amuluru <nishanth@fossee.in>
Sun, 09 Jan 2011 15:09:13 +0530
changeset 364 2763afa1c2a2
parent 307 c6bca38c1cbf
child 371 94497f8b1dae
permissions -rw-r--r--
home_page is now in some shape
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 %}
294
5aca9d92ccbb removed the css code from base.html and formatted the page properly
Nishanth Amuluru <nishanth@fossee.in>
parents: 291
diff changeset
     5
    <link rel=stylesheet href="/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">
5aca9d92ccbb removed the css code from base.html and formatted the page properly
Nishanth Amuluru <nishanth@fossee.in>
parents: 291
diff changeset
    11
        <h2><a href="/">PyTasks</a></h2>
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">
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 255
diff changeset
    16
            <li><a href="/" 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 />
291
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 255
diff changeset
    18
                <li><a href="/task/browse/" title="tasks">tasks</a></li>
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 255
diff changeset
    19
                <li><a href="/textbook/" title="textbook">textbooks</a></li>
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 %}
298
696309b5ad59 created a tag and used it in the template
Nishanth Amuluru <nishanth@fossee.in>
parents: 295
diff changeset
    22
                <li><a href="/profile/notf/browse/" title="notifications">
696309b5ad59 created a tag and used it in the template
Nishanth Amuluru <nishanth@fossee.in>
parents: 295
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>
295
cfa5c3fd2ddd corrected the profile URL
Nishanth Amuluru <nishanth@fossee.in>
parents: 294
diff changeset
    26
                <li><a href="/profile/view">profile</a></li>
291
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 255
diff changeset
    27
                <li><a href="/accounts/logout/">logout</a></li>
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 255
diff changeset
    28
            {% else %}
364
2763afa1c2a2 home_page is now in some shape
Nishanth Amuluru <nishanth@fossee.in>
parents: 307
diff changeset
    29
                <li><a href="/accounts/register/" title="register">register</a></li>
291
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 255
diff changeset
    30
                <li><a href="/accounts/login/" title="login">login</a></li>
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
            <!--{% if user.is_authenticated %}
5aca9d92ccbb removed the css code from base.html and formatted the page properly
Nishanth Amuluru <nishanth@fossee.in>
parents: 291
diff changeset
    39
            <a href="/accounts/logout">logout</a> 
5aca9d92ccbb removed the css code from base.html and formatted the page properly
Nishanth Amuluru <nishanth@fossee.in>
parents: 291
diff changeset
    40
            {% endif %}-->
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 class="clearer">
5aca9d92ccbb removed the css code from base.html and formatted the page properly
Nishanth Amuluru <nishanth@fossee.in>
parents: 291
diff changeset
    43
        </div>
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 id="footer">
5aca9d92ccbb removed the css code from base.html and formatted the page properly
Nishanth Amuluru <nishanth@fossee.in>
parents: 291
diff changeset
    46
    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
    47
    </div>
5aca9d92ccbb removed the css code from base.html and formatted the page properly
Nishanth Amuluru <nishanth@fossee.in>
parents: 291
diff changeset
    48
</div> 
291
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 255
diff changeset
    49
255
2bca2008fbe3 Added base.htm;
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    50
</body>
2bca2008fbe3 Added base.htm;
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    51
</html>