templates/base.html
author Nishanth Amuluru <nishanth@fossee.in>
Fri, 07 Jan 2011 14:37:45 +0530
changeset 294 5aca9d92ccbb
parent 291 5daf523e20b4
child 295 cfa5c3fd2ddd
permissions -rw-r--r--
removed the css code from base.html and formatted the page properly
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>
2bca2008fbe3 Added base.htm;
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     7
<body>
294
5aca9d92ccbb removed the css code from base.html and formatted the page properly
Nishanth Amuluru <nishanth@fossee.in>
parents: 291
diff changeset
     8
<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
     9
    <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
    10
        <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
    11
    </div>
291
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 255
diff changeset
    12
    <div id="container">
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 255
diff changeset
    13
        <div id="left">
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 255
diff changeset
    14
        <ul id="nav">
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 255
diff changeset
    15
            <li><a href="/" title="home">home</a></li>
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 255
diff changeset
    16
            {% if user.is_authenticated %}
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 255
diff changeset
    17
                <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
    18
                <li><a href="/textbook/" title="textbook">textbooks</a></li>
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 255
diff changeset
    19
                <br />
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 255
diff changeset
    20
                <li><a href="/user/notifications/" title="notifications">
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 255
diff changeset
    21
                {% if user.unread_notifications.count %}
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 255
diff changeset
    22
                    notifications({{user.unread_notifications.count}})
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 255
diff changeset
    23
                {% else %}
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 255
diff changeset
    24
                    notifications
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 255
diff changeset
    25
                {% endif %}
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 255
diff changeset
    26
                </a></li>
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 255
diff changeset
    27
                <li><a href="/user/requests/" title="Requests">
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 255
diff changeset
    28
                {% if user.unread_requests.count %}
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 255
diff changeset
    29
                    requests({{user.unread_requests.count}})
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 255
diff changeset
    30
                {% else %}
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 255
diff changeset
    31
                    requests
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 255
diff changeset
    32
                {% endif %}
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 255
diff changeset
    33
                </a></li>
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 255
diff changeset
    34
                <br>
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 255
diff changeset
    35
                <li><a href="/user/view/uid={{user.id}}">my profile</a></li>
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 255
diff changeset
    36
                <li><a href="/accounts/logout/">logout</a></li>
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 255
diff changeset
    37
            {% else %}
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 255
diff changeset
    38
                <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
    39
            {% endif %}
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 255
diff changeset
    40
        </ul>
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 255
diff changeset
    41
        </div>
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 255
diff changeset
    42
        <div id="center">
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 255
diff changeset
    43
            {% block content %}This is the default content{% endblock %}
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 255
diff changeset
    44
        </div>
294
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="right">
5aca9d92ccbb removed the css code from base.html and formatted the page properly
Nishanth Amuluru <nishanth@fossee.in>
parents: 291
diff changeset
    46
            <!--{% 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
    47
            <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
    48
            {% endif %}-->
5aca9d92ccbb removed the css code from base.html and formatted the page properly
Nishanth Amuluru <nishanth@fossee.in>
parents: 291
diff changeset
    49
        </div>
5aca9d92ccbb removed the css code from base.html and formatted the page properly
Nishanth Amuluru <nishanth@fossee.in>
parents: 291
diff changeset
    50
        <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
    51
        </div>
5aca9d92ccbb removed the css code from base.html and formatted the page properly
Nishanth Amuluru <nishanth@fossee.in>
parents: 291
diff changeset
    52
    </div>
5aca9d92ccbb removed the css code from base.html and formatted the page properly
Nishanth Amuluru <nishanth@fossee.in>
parents: 291
diff changeset
    53
    <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
    54
    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
    55
    </div>
5aca9d92ccbb removed the css code from base.html and formatted the page properly
Nishanth Amuluru <nishanth@fossee.in>
parents: 291
diff changeset
    56
</div> 
291
5daf523e20b4 added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents: 255
diff changeset
    57
255
2bca2008fbe3 Added base.htm;
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    58
</body>
2bca2008fbe3 Added base.htm;
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    59
</html>