-
Notifications
You must be signed in to change notification settings - Fork 753
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
pager with bootstrap theme #1348
Comments
noticed a few other things for the bootstrap3 being wrong.. its form-inline not horz.. and so on.. heres my html I'm using which you could probably use (adjust the colspan)..
now things are nice and aligned and the button images dont look so crappy.. similar to the image below.. just doesnt have the layout they do |
or even something simple like: |
Hi @thezoggy! Yeah, Bootstrap is a mess... I'll look into it. As for the alternate pager style, there is a custom pagination (beta) demo which I recently updated. I have been thinking about making a separate pager plugin - not a widget, and separate from tablesorter - which allows you to choose the type of pager controls. It'll be one step closer to separation of the ajax and pager functions. |
And I think we've heard that Bootstrap 4 is coming for about a year now. |
Added a Bootstrap v4.x demo. I'll update it again when the beta, then stable versions are released. And yes, I know those are fugly pager arrows... I just didn't bother to load in FontAwesome. |
https://mottie.github.io/tablesorter/docs/example-widget-bootstrap-theme-v2.html
https://mottie.github.io/tablesorter/docs/example-widget-bootstrap-theme.html
you do the same html for both.. and have both classes listed in each..
<button type="button" class="btn first"><i class="icon-step-backward glyphicon glyphicon-step-backward"></i></button>
icon-*
== bootstrap 2glyphicon
== bootstrap 3also you do things like
input-mini
which is bootstrap 2.. and not in 3.xso each of these should probably be cleaned up so they reflect their versions..
in case you need it: http://getbootstrap.com/migration/
also there is bootstrap 4 soonish..
if someone wanted to do the pager how datatables does it for their bootstrap:
https://datatables.net/examples/styling/bootstrap.html
can that be done?
separating the limit from the pagination navigation..
also, notice how the filter/lack of filter changes the wording depending on if its being used or not..
The text was updated successfully, but these errors were encountered: