mirror of
https://github.com/daniviga/django-ram.git
synced 2025-12-26 15:28:31 +01:00
* Fix a search filter when no catalogs are returned * Code refactoring to simplify templates * Remove duplicated code * Remove dead code * More improvements, clean up and add featured items in homepage * Fix a type and better page navigation
21 lines
677 B
HTML
21 lines
677 B
HTML
{% extends "pagination.html" %}
|
|
|
|
{% block header %}
|
|
<div class="text-body-secondary">{{ site_conf.about | safe }}</div>
|
|
{% endblock %}
|
|
{% block cards %}
|
|
{% for d in data %}
|
|
{% include "cards/roster.html" %}
|
|
{% endfor %}
|
|
{% endblock %}
|
|
|
|
{% block pagination %}
|
|
<nav aria-label="Page navigation">
|
|
<ul class="pagination flex-wrap justify-content-center mt-4 mb-0">
|
|
<li class="page-item">
|
|
<a class="page-link" href="{% url "roster" %}#main-content" tabindex="-1">Go to the roster <i class="bi bi-chevron-right"></i></a>
|
|
</li>
|
|
</ul>
|
|
</nav>
|
|
{% endblock %}
|