diff options
Diffstat (limited to 'app/sightings/templates')
-rw-r--r-- | app/sightings/templates/sightings/life-list.html | 23 | ||||
-rw-r--r-- | app/sightings/templates/sightings/not_life_list.html | 19 |
2 files changed, 42 insertions, 0 deletions
diff --git a/app/sightings/templates/sightings/life-list.html b/app/sightings/templates/sightings/life-list.html new file mode 100644 index 0000000..8b11d8e --- /dev/null +++ b/app/sightings/templates/sightings/life-list.html @@ -0,0 +1,23 @@ +{% extends 'base.html' %} +{% load typogrify_tags %} +{% load pagination_tags %} + +{% block pagetitle %}Luxagraf | Birding Life List {% if region %}in {{region.name|title|smartypants|safe}}{%else%}by {{user}}{%endif%}{% if page != "1" %} -- Page {{page}}{%endif%}{% endblock %} +{% block metadescription %}Briding Life List {% if region %} in {{region.name|title|smartypants|safe}}{%else%}by {{user}}{%endif%} Page {{page}}{% endblock %} +{%block bodyid%}id="birds"{%endblock%} +{% block breadcrumbs %}{% include "lib/breadcrumbs.html" with breadcrumbs=breadcrumbs %}{% endblock %} +{% block primary %} + <main class="archive-wrapper"> + <div class="archive-intro"> + <h1 class="hide">Birds Life List</h1> + <h4>Current Total: {{object_list|length}}</h4> + <div> + <ul class="archive-list">{% for object in object_list %} + <li class=""><a href="{{object.ap.get_absolute_url}}" title="{{object.ap}}">{{object.ap|safe|smartypants|widont}}</a></li> + {% endfor %}</ul> + </main> +{% endblock %} + + + +{% block js %}<script src="/media/js/hyphenate.min.js" type="text/javascript"></script>{% endblock%} diff --git a/app/sightings/templates/sightings/not_life_list.html b/app/sightings/templates/sightings/not_life_list.html new file mode 100644 index 0000000..c63960e --- /dev/null +++ b/app/sightings/templates/sightings/not_life_list.html @@ -0,0 +1,19 @@ +{% extends 'base.html' %} +{% load typogrify_tags %} +{% load pagination_tags %} + +{% block pagetitle %}Luxagraf | Plants and Animals seen {% if region %}in {{region.name|title|smartypants|safe}}{%else%}by {{user}}{%endif%}{% if page != "1" %} -- Page {{page}}{%endif%}{% endblock %} +{% block metadescription %}Plants and Animals seen {% if region %} in {{region.name|title|smartypants|safe}}{%else%}by {{user}}{%endif%} Page {{page}}{% endblock %} +{% block breadcrumbs %}{% include "lib/breadcrumbs.html" with breadcrumbs=breadcrumbs %}{% endblock %} +{% block primary %} + <main class="archive-wrapper"> + <h1 class="hide">Plants and Animals seen {% if region %}in {%if region.name == 'United States'%}the United States{%else%}{{region.name|title|smartypants|safe}}{%endif%}{%else%} by {{user}}{%endif%}</h1> {% for object in object_list %} + <ul class="archive-list"> + <li class="card-hed-smit"><a href="{{object.get_absolute_url}}" title="{{object}}">{{object|safe|smartypants|widont}}</a></li> + </ul> {% endfor %} + </main> +{% endblock %} + + + +{% block js %}<script src="/media/js/hyphenate.min.js" type="text/javascript"></script>{% endblock%} |