| 1 | <!DOCTYPE html> |
| 2 | <meta charset="utf-8"> |
| 3 | <title>{% block title %}Report{% endblock %}</title> |
| 4 | <style> |
| 5 | body { |
| 6 | font-size: 12px; |
| 7 | font-family: sans-serif; |
| 8 | } |
| 9 | |
| 10 | table { |
| 11 | border-collapse: collapse; |
| 12 | border-color: #ccc; |
| 13 | } |
| 14 | |
| 15 | td, th { |
| 16 | line-height: 13px; |
| 17 | border-bottom: 1px solid #eee; |
| 18 | padding: 5px; |
| 19 | } |
| 20 | |
| 21 | td { |
| 22 | font-size: 11px; |
| 23 | line-height: 13px; |
| 24 | border-bottom: 1px solid #eee; |
| 25 | vertical-align: top; |
| 26 | } |
| 27 | |
| 28 | th { |
| 29 | font-size: 12px; |
| 30 | font-weight: bold; |
| 31 | vertical-align: bottom; |
| 32 | text-align: left; |
| 33 | } |
| 34 | |
| 35 | tr.alt { |
| 36 | background: #f6f6f6; |
| 37 | } |
| 38 | {% block css %}{% endblock %} |
| 39 | </style> |
| 40 | |
| 41 | <h1>{% block heading %}Report{% endblock %}</h1> |
| 42 | |
| 43 | {% block content %}{% endblock %} |
| 44 | |
| 45 | {% if report_page %}{% if report_page.has_previous or report_page.has_next %} |
| 46 | <div class="pagination"> |
| 47 | <span class="step-links"> |
| 48 | {% if report_page.has_previous %} |
| 49 | <a href="?page={{ report_page.previous_page_number }}" rel="prev">[previous]</a> |
| 50 | {% endif %} |
| 51 | |
| 52 | <span class="current"> |
| 53 | Page {{ report_page.number }} of {{ report_page.paginator.num_pages }} |
| 54 | </span> |
| 55 | |
| 56 | {% if report_page.has_next %} |
| 57 | <a href="?page={{ report_page.next_page_number }}" rel="next">[next]</a> |
| 58 | {% endif %} |
| 59 | </span> |
| 60 | </div> |
| 61 | {% endif %}{% endif %} |