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'^$', views.home),
(r'^subscribe/$', views.subscribe), (r'^subscribe/$', views.subscribe),
(r'^search/$', views.search), (r'^search/$', views.search),
(r'^postfeedback/$', views.postfeedback), # (r'^postfeedback/$', views.postfeedback),
(r'^issue_list/$', views.issue_list), (r'^issue_list/$', views.issue_list),
) )

View File

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

View File

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

View File

@ -2,7 +2,15 @@
{% block title %} {% block title %}
India Theatre Forum - Resources India Theatre Forum - Resources
{% endblock %} {% 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 %} {% block leftCol %}
<ul id="leftNav"> <ul id="leftNav">
@ -25,13 +33,15 @@
<div class="centerText"> <div class="centerText">
{% for r in resources %} {% for r in resources %}
<div class="objWrapper"> <div class="objWrapper">
<div class="titleLink"> <div class="titleLink pName">
<a href="/static/{{r.file}}" target="_blank">{{ r.title }}</a> {{ r.title }}
</div> </div>
<div class="intro"> <div class="intro">
{% autoescape off %} {% autoescape off %}
{{ r.intro }} {{ r.intro }}
{% endautoescape %} {% endautoescape %}
<br />
<a href="/static/{{r.file}}" target="_blank">Download Full Text</a>
</div> </div>
</div> </div>
{% endfor %} {% endfor %}