Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A more "consistent" layout concept #32

Open
mindeffects opened this issue Sep 16, 2016 · 0 comments
Open

A more "consistent" layout concept #32

mindeffects opened this issue Sep 16, 2016 · 0 comments

Comments

@mindeffects
Copy link

Maybe some "small" things on getPage, which not only I might find nice to have:

  • Some "range impression" for the user in the form of having a "..." next to "last" which should not say "last" but "1" and "n": [1] ... [ x pages] ... [n]
  • The "pev" and "next" could be the corner elements: [<] ... [>]
  • The "number of pages shown" should be constant and take "..." into account.
  • The active page should still be the center element, if possible (having enough elements on the left and right) or move to the outer element

Or short: Something like this with _X_ being the active element:

[ < ] [_1_] [ 2 ] [ 3 ] [ 4 ] [ 5 ] [ 6 ] [ 7 ] [...] [ 34] [ > ]
[ < ] [ 1 ] [...] [ 5 ] [ 6 ] [_7_] [ 8 ] [ 9 ] [...] [ 34] [ > ]
[ < ] [...] [ 27] [ 28] [ 29] [_30] [ 31] [ 32] [ 33] [ 34] [ > ]

Just thinking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant