Mercurial > public > sg101
comparison gpp/templates/polls/poll_results.html @ 312:88b2b9cb8c1f
Fixing #142; cut over to the django.contrib.staticfiles app.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 27 Jan 2011 02:56:10 +0000 |
parents | daa2916f5b34 |
children | 1f139de929c4 |
comparison
equal
deleted
inserted
replaced
311:b1c39788e511 | 312:88b2b9cb8c1f |
---|---|
2 {% load url from future %} | 2 {% load url from future %} |
3 {% load comment_tags %} | 3 {% load comment_tags %} |
4 {% load script_tags %} | 4 {% load script_tags %} |
5 {% block title %}Poll Results: {{ poll.question }}{% endblock %} | 5 {% block title %}Poll Results: {{ poll.question }}{% endblock %} |
6 {% block custom_css %} | 6 {% block custom_css %} |
7 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/polls.css" /> | 7 <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/polls.css" /> |
8 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/comments.css" /> | 8 <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/comments.css" /> |
9 {% endblock %} | 9 {% endblock %} |
10 {% block custom_js %} | 10 {% block custom_js %} |
11 {% if poll.is_open %} | 11 {% if poll.is_open %} |
12 {% script_tags "markitup jquery-ui" %} | 12 {% script_tags "markitup jquery-ui" %} |
13 <script type="text/javascript" src="{{ MEDIA_URL }}js/comments.js"></script> | 13 <script type="text/javascript" src="{{ STATIC_URL }}js/comments.js"></script> |
14 {% endif %} | 14 {% endif %} |
15 {% endblock %} | 15 {% endblock %} |
16 {% block content %} | 16 {% block content %} |
17 <h2>Polls</h2> | 17 <h2>Polls</h2> |
18 <h3>{{ poll.question }}</h3> | 18 <h3>{{ poll.question }}</h3> |