Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Pagination Javascript Component #5042

Closed
wants to merge 94 commits into from
@parisholley

Provided a simple javascript pagination component that works with the pagination component provided by bootstrap. I have provided tests and documentation. Let me know if you have suggestions and I will get them in there!

insanelyus and others added some commits
@insanelyus insanelyus Added Medias code and documentation
Added media.less and edited bootstrap.less and responsive.less to manage media components.

Added a section to the documentation (Media, in components.html) outlining how Medias work. Edited bootstrap.css and bootstrap-responsive.css to add the code for the demos

Signed-off-by: Giuliano Velli <wpbrains@giusi.org>
f5fd5e7
@insanelyus insanelyus Added Medias code and documentation
Fix for Issue #1711

Added media.less and edited bootstrap.less and responsive.less to
manage media components.

Added a section to the documentation (Media, in components.html) outlining how Medias work. Edited bootstrap.css and bootstrap-responsive.css to add the code for the demos

Signed-off-by: Giuliano Velli <wpbrains@giusi.org>
4fbb400
@insanelyus insanelyus Merge branch 'media-component' of github.com:wpbrains/bootstrap into …
…media-component

Conflicts:
	docs/components.html

Signed-off-by: Giuliano Velli <wpbrains@giusi.org>
3aa89de
@spantaleev spantaleev Do not force white icons in active tab links
Active `.nav-tabs` elements are not blue (like pills),
so forcing a white icon there is not appropriate.
5ff5d35
@mdo mdo version bump to get this started 08b8571
@mdo mdo rebuild after merge dfb3175
@mdo mdo Merge branch 'spantaleev-patch-1' into 2.1.2-wip 3fa4ca2
@mdo mdo fixes #4996: incorrect border radius on a table d4a16d3
Ramiro Morales Fix small documentatio typos. 138b5a8
@insanelyus insanelyus Modified the file to conform to bootstrap standards and fix an IE7 cs…
…s selector issue

Signed-off-by: Giuliano Velli <giuliano@giusi.org>
7762a77
@giuliano giuliano Merge branch 'media-component' of github.com:wpbrains/bootstrap into …
…media-component
501a2d6
@dionysiosarvanitis dionysiosarvanitis remove offset margin in row-fluid mobile layout cc4f8b9
@mdo mdo fixes #5010: .pager span selector should be scoped to immediate child…
…ren only
7a0f5c6
@mdo mdo Merge branch 'tiny-typos' of https://github.com/ramiro/bootstrap into…
… ramiro-tiny-typos
6c5c3c8
@mdo mdo fixes #5018: .btn-block in .modal-footer no longer has left margin f2bd7d9
@mdo mdo fixes #5020: submenu support in dropup 61332d7
@mdo mdo Merge branch 'dionysiosarvanitis-master' into 2.1.2-wip 1f8e2d2
@mdo mdo run make after merging #5028, which removes the left margin of respon…
…sive fluid grid offsets
f29f985
@parisholley parisholley add pagination javascript component 0d76eea
@parisholley parisholley ran another build 7134136
@parisholley parisholley hide/show pagination based on need, ability to refresh if dynamicly a…
…dded content
a3a88f1
@parisholley parisholley ignore commands if pagination hasn't successfully ran yet 0cdad3b
@parisholley parisholley fixed paged content when navigation is hidden but not all of the page…
…d content is revealed
c2d7792
@GeoffYoung GeoffYoung Updated sample markup to reflect live demo. 76e42ed
@mdo mdo Merge pull request #5051 from GeoffYoung/2.1.2-wip
Update modal example code to match example
10faf28
@mdo mdo fixes #5064 manually: remove fancy quote mark cd2b12f
@mdo mdo fixes #5059 manually: include media type in css getting started block 39791a8
@mdo mdo fixes #5040 manually: remove overflow: auto; from .modal to resolve s…
…poradic modal right padding issues with scrollbars
0489c70
@bcamp1973 bcamp1973 Updated pagination to support .pagination-large, .pagination-small, .…
…pagination-mini matching button sizes. Updated related docs.
2c8eff0
@mdo mdo change up box-shadow mixin usage everywhere to use escaping again, or…
… local var if necessary for further var evaluation
bbadd42
@mdo mdo revert the js evaluation in .box-shadow mixin, fix last mixin usages …
…to escape if using >1 shadows
38303dd
@mdo mdo add space 65d3229
@mdo mdo use local var for a few other .box-shadow mixins to fix CSS not compi…
…ling
537c5cc
@mdo mdo fixes #5097: js docs typos e1deba3
@mdo mdo fixes #5107: make all .btn-group inline-block by default instead of j…
…ust within a .btn-toolbar
15bb78c
@bcamp1973 bcamp1973 mistakenly committed ALL assets. since only bootstrap.css and bootstr…
…ap.min.css are changed i removed all others
a40ab1c
@alexrussell

