Skip to content

Pagination #19 #75

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

Merged
merged 5 commits into from
Nov 30, 2019
Merged

Pagination #19 #75

merged 5 commits into from
Nov 30, 2019

Conversation

andreich1980
Copy link

This PR adds pagination views:

  • default
  • simple-default

According to Laravel Docs

The bootstrap-4.blade.php file within this directory corresponds to the default pagination view.

So I added 2 lines in the TailwindCssPresetServiceProvider.php to make Laravel use my pagination views by default.
The package now publishes the pagination views in the resources/views/vendor/pagination folder.

To improve accessibility of the pagination I added aria-label to the page links and mentioned this in the documentation to make users to add new translation string to their language files.

I hope you like it. Let me know if I should fix something in the PR.

@michaeldyrynda
Copy link
Contributor

Awesome, thanks!

@michaeldyrynda michaeldyrynda merged commit f2861eb into laravel-frontend-presets:master Nov 30, 2019
@andreich1980 andreich1980 deleted the dev-pagination branch November 30, 2019 08:41
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

Successfully merging this pull request may close these issues.

2 participants