From 7dcb0a3eaad42582f332b3928f771599a4818561 Mon Sep 17 00:00:00 2001 From: sanj Date: Mon, 20 Dec 2010 03:23:18 +0530 Subject: [PATCH] scrollee for the resources page --- itf/erang_organised/urls.py | 2 +- itf/erang_organised/views.py | 2 ++ itf/static/js/itf.js | 5 +++-- itf/templates/resources.html | 16 +++++++++++++--- 4 files changed, 19 insertions(+), 6 deletions(-) diff --git a/itf/erang_organised/urls.py b/itf/erang_organised/urls.py index 139f22f..f3c20d4 100644 --- a/itf/erang_organised/urls.py +++ b/itf/erang_organised/urls.py @@ -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), ) diff --git a/itf/erang_organised/views.py b/itf/erang_organised/views.py index b5c3101..3626d21 100644 --- a/itf/erang_organised/views.py +++ b/itf/erang_organised/views.py @@ -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") +''' diff --git a/itf/static/js/itf.js b/itf/static/js/itf.js index f53ce71..4a60bb1 100644 --- a/itf/static/js/itf.js +++ b/itf/static/js/itf.js @@ -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; diff --git a/itf/templates/resources.html b/itf/templates/resources.html index 2a0e05b..a5f392c 100644 --- a/itf/templates/resources.html +++ b/itf/templates/resources.html @@ -2,7 +2,15 @@ {% block title %} India Theatre Forum - Resources {% endblock %} - + {% block extra_head %} + + + + {% endblock %} {% block leftCol %}