{# DataTablePagination, from shadcn's Tasks example: selection count left, then rows-per-page, the page indicator and the four jump buttons right. It always renders, even for a single page: the row count and the rows-per-page control are useful with nothing to page through, and a footer that vanishes makes the table appear to jump as you filter. Every URL is precomputed, so this template assembles no query strings, and each is a real href as well as an hx-get, so paging works with JS off. Included, not a macro, so it shares list_content.html's context. #} {% from "admin/components/icons.html" import icon %} {% set swap = 'hx-target="#resource-list" hx-select="#resource-list" hx-swap="outerHTML" hx-push-url="true"' %}