Sorry, I didn't realise there was a mustache version to edit as well. But just so you know, you missed one of my changes:

docs/javascript.html
138: custom events for most plugin's unique actionscustom events for most plugins' unique actions

docs/templates/pages/javascript.mustache
67: custom events for most plugin's unique actionscustom events for most plugins' unique actions

mdo and others added some commits
@mdo mdo fixes #5119: javascript in navbar typo 595e1a1
@gaarf gaarf fix active tab bg on non-white body 5331fe3
@martinbean martinbean Standardized spelling of 'JavaScript'; added icons to file trees 2ead9a5
@mdo mdo revert docs change faa760f
@mdo mdo i18n homepage 5aa1018
@mdo mdo add in some more examples (will work em in later), removed fleetio pe…
…r their request, and added gather content to replace it
e4e2e37
@mdo mdo adding new examples 0bcbcf6
@mdo mdo tweak copy on each template, add sign in template 7857089
@mdo mdo way cooler carousel example, along with updated screenshots for examples 6c4b276
@mdo mdo more carouself example work 6e25aac
@mdo mdo fixes #5163: add new var for navbar collapse's default view, use that…
… in responsive navbar css
1ea09b7
@mdo mdo nuke new examples for now 6f3bef1
@mdo mdo Merge pull request #5125 from tapcanvas/tab-body-bg
Use @bodyBackground on .nav-tabs active state instead of static color
cd876fb
@mdo mdo Merge branch '2.1.2-wip' of github.com:twitter/bootstrap into 2.1.2-wip f69e244
@mdo mdo fixes #5041: add new navbar css tests for each variation, remove widt…
…h: 100%; from .navbar-static-top
03a406d
@mdo mdo fixes #5039: properly set .row-fluid margins for .controls-row 6881c19
@mdo mdo fixes #5001: proper ids on form examples caa79ed
@mdo mdo resolve conflicts and remake 917b46a
@mdo mdo overhaul the docs and css to merge into 2.1.2 since this was against …
…master
143fef9
@mdo mdo Merge branch 'wpbrains-media-component' into 2.1.2-wip 26ca131
@mdo mdo add the media css to customizer 783f488
@mdo mdo fixes #5173: proper popover offsets; added docs examples to enable te…
…sts in the future
cedb3c7
@mdo mdo fixes #5082 manually: reset font-size for .dropdown-menu within .inpu…
…t-prepend/-append
239e6a7
@mdo mdo fixes #5087: add hover states to text emphasis classes for links 3b3def4
@caniszczyk caniszczyk Add CONTRIBUTING.md
Signed-off-by: Chris Aniszczyk <zx@twitter.com>
2a20761
@mdo mdo fixes #5178: update normalize to avoid resetting audio and video elem…
…ents in android
78992bb
@mdo mdo Merge pull request #5187 from caniszczyk/2.1.2-wip
Add CONTRIBUTING.md
c158774
@mdo mdo contributing edits 13be8b2
@mdo mdo fixes #5177: remove color on .btn-large .caret, but keep sizing chang…
…e; also start to add CSS tests for buttons
cc3de8b
@mdo mdo Merge branch '2.1.2-wip' of https://github.com/uberspeck/bootstrap in…
…to uberspeck-2.1.2-wip
37460e5
@mdo mdo add new vars for common font-sizes and paddings with large, small, an…
…d mini components; resize pagination and buttons to better match each other
2769241
@mdo mdo add new vars for common border-radius, upping border-radius of inputs…
… to 4px; add border-radius changes to -large, -small, -mini for buttons and paginations
2d90c81
@mdo mdo increase padding on homepage button a6206c9
@mdo mdo fixes #5212: text emphasis classes only get hover with links 6c3cd6f
@mdo mdo fixes #5211 manually: spacing in mixins to match others 67585bd
@mdo mdo fixes #5102, #5166, #5194, #5205: add overflow: visible; to .nav-coll…
…apse.collapse so that dropdowns overflow correctly in the navbar in IE7-8
443c43f
@mdo mdo fixes #5150: add btn-group support to input groups 532ee08
@mdo mdo fixes #5127: add @inputHeight to replace static instances of '30px' t…
…hroughout forms
c92a759
@fat fat added support for jquery 1.8.* 667179f
@fat fat rebuild - fix missing ( fe38d12
@fat fat remove src's 1716b0f
@fat fat change transition.js, rebuild… travis maybe will be happy? ebf94c5
@mdo mdo add specific line items to contributing doc for issues, update branch…
… list
a419e70
@mdo mdo Merge branch '2.1.2-wip' of github.com:twitter/bootstrap into 2.1.2-wip c3ea955
@mdo mdo fixes #5216: calculate heading sizes via math rather than fixed pixel…
… amounts
af871d5
@mdo mdo match decimal placements in type.less a4bf6ef
@mdo mdo ensure 100% width for .uneditable-inputs in <767px viewports f4d3d7d
@fat fat change tooltip/popover html default to false for xss safety net 003fccc
@fat fat Merge branch '2.1.2-wip' of github.com:twitter/bootstrap into 2.1.2-wip bda3d57
@fat fat reverting d797a5f 4a24439
@fat fat change tooltip/popover insert strategy
remove modal-open class
hopefully resolve z-index headaches
88b1e44
@fat fat update docs for tooltip html + the dropdown methods api aec8b08
@fat fat check affix pos on clicks - use timeout for clicks which scroll 0540b63
@mdo mdo dat new kippt hotness 498a28b
@mdo mdo Merge branch '2.1.2-wip' of github.com:twitter/bootstrap into 2.1.2-wip 24e277b
@malandrew

Hey @parisholley,

Thanks for opening this pull-request! Unfortunately, it looks like it fails to pass the criteria neccessary for submitting to bootstrap. The following things are currently failing:

  • should always be made against -wip branches

For a full list of issue filing guidelines, please refer to the bootstrap issue filing guidelines.

thanks!

@parisholley

ah, missed that tid bit, i will be sure to move it over to that branch

@parisholley

Pull request re-issued under wip @ #5337

@piotr-cz

Shouldn't it be margin-bottom: -6px to align with submenu item?
see .dropdown-submenu > .dropdown-menu { margin-top: -6px }

Also there's scenario when main menu is required to be aligned up, but submenus aligned down.
in this case I'd change selector to .dropdown-submenu.dropup .dropdown-menu
and default .dropdown-submenu .dropdown-menu { bottom: auto; }

@ansman

Why was this done?

This broke stuff for me, the tooltip cannot be in the same container as this.$element.

I'm with ansman on this one, tooltips don't play nicely inside of tables evidently! Check out #5768

breakage!

Such a modification will make tooltips elements to inherit styles from parents elements.
An optional flag would be better, let the developer choose whether to append to body or adopt your new strategy.

@keytwo I submitted a pull request that allows you to do just that with a container option -- #5768 you could then do data-container="body" or with javascript .tooltip({ container: 'body' })

@Yohn
Good to know! Thanks for your time! ;-)

