templates/base.html
author nishanth
Tue, 13 Apr 2010 14:50:48 +0530
changeset 26 9d18daf5277f
parent 18 7dae32a2439b
child 69 b977321ccf6c
permissions -rw-r--r--
now the "you must register" link appears on view event page .
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
14
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
     1
<html>
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
     2
<head>
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
     3
<title>
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
     4
{% block title %}
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
     5
Workshop App
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
     6
{% endblock %}
16
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
     7
</title>
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
     8
<style type="text/css">
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
     9
        body {
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    10
        font-family: Verdana, Arial, Helvetica, sans-serif;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    11
        font-size: 16px;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    12
        background-color: #ffffee;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    13
        text-align: left;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    14
        margin: 0px;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    15
        padding: 20px 0px 20px 0px;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    16
        }
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    17
        #wrapper {
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    18
        width: 956px;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    19
        padding: 10px;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    20
        margin: 0px auto 0px auto;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    21
        height: auto;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    22
        text-align: left;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    23
        border: 1px solid #ddd;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    24
        }
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    25
        #header {
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    26
        margin: 0px;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    27
        padding: 5px 0px 5px 0px;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    28
        height: auto;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    29
        width: auto;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    30
        text-align: center;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    31
        background-color: #f1f1f1;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    32
        }
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    33
        #container {
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    34
        padding: 0px;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    35
        margin: 10px 0px 0px 0px;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    36
        background-attachment: scroll;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    37
        background-image: url(back.gif);
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    38
        background-repeat: repeat-y;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    39
        background-position: 0px 0px;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    40
        height: auto; #default was 1%
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    41
        width: auto;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    42
        }
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    43
        #left {
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    44
        margin: 0px;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    45
        width: 160px;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    46
        padding: 10px 20px 10px 20px;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    47
        float: left;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    48
        }
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    49
        #nav {
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    50
        margin: 0px;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    51
        padding: 0px;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    52
        list-style-image: none;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    53
        list-style-type: none;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    54
        }
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    55
        #nav li {
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    56
        margin: 0px;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    57
        padding: 0px;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    58
        display: block;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    59
        background-attachment: scroll;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    60
        background-repeat: no-repeat;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    61
        background-position: 0px 50%;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    62
        }
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    63
        #nav li a:link, #nav li a:visited, #nav li a:active {
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    64
        color: #666;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    65
        text-decoration: none;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    66
        display: block;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    67
        margin: 0px;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    68
        padding: 3px 15px 3px 15px;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    69
        width: 130px;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    70
        }
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    71
        #nav li a:hover {
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    72
        color: #999;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    73
        text-decoration: none;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    74
        }
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    75
        #center {
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    76
        height: auto;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    77
        width: 900px;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    78
        padding: 10px 20px 10px 20px;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    79
        float: left;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    80
        margin: 0px 0px 0px 6px;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    81
        line-height: 1.8em;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    82
        }
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    83
        h1 {
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    84
        font-size: 14px;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    85
        margin: 0px;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    86
        padding: 0px;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    87
        }
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    88
        #right {
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    89
        padding: 10px 20px 10px 20px;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    90
        height: auto;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    91
        width: 160px;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    92
        float: left;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    93
        margin: 0px 0px 0px 6px;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    94
        }
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    95
        .clearer {
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    96
        font-size: 0px;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    97
        line-height: 0px;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    98
        display: block;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
    99
        margin: 0px;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
   100
        padding: 0px;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
   101
        clear: both;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
   102
        height: 0px;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
   103
        width: auto;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
   104
        }
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
   105
        #footer {
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
   106
        margin: 10px 0px 0px 0px;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
   107
        text-align: left;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
   108
        padding: 5px 0px 5px 0px;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
   109
        background-color: #f1f1f1;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
   110
        }
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
   111
        #footer p {
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
   112
        color: #999;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
   113
        margin: 0px auto 0px auto;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
   114
        padding: 0px;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
   115
        }
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
   116
        #footer a:link, #footer a:visited, #footer a:active {
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
   117
        color: #999;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
   118
        text-decoration: none;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
   119
        }
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
   120
        #footer a:hover {
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
   121
        color: #ccc;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
   122
        text-decoration: none;
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
   123
        }
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
   124
</style>
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
   125
</head>
14
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
   126
<body>
16
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
   127
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
   128
<div id="left">
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
   129
	<ul id="nav">
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
   130
	<li><a href="/reg">Home</a></li>
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
   131
	{% if user.is_authenticated %}
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
   132
<!--		Welcome {{user.get_full_name}} -->
17
125b6fc8f20b users can view and edit profile .
nishanth
parents: 16
diff changeset
   133
		<li><a href="/reg/profile/view">My Profile</a></li>
16
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
   134
		<li><a href="/reg/logout">Logout</a></li>
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
   135
	{% else %}
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
   136
		<li><a href="/reg/login/">Login</a></li>
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
   137
		<li><a href="/reg/register/">Register</a></li>
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
   138
	{% endif %}
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
   139
	<br />
18
7dae32a2439b prettified the home page and moved workshops to another page called workshops.
nishanth
parents: 17
diff changeset
   140
	<li><a href="/reg/event/list">Workshops</a></li>
16
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
   141
	</ul>
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
   142
</div>
14
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
   143
<br />
16
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
   144
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
   145
<div id="center">
14
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
   146
{% block content %}
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
   147
{% endblock %}
16
bef53aaf9085 phew finally IRC came to rescue. fixed a bug that took most of my time.
nishanth
parents: 15
diff changeset
   148
</div>
14
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
   149
</body>
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
   150
</html>