2021-01-20 23:14:58 +00:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% block title %}List{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<h2 class="text-bfobOrange font-bnto text-2xl">quote list</h2>
|
|
|
|
|
|
|
|
<div class="border-b border-bfobGray">
|
2021-01-21 00:49:22 +00:00
|
|
|
{% if page.has_previous %}<a href="?page={{ page.previous_page_number }}">prev</a>{% endif %}
|
|
|
|
{% if page.has_next %}{% if page.has_previous %} | {% endif %}<a href="?page={{ page.next_page_number }}">next</a>{% endif %}
|
2021-01-20 23:14:58 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
{% comment %}{% include "quotedb/_quote.html" %}{% endcomment %}
|
|
|
|
{% for quote in page %}
|
|
|
|
<div class="border-b border-bfobGray">
|
2021-01-21 00:49:22 +00:00
|
|
|
{% include "quotedb/_quote.html" %}
|
2021-01-20 23:14:58 +00:00
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
<div>
|
2021-01-21 00:49:22 +00:00
|
|
|
{% if page.has_previous %}<a href="?page={{ page.previous_page_number }}">prev</a>{% endif %}
|
|
|
|
{% if page.has_next %}{% if page.has_previous %} | {% endif %}<a href="?page={{ page.next_page_number }}">next</a>{% endif %}
|
2021-01-20 23:14:58 +00:00
|
|
|
</div>
|
|
|
|
{% endblock %}
|