mirror of
https://github.com/boostorg/website-v2.git
synced 2026-01-19 04:42:17 +00:00
48 lines
1.7 KiB
HTML
48 lines
1.7 KiB
HTML
{% extends "base.html" %}
|
|
{% load i18n %}
|
|
{% load static %}
|
|
|
|
{% block title %}{% trans "Boost Libraries by Name" %}{% endblock %}
|
|
{% block description %}{% trans "Explore the Boost C++ Libraries and discover tools for multithreading, image processing, testing, and more." %}{% endblock %}
|
|
|
|
|
|
{% block content %}
|
|
<main class="content">
|
|
{% include "libraries/includes/library_preferences.html" %}
|
|
|
|
{# alert for non-current Boost versions #}
|
|
{% include "libraries/includes/version_alert.html" %}
|
|
|
|
{# Libraries list #}
|
|
<div class="relative content-between p-3 w-full bg-white md:rounded-lg md:shadow-lg md:p-5 dark:bg-charcoal">
|
|
{% if category %}
|
|
<h5 class="pb-2 text-xl md:text-2xl leading-tight text-orange border-b border-gray-300 dark:border-slate">{{ category }}</h5>
|
|
{% endif %}
|
|
<table class="table-auto w-full">
|
|
<tbody>
|
|
{% for library_version in object_list %}
|
|
{% include "libraries/_library_vertical_list_item.html" %}
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
{# end libraries list #}
|
|
|
|
{% if page_obj.paginator %}
|
|
{# Pagination #}
|
|
<div class="space-x-3 text-center">
|
|
{% if page_obj.has_previous %}
|
|
<a href="?page=1" class="text-orange"><small> << First</small></a>
|
|
<a href="?page={{ page_obj.previous_page_number }}" class="text-orange"><small> < Previous</small> </a>
|
|
{% endif %}
|
|
{% if page_obj.has_next %}
|
|
<a href="?page={{ page_obj.next_page_number }}" class="text-orange"><small>Next <small> > </small></a>
|
|
<a href="?page={{ page_obj.paginator.num_pages }}" class="text-orange">Last <small> >></small></a>
|
|
{% endif %}
|
|
</div>
|
|
{# end pagination #}
|
|
{% endif %}
|
|
|
|
</main>
|
|
{% endblock %}
|