comparison gpp/templates/weblinks/view_links.html @ 165:952e05cb3d80

Implement #49; use POST for updating link hit counts. Also refactored a bit and use javascript to report broken links.
author Brian Neal <bgneal@gmail.com>
date Sun, 03 Jan 2010 04:15:14 +0000
parents dbd703f7d63a
children 2baadae33f2e
comparison
equal deleted inserted replaced
164:f7a6b8fe4556 165:952e05cb3d80
1 {% extends 'weblinks/base.html' %} 1 {% extends 'weblinks/base.html' %}
2 {% block title %}Web Links: {{ category.title }}{% endblock %} 2 {% block title %}Web Links: {{ category.title }}{% endblock %}
3 {% block weblinks_css %} 3 {% block weblinks_css %}
4 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/tab-nav.css" /> 4 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/tab-nav.css" />
5 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/pagination.css" /> 5 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/pagination.css" />
6 {% endblock %}
7 {% block weblinks_js %}
8 <script type="text/javascript" src="{{ MEDIA_URL }}js/weblinks.js"></script>
6 {% endblock %} 9 {% endblock %}
7 {% block weblinks_content %} 10 {% block weblinks_content %}
8 <h3>Category: {{ category.title }}</h3> 11 <h3>Category: {{ category.title }}</h3>
9 12
10 {% if page.object_list %} 13 {% if page.object_list %}