jmcclell / django-bootstrap-pagination

Django template tag for rendering Page objects as Bootstrap pagination HTML
MIT License
212 stars 83 forks source link

Add some visual cue that not all pages are being displayed #49

Open kvdveer opened 8 years ago

kvdveer commented 8 years ago

I'm using the paginator with range 10 on a set of 1500 pages. The fact that there are more than 10 pages is not visually clear at all.

I'd propose something like:

<   1   2   3   4   5   6   7   8   9   10  ...  >

and if you've browsed beyond the tenth page, add an ellipsis at the left hand side as well.

<  ... 12  13  14  15  16  17  18  19  20  21  ...  >

An extension of this idea could be to also add larger page skips, although bootstrap does not provide a way to style those. I'm not set on the UX fot this idea, but these page skips could look like: optionally extended with drop downs?

<  1  2  3  4  5  6   7  8  9 10 *20 *30 *40 >