author | Madhusudan.C.S <madhusudancs@gmail.com> |
Sun, 16 Jan 2011 17:04:13 +0530 | |
changeset 425 | e15749fab2e4 |
parent 417 | b37e541bf950 |
child 433 | b8b8337efbb8 |
permissions | -rw-r--r-- |
255 | 1 |
<html> |
2 |
<head> |
|
3 |
<title>{% block title %}PyTasks{% endblock %}</title> |
|
425
e15749fab2e4
Restructured create form to use templatetags and use Javascript for autcomplete.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
417
diff
changeset
|
4 |
{% comment %}Load site wide CSS here. Additional styling must be |
e15749fab2e4
Restructured create form to use templatetags and use Javascript for autcomplete.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
417
diff
changeset
|
5 |
loaded in the block that follows{% endcomment %} |
395
5c6e2478663d
Fixed the path to use /pytask as the prefix.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
371
diff
changeset
|
6 |
<link rel=stylesheet href="/pytask/static/css/base.css" type="text/css" > |
425
e15749fab2e4
Restructured create form to use templatetags and use Javascript for autcomplete.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
417
diff
changeset
|
7 |
<link type="text/css" |
e15749fab2e4
Restructured create form to use templatetags and use Javascript for autcomplete.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
417
diff
changeset
|
8 |
href="/pytask/static/css/jquery/ui/cupertino/jquery-ui-1.8.8.custom.css" |
e15749fab2e4
Restructured create form to use templatetags and use Javascript for autcomplete.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
417
diff
changeset
|
9 |
rel="stylesheet" /> |
e15749fab2e4
Restructured create form to use templatetags and use Javascript for autcomplete.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
417
diff
changeset
|
10 |
{% block css %} |
e15749fab2e4
Restructured create form to use templatetags and use Javascript for autcomplete.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
417
diff
changeset
|
11 |
{% endblock %} |
e15749fab2e4
Restructured create form to use templatetags and use Javascript for autcomplete.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
417
diff
changeset
|
12 |
|
e15749fab2e4
Restructured create form to use templatetags and use Javascript for autcomplete.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
417
diff
changeset
|
13 |
{% comment %}Load site wide javascript here. Additional scripts must |
e15749fab2e4
Restructured create form to use templatetags and use Javascript for autcomplete.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
417
diff
changeset
|
14 |
be loaded in the block that follows{% endcomment %} |
e15749fab2e4
Restructured create form to use templatetags and use Javascript for autcomplete.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
417
diff
changeset
|
15 |
<script type="text/javascript" |
e15749fab2e4
Restructured create form to use templatetags and use Javascript for autcomplete.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
417
diff
changeset
|
16 |
src="/pytask/static/jquery/jquery-1.4.4.min.js"> |
e15749fab2e4
Restructured create form to use templatetags and use Javascript for autcomplete.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
417
diff
changeset
|
17 |
</script> |
e15749fab2e4
Restructured create form to use templatetags and use Javascript for autcomplete.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
417
diff
changeset
|
18 |
<script type="text/javascript" |
e15749fab2e4
Restructured create form to use templatetags and use Javascript for autcomplete.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
417
diff
changeset
|
19 |
src="/pytask/static/jquery/jquery-ui-1.8.8.custom.min.js"> |
e15749fab2e4
Restructured create form to use templatetags and use Javascript for autcomplete.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
417
diff
changeset
|
20 |
</script> |
e15749fab2e4
Restructured create form to use templatetags and use Javascript for autcomplete.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
417
diff
changeset
|
21 |
{% block js %} |
e15749fab2e4
Restructured create form to use templatetags and use Javascript for autcomplete.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
417
diff
changeset
|
22 |
{% endblock %} |
255 | 23 |
</head> |
298
696309b5ad59
created a tag and used it in the template
Nishanth Amuluru <nishanth@fossee.in>
parents:
295
diff
changeset
|
24 |
{% load user_tags %} |
255 | 25 |
<body> |
294
5aca9d92ccbb
removed the css code from base.html and formatted the page properly
Nishanth Amuluru <nishanth@fossee.in>
parents:
291
diff
changeset
|
26 |
<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
|
27 |
<div id="header"> |
417
b37e541bf950
Manipulate all the templates to use {% url %} templatetag instead of hard coded URLs.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
395
diff
changeset
|
28 |
<h2><a href="{% url home_page %}">PyTasks</a></h2> |
294
5aca9d92ccbb
removed the css code from base.html and formatted the page properly
Nishanth Amuluru <nishanth@fossee.in>
parents:
291
diff
changeset
|
29 |
</div> |
291
5daf523e20b4
added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents:
255
diff
changeset
|
30 |
<div id="container"> |
5daf523e20b4
added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents:
255
diff
changeset
|
31 |
<div id="left"> |
5daf523e20b4
added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents:
255
diff
changeset
|
32 |
<ul id="nav"> |
417
b37e541bf950
Manipulate all the templates to use {% url %} templatetag instead of hard coded URLs.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
395
diff
changeset
|
33 |
<li><a href="{% url home_page %}" title="home">Home</a></li> |
364
2763afa1c2a2
home_page is now in some shape
Nishanth Amuluru <nishanth@fossee.in>
parents:
307
diff
changeset
|
34 |
<br /> |
417
b37e541bf950
Manipulate all the templates to use {% url %} templatetag instead of hard coded URLs.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
395
diff
changeset
|
35 |
<li><a href="{% url browse_tasks %}" title="tasks">Tasks</a></li> |
b37e541bf950
Manipulate all the templates to use {% url %} templatetag instead of hard coded URLs.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
395
diff
changeset
|
36 |
<li><a href="{% url browse_textbooks %}" title="textbook">Textbooks</a></li> |
291
5daf523e20b4
added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents:
255
diff
changeset
|
37 |
<br /> |
364
2763afa1c2a2
home_page is now in some shape
Nishanth Amuluru <nishanth@fossee.in>
parents:
307
diff
changeset
|
38 |
{% if user.is_authenticated %} |
417
b37e541bf950
Manipulate all the templates to use {% url %} templatetag instead of hard coded URLs.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
395
diff
changeset
|
39 |
<li><a href="{% url browse_notifications %}" title="notifications"> |
b37e541bf950
Manipulate all the templates to use {% url %} templatetag instead of hard coded URLs.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
395
diff
changeset
|
40 |
{{ user|notf_dsp }} |
291
5daf523e20b4
added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents:
255
diff
changeset
|
41 |
</a></li> |
5daf523e20b4
added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents:
255
diff
changeset
|
42 |
<br> |
417
b37e541bf950
Manipulate all the templates to use {% url %} templatetag instead of hard coded URLs.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
395
diff
changeset
|
43 |
<li><a href="{% url view_profile %}">Profile</a></li> |
b37e541bf950
Manipulate all the templates to use {% url %} templatetag instead of hard coded URLs.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
395
diff
changeset
|
44 |
<li><a href="{% url auth_logout %}">Logout</a></li> |
291
5daf523e20b4
added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents:
255
diff
changeset
|
45 |
{% else %} |
417
b37e541bf950
Manipulate all the templates to use {% url %} templatetag instead of hard coded URLs.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
395
diff
changeset
|
46 |
<li><a href="{% url registration_register %}" title="register">Register</a></li> |
b37e541bf950
Manipulate all the templates to use {% url %} templatetag instead of hard coded URLs.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
395
diff
changeset
|
47 |
<li><a href="{% url auth_login %}" title="login">Login</a></li> |
291
5daf523e20b4
added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents:
255
diff
changeset
|
48 |
{% endif %} |
5daf523e20b4
added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents:
255
diff
changeset
|
49 |
</ul> |
5daf523e20b4
added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents:
255
diff
changeset
|
50 |
</div> |
5daf523e20b4
added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents:
255
diff
changeset
|
51 |
<div id="center"> |
5daf523e20b4
added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents:
255
diff
changeset
|
52 |
{% block content %}This is the default content{% endblock %} |
5daf523e20b4
added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents:
255
diff
changeset
|
53 |
</div> |
294
5aca9d92ccbb
removed the css code from base.html and formatted the page properly
Nishanth Amuluru <nishanth@fossee.in>
parents:
291
diff
changeset
|
54 |
<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
|
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 class="clearer"> |
5aca9d92ccbb
removed the css code from base.html and formatted the page properly
Nishanth Amuluru <nishanth@fossee.in>
parents:
291
diff
changeset
|
57 |
</div> |
5aca9d92ccbb
removed the css code from base.html and formatted the page properly
Nishanth Amuluru <nishanth@fossee.in>
parents:
291
diff
changeset
|
58 |
</div> |
5aca9d92ccbb
removed the css code from base.html and formatted the page properly
Nishanth Amuluru <nishanth@fossee.in>
parents:
291
diff
changeset
|
59 |
<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
|
60 |
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
|
61 |
</div> |
5aca9d92ccbb
removed the css code from base.html and formatted the page properly
Nishanth Amuluru <nishanth@fossee.in>
parents:
291
diff
changeset
|
62 |
</div> |
291
5daf523e20b4
added styles to base.css
Nishanth Amuluru <nishanth@fossee.in>
parents:
255
diff
changeset
|
63 |
|
255 | 64 |
</body> |
65 |
</html> |