pytask/templates/base.html
author Nishanth Amuluru <nishanth@fossee.in>
Sun, 09 Jan 2011 15:01:30 +0530
changeset 125 9b0812962133
parent 69 c6bca38c1cbf
child 126 2763afa1c2a2
permissions -rw-r--r--
created the home page
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
17
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 %}
56
5aca9d92ccbb removed the css code from base.html and formatted the page properly
Nishanth Amuluru <nishanth@fossee.in>
parents: 53
diff changeset
     5
    <link rel=stylesheet href="/static/css/base.css" type="text/css" >
17
2bca2008fbe3 Added base.htm;
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     6
</head>
60
696309b5ad59 created a tag and used it in the template
Nishanth Amuluru <nishanth@fossee.in>
parents: 57
diff changeset
     7
{% load user_tags %}
17
2bca2008fbe3 Added base.htm;
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     8
<body>
56
5aca9d92ccbb removed the css code from base.html and formatted the page properly
Nishanth Amuluru <nishanth@fossee.in>
parents: 53
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: 53
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: 53
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: 53
diff changeset
    12
    </div>
53
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 17
diff changeset
    13
    <div id="container">
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 17
diff changeset
    14
        <div id="left">
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 17
diff changeset
    15
        <ul id="nav">
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 17
diff changeset
    16
            <li><a href="/" title="home">home</a></li>
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 17
diff changeset
    17
            {% if user.is_authenticated %}
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 17
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: 17
diff changeset
    19
                <li><a href="/textbook/" title="textbook">textbooks</a></li>
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 17
diff changeset
    20
                <br />
60
696309b5ad59 created a tag and used it in the template
Nishanth Amuluru <nishanth@fossee.in>
parents: 57
diff changeset
    21
                <li><a href="/profile/notf/browse/" title="notifications">
696309b5ad59 created a tag and used it in the template
Nishanth Amuluru <nishanth@fossee.in>
parents: 57
diff changeset
    22
			{{ user|notf_dsp }}
53
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 17
diff changeset
    23
                </a></li>
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 17
diff changeset
    24
                <br>
57
cfa5c3fd2ddd corrected the profile URL
Nishanth Amuluru <nishanth@fossee.in>
parents: 56
diff changeset
    25
                <li><a href="/profile/view">profile</a></li>
53
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 17
diff changeset
    26
                <li><a href="/accounts/logout/">logout</a></li>
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 17
diff changeset
    27
            {% else %}
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 17
diff changeset
    28
                <li><a href="/accounts/login/" title="login">login</a></li>
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 17
diff changeset
    29
            {% endif %}
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 17
diff changeset
    30
        </ul>
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 17
diff changeset
    31
        </div>
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 17
diff changeset
    32
        <div id="center">
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 17
diff changeset
    33
            {% block content %}This is the default content{% endblock %}
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 17
diff changeset
    34
        </div>
56
5aca9d92ccbb removed the css code from base.html and formatted the page properly
Nishanth Amuluru <nishanth@fossee.in>
parents: 53
diff changeset
    35
        <div id="right">
5aca9d92ccbb removed the css code from base.html and formatted the page properly
Nishanth Amuluru <nishanth@fossee.in>
parents: 53
diff changeset
    36
            <!--{% if user.is_authenticated %}
5aca9d92ccbb removed the css code from base.html and formatted the page properly
Nishanth Amuluru <nishanth@fossee.in>
parents: 53
diff changeset
    37
            <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: 53
diff changeset
    38
            {% endif %}-->
5aca9d92ccbb removed the css code from base.html and formatted the page properly
Nishanth Amuluru <nishanth@fossee.in>
parents: 53
diff changeset
    39
        </div>
5aca9d92ccbb removed the css code from base.html and formatted the page properly
Nishanth Amuluru <nishanth@fossee.in>
parents: 53
diff changeset
    40
        <div class="clearer">
5aca9d92ccbb removed the css code from base.html and formatted the page properly
Nishanth Amuluru <nishanth@fossee.in>
parents: 53
diff changeset
    41
        </div>
5aca9d92ccbb removed the css code from base.html and formatted the page properly
Nishanth Amuluru <nishanth@fossee.in>
parents: 53
diff changeset
    42
    </div>
5aca9d92ccbb removed the css code from base.html and formatted the page properly
Nishanth Amuluru <nishanth@fossee.in>
parents: 53
diff changeset
    43
    <div id="footer">
5aca9d92ccbb removed the css code from base.html and formatted the page properly
Nishanth Amuluru <nishanth@fossee.in>
parents: 53
diff changeset
    44
    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: 53
diff changeset
    45
    </div>
5aca9d92ccbb removed the css code from base.html and formatted the page properly
Nishanth Amuluru <nishanth@fossee.in>
parents: 53
diff changeset
    46
</div> 
53
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 17
diff changeset
    47
17
2bca2008fbe3 Added base.htm;
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    48
</body>
2bca2008fbe3 Added base.htm;
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    49
</html>