Please make this optional. My popover target was a TD, meaning the tooltip broke the DOM. I got round this by adding an element on click and using that as the target. But I still have the issue that this results, in my case, with a form element within a form element - bad juju. I think this is a good enough use case to make this a simple option.

@masterojitos

I have a pull request that really fixes this bug #7207

@bryanchug

Why remove this? This is kinda very useful.

@kaleb

I've been reading over your fantastic code. It has been a great learning tool for me, but this line is confuses me. Where does the setAttribute method come from?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 20, 2012
  1. @insanelyus

    Added Medias code and documentation

    insanelyus authored
    Added media.less and edited bootstrap.less and responsive.less to manage media components.
    
    Added a section to the documentation (Media, in components.html) outlining how Medias work. Edited bootstrap.css and bootstrap-responsive.css to add the code for the demos
    
    Signed-off-by: Giuliano Velli <wpbrains@giusi.org>
Commits on Apr 24, 2012
  1. @insanelyus

    Added Medias code and documentation

    insanelyus authored
    Fix for Issue #1711
    
    Added media.less and edited bootstrap.less and responsive.less to
    manage media components.
    
    Added a section to the documentation (Media, in components.html) outlining how Medias work. Edited bootstrap.css and bootstrap-responsive.css to add the code for the demos
    
    Signed-off-by: Giuliano Velli <wpbrains@giusi.org>
  2. @insanelyus

    Merge branch 'media-component' of github.com:wpbrains/bootstrap into …

    insanelyus authored
    …media-component
    
    Conflicts:
    	docs/components.html
    
    Signed-off-by: Giuliano Velli <wpbrains@giusi.org>
