Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
syncEnrollments
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Yeray Santana Hualde
syncEnrollments
Commits
b63b0c08
Commit
b63b0c08
authored
Sep 11, 2012
by
kapil verma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated Documentation for Bootstrap-y Pagination
The Docs now show bootstrap style Pagination
parent
85cab82f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
14 deletions
+16
-14
pagination.md
laravel/documentation/views/pagination.md
+16
-14
No files found.
laravel/documentation/views/pagination.md
View file @
b63b0c08
...
...
@@ -80,29 +80,31 @@ Sometimes you may need to create a Paginator instance manually, without using th
All pagination link elements can be style using CSS classes. Here is an example of the HTML elements generated by the links method:
<div class="pagination">
<a href="foo" class="previous_page">Previous</a>
<ul>
<li class="previous_page"><a href="foo">Previous</a></li>
<a href="foo">1</a
>
<a href="foo">2</a
>
<li><a href="foo">1</a></li
>
<li><a href="foo">2</a></li
>
<span class="dots">...</span
>
<li class="dots disabled"><a href="#">...</a></li
>
<a href="foo">11</a
>
<a href="foo">12</a
>
<li><a href="foo">11</a></li
>
<li><a href="foo">12</a></li
>
<span class="current">13</span
>
<li class="active"><a href="#">13</li
>
<a href="foo">14</a
>
<a href="foo">15</a
>
<li><a href="foo">14</a></li
>
<li><a href="foo">15</a></li
>
<span class="dots">...</span
>
<li class="dots disabled"><a href="#">...</a></li
>
<a href="foo">25</a
>
<a href="foo">26</a
>
<li><a href="foo">25</a></li
>
<li><a href="foo">26</a></li
>
<a href="foo" class="next_page">Next</a>
<li class="next_page"><a href="foo">Next</a></li>
</ul>
</div>
When you are on the first page of results, the "Previous" link will be disabled. Likewise, the "Next" link will be disabled when you are on the last page of results. The generated HTML will look like this:
<
span class="disabled prev_page">Previous</span
>
<
li class="disabled previous_page"><a href="#">Previous</a></li
>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment