Commit graph

26 commits

Author SHA1 Message Date
Clement Ho
e512ea96ae Replace data-test=page with .js-pagination-page 2018-05-24 15:18:18 -05:00
Clement Ho
35ea254c92 Add data-test=page for testing pagination pages in admin abuse reports spec 2018-04-24 14:07:28 -05:00
Clement Ho
73cd8ed0f8 [skip ci] Disable pagination gap button 2018-04-18 10:35:03 -05:00
Clement Ho
02579d6aeb Fix previous pagination link 2018-04-17 17:13:54 -05:00
Clement Ho
d43df58757 Fix pagination first and last page buttons 2018-04-17 10:50:53 -05:00
Clement Ho
5a4342c320 [skip ci] Add pagination styles 2018-04-13 12:40:19 -05:00
Clement Ho
917a4e7d3e [skip ci] Add pagination classes 2018-04-10 14:56:58 -05:00
Yorick Peterse
c1f9403e45
Use Prev/Next pagination for exploring projects
This changes the pagination of the "Explore" pages so they use a simpler
pagination system that only shows "Prev" and "Next" buttons. This
removes the need for getting the total number of rows to display, a
process that can easily take up to 2 seconds when browsing through a
large list of projects.

Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/27390
2017-08-14 13:53:42 +02:00
Semyon Pupkov
0dfccd995a Add active_when helper
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/24036
2017-02-15 14:29:48 +05:00
Kushal Pandya
fb3e365412 HAMLLint: Fix SpaceInsideHashAttributes offences 2016-12-31 11:58:36 +05:30
Kushal Pandya
dd5ffd9ca6 HAMLLint: Fix ImplicitDiv offences 2016-12-31 11:43:08 +05:30
Kushal Pandya
7b1944f96c HAMLLint: Fix ClassAttributeWithStaticValue offences 2016-12-31 11:43:08 +05:30
Filipa Lacerda
6916421115 Makes table pagination responsive
Media queries for medium screens

Adds entry to CHANGELOG

Rollback to previous design

Adds class for previous sibling

Fix removed class

Fixes after review

Fix scss linter
2016-11-01 16:24:54 +00:00
Connor Shea
7f4f959e9b
Upgrade Kaminari from 0.16.3 to 0.17.0.
Changelog: https://github.com/amatsuda/kaminari/blob/master/CHANGELOG.rdoc#0170

Deprecates num_pages in favor of total_pages and includes Rails 5 support.
2016-05-31 14:14:16 -06:00
Dmitriy Zaporozhets
8367e4abeb Implement new UI for pagination 2016-01-20 21:27:01 -05:00
Zeger-Jan van de Weg
3d177a818f Add links to first and/or last page with kaminari
Also update Kaminari gem to the latest version
2015-09-23 22:15:16 +02:00
Dmitriy Zaporozhets
9fb3ef8888
Apply new design to pagination
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-09-19 16:22:04 +02:00
Dmitriy Zaporozhets
010a770b3f
Migrate forms and inputs pt1
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2013-12-31 02:50:36 +02:00
Dmitriy Zaporozhets
9fddd5b440 Refactoring & restyle pagination:
- remove admin kaminari theme. Use gitlab theme everywhere
- use bootstrap styled for gitlab admin themes
- dont reload page when change issue filter
2013-04-06 22:32:23 +03:00
Dmitriy Zaporozhets
563c55eb7e fix pagination issue 2013-01-31 08:55:31 +02:00
Dmitriy Zaporozhets
e2fb18a3ec replace right with pull-right 2013-01-30 16:40:43 +02:00
Dmitriy Zaporozhets
f4a6f1fd5a Fix admin paging gap issue 2012-12-17 15:57:10 +02:00
Robert Speicher
7754189187 Fully embrace Ruby 1.9 hash syntax
Didn't bother with files in db/, config/, or features/
2012-08-10 18:25:15 -04:00
randx
52d8ed9e4f Pagination for Merge Requests. Fixed for issues 2012-03-22 00:09:57 +02:00
randx
755a894c91 Issues pagination 2012-03-22 00:09:56 +02:00
Dmitriy Zaporozhets
cc043f32d8 Admin area improved 2012-02-11 19:56:18 +02:00