Commits on Sep 5, 2012
  1. @spantaleev

    Do not force white icons in active tab links

    spantaleev authored
    Active `.nav-tabs` elements are not blue (like pills),
    so forcing a white icon there is not appropriate.
  2. @mdo
  3. @mdo

    rebuild after merge

    mdo authored
  4. @mdo
  5. @mdo
Commits on Sep 6, 2012
  1. Fix small documentatio typos.

    Ramiro Morales authored
Commits on Sep 7, 2012
  1. @insanelyus @giuliano

    Modified the file to conform to bootstrap standards and fix an IE7 cs…

    insanelyus authored giuliano committed
    …s selector issue
    
    Signed-off-by: Giuliano Velli <giuliano@giusi.org>
  2. @giuliano
  3. @dionysiosarvanitis
  4. @mdo
  5. @mdo
  6. @mdo
  7. @mdo
  8. @mdo
  9. @mdo

    run make after merging #5028, which removes the left margin of respon…

    mdo authored
    …sive fluid grid offsets
Commits on Sep 8, 2012
  1. @parisholley
  2. @parisholley

    ran another build

    parisholley authored
  3. @parisholley
  4. @parisholley
  5. @parisholley
Commits on Sep 9, 2012
  1. @GeoffYoung
Commits on Sep 10, 2012
  1. @mdo

    Merge pull request #5051 from GeoffYoung/2.1.2-wip

    mdo authored
    Update modal example code to match example
Commits on Sep 11, 2012
  1. @mdo
  2. @mdo
  3. @mdo

    fixes #5040 manually: remove overflow: auto; from .modal to resolve s…

    mdo authored
    …poradic modal right padding issues with scrollbars
Commits on Sep 12, 2012
  1. @bcamp1973

    Updated pagination to support .pagination-large, .pagination-small, .…

    bcamp1973 authored
    …pagination-mini matching button sizes. Updated related docs.
  2. @mdo

    change up box-shadow mixin usage everywhere to use escaping again, or…

    mdo authored
    … local var if necessary for further var evaluation
  3. @mdo

    revert the js evaluation in .box-shadow mixin, fix last mixin usages …

    mdo authored
    …to escape if using >1 shadows
  4. @mdo

    add space

    mdo authored
  5. @mdo
  6. @mdo

    fixes #5097: js docs typos

    mdo authored
  7. @mdo

    fixes #5107: make all .btn-group inline-block by default instead of j…

    mdo authored
    …ust within a .btn-toolbar
