-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathgrid_list.html
More file actions
55 lines (50 loc) · 2.29 KB
/
grid_list.html
File metadata and controls
55 lines (50 loc) · 2.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{% extends "base.html" %}
{% load i18n %}
{% load static %}
{% block title %}{% trans "Boost Libraries" %}{% endblock %}
{% block description %}{% trans "Explore our comprehensive list of 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" %}
{% if object_list %}
{# alert for non-current Boost versions #}
{% include "libraries/includes/version_alert.html" %}
{# Libraries list #}
<div class="grid grid-cols-1 gap-4 mb-5 md:grid-cols-2 lg:grid-cols-3">
{% for library_version in object_list %}
{% include "libraries/_library_grid_list_item.html" %}
{% endfor %}
</div>
{# end libraries list #}
{# Tools section #}
<div id="tools" class="mt-8 mb-5">
<h2 class="text-2xl md:text-3xl font-bold text-orange mb-2">Tools</h2>
<p class="text-gray-600 dark:text-gray-400 mb-4">Boost developers, testers, and maintainers have developed various programs to help with the administration of the Boost Libraries. Like everything else about Boost, these tools are available in source form, and are part of the regular Boost distribution.</p>
<div class="grid grid-cols-1 gap-4 md:grid-cols-2 lg:grid-cols-3">
{% for tool in tools %}
{% include "libraries/_tool_grid_list_item.html" %}
{% endfor %}
</div>
</div>
{# end tools section #}
{% 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 %}
{% else %}
<div>
No library records available at this time. Check back later.
</div>
{% endif %}
</main>
{% endblock %}