scrollee for the resources page

This commit is contained in:
sanj 2010-12-20 03:23:18 +05:30
parent 109c9dbf90
commit 7dcb0a3eaa
4 changed files with 19 additions and 6 deletions

View File

@ -8,6 +8,6 @@ urlpatterns = patterns('',
(r'^$', views.home),
(r'^subscribe/$', views.subscribe),
(r'^search/$', views.search),
(r'^postfeedback/$', views.postfeedback),
# (r'^postfeedback/$', views.postfeedback),
(r'^issue_list/$', views.issue_list),
)

View File

@ -87,6 +87,7 @@ def search(terms):
return issues
'''
'''
def postfeedback(request):
p = request.POST
issue = p.get("issue")
@ -102,3 +103,4 @@ def postfeedback(request):
""" % (issue, name, email, comment,)
send_mail("eRang Feedback", txt, "do-not-reply@theatreforum.in", ['sanjaybhangar@gmail.com', 'erang@theatreforum.in'])
return HttpResponse("1")
'''

View File

@ -309,7 +309,7 @@ BEGIN mainPanel
});
for (var i=0; i<25; i++) {
var content = new Ox.Element().html('newsfeed content goes here');
c.$content.append(content);
c.append(content);
}
return c;
},
@ -317,7 +317,8 @@ BEGIN mainPanel
'aboutBox': function() {
var id = 'aboutBox';
var c = app.$ui[id] = new Ox.Container({
id: id
id: id,
title: 'About'
});
c.$content.html("about goes here");
return c;

View File

@ -2,7 +2,15 @@
{% block title %}
India Theatre Forum - Resources
{% endblock %}
{% block extra_head %}
<link type="text/css" rel="stylesheet" href="/static/css/people.css" />
<style type="text/css">
.intro {
display: none;
}
</style>
<script type="text/javascript" src="/static/js/people.js"></script>
{% endblock %}
{% block leftCol %}
<ul id="leftNav">
@ -25,13 +33,15 @@
<div class="centerText">
{% for r in resources %}
<div class="objWrapper">
<div class="titleLink">
<a href="/static/{{r.file}}" target="_blank">{{ r.title }}</a>
<div class="titleLink pName">
{{ r.title }}
</div>
<div class="intro">
{% autoescape off %}
{{ r.intro }}
{% endautoescape %}
<br />
<a href="/static/{{r.file}}" target="_blank">Download Full Text</a>
</div>
</div>
{% endfor %}