Commits on Sep 13, 2012
  1. @bcamp1973

    mistakenly committed ALL assets. since only bootstrap.css and bootstr…

    bcamp1973 authored
    …ap.min.css are changed i removed all others
  2. @mdo
  3. @gaarf
Commits on Sep 14, 2012
  1. @martinbean
  2. @mdo

    revert docs change

    mdo authored
  3. @mdo

    i18n homepage

    mdo authored
  4. @mdo

    add in some more examples (will work em in later), removed fleetio pe…

    mdo authored
    …r their request, and added gather content to replace it
  5. @mdo

    adding new examples

    mdo authored
  6. @mdo
  7. @mdo
Commits on Sep 17, 2012
  1. @mdo

    more carouself example work

    mdo authored
  2. @mdo

    fixes #5163: add new var for navbar collapse's default view, use that…

    mdo authored
    … in responsive navbar css
  3. @mdo

    nuke new examples for now

    mdo authored
  4. @mdo

    Merge pull request #5125 from tapcanvas/tab-body-bg

    mdo authored
    Use @bodyBackground on .nav-tabs active state instead of static color
  5. @mdo
  6. @mdo

    fixes #5041: add new navbar css tests for each variation, remove widt…

    mdo authored
    …h: 100%; from .navbar-static-top
  7. @mdo
  8. @mdo
  9. @mdo

    resolve conflicts and remake

    mdo authored
Commits on Sep 18, 2012
  1. @mdo
  2. @mdo
  3. @mdo

    add the media css to customizer

    mdo authored
  4. @mdo
  5. @mdo
  6. @mdo
  7. @caniszczyk

    Add CONTRIBUTING.md

    caniszczyk authored
    Signed-off-by: Chris Aniszczyk <zx@twitter.com>
  8. @mdo
  9. @mdo

    Merge pull request #5187 from caniszczyk/2.1.2-wip

    mdo authored
    Add CONTRIBUTING.md
  10. @mdo

    contributing edits

    mdo authored
  11. @mdo

    fixes #5177: remove color on .btn-large .caret, but keep sizing chang…

    mdo authored
    …e; also start to add CSS tests for buttons
  12. @mdo

    Merge branch '2.1.2-wip' of https://github.com/uberspeck/bootstrap in…

    mdo authored
    …to uberspeck-2.1.2-wip
Commits on Sep 19, 2012
  1. @mdo

    add new vars for common font-sizes and paddings with large, small, an…

    mdo authored
    …d mini components; resize pagination and buttons to better match each other
  2. @mdo

    add new vars for common border-radius, upping border-radius of inputs…

    mdo authored
    … to 4px; add border-radius changes to -large, -small, -mini for buttons and paginations
  3. @mdo
Commits on Sep 20, 2012
  1. @mdo
  2. @mdo
  3. @mdo

    fixes #5102, #5166, #5194, #5205: add overflow: visible; to .nav-coll…

    mdo authored
    …apse.collapse so that dropdowns overflow correctly in the navbar in IE7-8
  4. @mdo
  5. @mdo
  6. @fat

    added support for jquery 1.8.*

    fat authored
  7. @fat

    rebuild - fix missing (

    fat authored
  8. @fat

    remove src's

    fat authored
  9. @fat
Commits on Sep 21, 2012
  1. @mdo
Commits on Sep 23, 2012
  1. @mdo
  2. @mdo
  3. @mdo
  4. @mdo
Commits on Sep 25, 2012
  1. @fat
  2. @fat
  3. @fat

    reverting d797a5f

    fat authored
  4. @fat

    change tooltip/popover insert strategy

    fat authored
    remove modal-open class
    hopefully resolve z-index headaches
  5. @fat
  6. @fat
Commits on Sep 26, 2012
  1. @mdo

    dat new kippt hotness

    mdo authored
  2. @mdo
Commits on Sep 28, 2012
  1. @parisholley
  2. @parisholley
  3. @parisholley

    added data based config

    parisholley authored
Something went wrong with that request. Please try again.