handlers.pagination module
- handlers.pagination.build_pagination_row(page, total_items, page_size, callback_prefix)[מקור]
Return a row of pagination buttons [prev,next] or None if not needed.
page: current 1-based page index
total_items: total number of items
page_size: items per page
callback_prefix: for example
files_page_→ formats as{prefix}{page_num}