summaryrefslogtreecommitdiff
path: root/app/sightings/templates
diff options
context:
space:
mode:
Diffstat (limited to 'app/sightings/templates')
-rw-r--r--app/sightings/templates/sightings/year-list.html56
1 files changed, 56 insertions, 0 deletions
diff --git a/app/sightings/templates/sightings/year-list.html b/app/sightings/templates/sightings/year-list.html
new file mode 100644
index 0000000..2d75a56
--- /dev/null
+++ b/app/sightings/templates/sightings/year-list.html
@@ -0,0 +1,56 @@
+{% extends 'base.html' %}
+{% load typogrify_tags %}
+{% load pagination_tags %}
+
+{% block pagetitle %}Luxagraf | Birding {{year}} List{% endblock %}
+{% block metadescription %}Birding {{year}} List{% endblock %}
+{%block bodyid%}id="birds"{%endblock%}
+{% block breadcrumbs %}{% include "lib/breadcrumbs.html" with breadcrumbs=breadcrumbs %}{% endblock %}
+ <main class="archive-wrapper">
+ <div class="archive-intro">
+ <div>
+ <ul class="archive-list">{% for object in object_list %}
+ <li class=""></li>
+ {% endfor %}</ul>
+ </main>
+{% block primary %}
+<main class="content">
+ <div class="archive-intro">
+ <h1>Birds of {{year}}</h1>
+ <h3>Current Total: {{object_list|length}}</h3>
+ </div>
+<table class="sortable" id="result_list">
+<thead>
+<tr>
+<th scope="col" class="sortable column-title">
+ <div class="text"><span>Species</span></div>
+</th>
+<th scope="col" class="sortable column-title">
+ <div class="text"><span>Location</span></div>
+</th>
+<th scope="col" class="column-admin_url">
+ <div class="text"><span>Date</span></div>
+</th>
+</tr>
+</thead>
+<tbody>{% for object in object_list %}
+<tr>
+ <td class="field-title">
+ <a href="{{object.ap.get_absolute_url}}" title="{{object.ap}}">{{object.ap|safe|smartypants|widont}}</a>
+ </td>
+ <td class="field-admin_url">
+ {{object.location}}
+ </td>
+ <td class="field-admin_url">
+ {{object.pub_date}}
+ </td>
+</tr>
+{% endfor %}
+</tbody>
+</table>
+</div>
+</main>
+{% endblock %}
+{% block js %}
+<script src="/media/sortable.min.js"></script>
+{% endblock%}