templates/base.html
author nishanth
Wed, 24 Feb 2010 15:10:03 +0530
changeset 70 a14ec2f09beb
parent 68 624f9fd438e3
child 137 e56b95298254
permissions -rw-r--r--
removed unwanted links.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
12
a93eebabfeb1 created forms, views, templates, actions for home_page, browse_task.
nishanth
parents:
diff changeset
     1
<html>
a93eebabfeb1 created forms, views, templates, actions for home_page, browse_task.
nishanth
parents:
diff changeset
     2
<head>
a93eebabfeb1 created forms, views, templates, actions for home_page, browse_task.
nishanth
parents:
diff changeset
     3
    <title>{% block title %}PyTasks{% endblock %}</title>
68
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
     4
<style type="text/css">
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
     5
        body {
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
     6
        font-family: Verdana, Arial, Helvetica, sans-serif;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
     7
        font-size: 11px;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
     8
        color: #333;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
     9
        text-align: center;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    10
        margin: 0px;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    11
        padding: 20px 0px 20px 0px;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    12
        }
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    13
        #wrapper {
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    14
        width: 956px;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    15
        padding: 10px;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    16
        margin: 0px auto 0px auto;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    17
        height: auto;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    18
        text-align: left;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    19
        border: 1px solid #ddd;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    20
        }
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    21
        #header {
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    22
        margin: 0px;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    23
        padding: 0px;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    24
        height: 100px;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    25
        width: auto;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    26
        background-color: #f1f1f1;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    27
        }
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    28
        #container {
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    29
        padding: 0px;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    30
        margin: 10px 0px 0px 0px;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    31
        background-attachment: scroll;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    32
        background-image: url(back.gif);
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    33
        background-repeat: repeat-y;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    34
        background-position: 0px 0px;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    35
        height: auto; #default was 1%
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    36
        width: auto;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    37
        }
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    38
        #left {
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    39
        margin: 0px;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    40
        width: 160px;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    41
        padding: 10px 20px 10px 20px;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    42
        float: left;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    43
        }
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    44
        #nav {
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    45
        margin: 0px;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    46
        padding: 0px;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    47
        list-style-image: none;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    48
        list-style-type: none;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    49
        }
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    50
        #nav li {
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    51
        margin: 0px;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    52
        padding: 0px;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    53
        display: block;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    54
        background-attachment: scroll;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    55
        background-image: url(bullet.gif);
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    56
        background-repeat: no-repeat;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    57
        background-position: 0px 50%;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    58
        }
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    59
        #nav li a:link, #nav li a:visited, #nav li a:active {
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    60
        color: #666;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    61
        text-decoration: none;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    62
        display: block;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    63
        margin: 0px;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    64
        padding: 3px 15px 3px 15px;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    65
        width: 130px;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    66
        }
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    67
        #nav li a:hover {
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    68
        color: #999;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    69
        text-decoration: none;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    70
        }
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    71
        #center {
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    72
        height: auto;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    73
        width: 504px;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    74
        padding: 10px 20px 10px 20px;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    75
        float: left;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    76
        margin: 0px 0px 0px 6px;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    77
        line-height: 1.8em;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    78
        }
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    79
        h1 {
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    80
        font-size: 14px;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    81
        margin: 0px;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    82
        padding: 0px;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    83
        }
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    84
        #right {
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    85
        padding: 10px 20px 10px 20px;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    86
        height: auto;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    87
        width: 160px;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    88
        float: left;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    89
        margin: 0px 0px 0px 6px;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    90
        }
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    91
        .clearer {
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    92
        font-size: 0px;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    93
        line-height: 0px;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    94
        display: block;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    95
        margin: 0px;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    96
        padding: 0px;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    97
        clear: both;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    98
        height: 0px;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
    99
        width: auto;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
   100
        }
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
   101
        #footer {
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
   102
        margin: 10px 0px 0px 0px;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
   103
        text-align: center;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
   104
        padding: 15px 0px 15px 0px;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
   105
        background-color: #f1f1f1;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
   106
        }
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
   107
        #footer p {
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
   108
        color: #999;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
   109
        margin: 0px auto 0px auto;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
   110
        padding: 0px;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
   111
        }
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
   112
        #footer a:link, #footer a:visited, #footer a:active {
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
   113
        color: #999;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
   114
        text-decoration: none;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
   115
        }
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
   116
        #footer a:hover {
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
   117
        color: #ccc;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
   118
        text-decoration: none;
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
   119
        } 
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
   120
</style>
12
a93eebabfeb1 created forms, views, templates, actions for home_page, browse_task.
nishanth
parents:
diff changeset
   121
</head>
68
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
   122
12
a93eebabfeb1 created forms, views, templates, actions for home_page, browse_task.
nishanth
parents:
diff changeset
   123
<body>
68
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
   124
<div id="wrapper">
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
   125
    <div id="header">
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
   126
        <h2><a href="/">PyTasks</a></h2>
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
   127
    </div>
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
   128
    <div id="container">
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
   129
        <div id="left">
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
   130
        <ul id="nav">
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
   131
            <li><a href="/" title="home">home</a></li>
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
   132
            {% if user.is_authenticated %}
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
   133
                <li><a href="/task/browse/" title="tasks">tasks</a></li>
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
   134
                <li><a href="/user/notifications/" title="notifications">notifications</a></li>
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
   135
                <li><a href="/user/requests/" title="Requests">requests</a></li>
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
   136
                <br>
70
a14ec2f09beb removed unwanted links.
nishanth
parents: 68
diff changeset
   137
                <li><a href="/user/view/uid={{user.id}}">my profile</a></li>
68
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
   138
                <li><a href="/accounts/logout/">logout</a></li>
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
   139
            {% else %}
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
   140
                <li><a href="/accounts/login/" title="login">login</a></li>
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
   141
            {% endif %}
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
   142
        </ul>
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
   143
        </div>
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
   144
        <div id="center">
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
   145
            {% block content %}This is the default content{% endblock %}
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
   146
        </div>
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
   147
        <div id="right">
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
   148
            <!--{% if user.is_authenticated %}
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
   149
            <a href="/accounts/logout">logout</a> 
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
   150
            {% endif %}-->
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
   151
        </div>
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
   152
        <div class="clearer">
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
   153
        </div>
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
   154
    </div>
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
   155
    <div id="footer">
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
   156
    </div>
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
   157
</div> 
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
   158
624f9fd438e3 deleted unwanted code in user.py, added css for testing in base.html.
anoop
parents: 56
diff changeset
   159
</body>
12
a93eebabfeb1 created forms, views, templates, actions for home_page, browse_task.
nishanth
parents:
diff changeset
   160
</html>