Added first/last pagination item.

This commit is contained in:
Marcus Scholz 2020-08-14 11:21:13 +02:00
parent 0e3f005639
commit 14ea0910ef

View File

@ -1,37 +1,43 @@
<div class="LP-Pagination"> <div class="LP-Pagination">
<ul class="LP-Pagination__List"> <ul class="LP-Pagination__List">
<li class="LP-Pagination__Item LP-Pagination__Item--previous"> <li class="LP-Pagination__Item LP-Pagination__Item--first">
<a href="#" class="LP-Link"><span class="LP-Pagination__Previous"></span></a> <a href="#" class="LP-Link"><span class="LP-Pagination__First"></span></a>
</li> </li>
<li class="LP-Pagination__Item LP-Pagination__Item--number"> <li class="LP-Pagination__Item LP-Pagination__Item--previous">
<a href="#" class="LP-Link"><span class="LP-Pagination__Number">1</span></a> <a href="#" class="LP-Link"><span class="LP-Pagination__Previous"></span></a>
</li> </li>
<li class="LP-Pagination__Item LP-Pagination__Item--number"> <li class="LP-Pagination__Item LP-Pagination__Item--number">
<a href="#" class="LP-Link"><span class="LP-Pagination__Number">2</span></a> <a href="#" class="LP-Link"><span class="LP-Pagination__Number">1</span></a>
</li> </li>
<li class="LP-Pagination__Item LP-Pagination__Item--number"> <li class="LP-Pagination__Item LP-Pagination__Item--number">
<a class="LP-Link" href="#"><span class="LP-Pagination__Number">3</span></a> <a href="#" class="LP-Link"><span class="LP-Pagination__Number">2</span></a>
</li> </li>
<li class="LP-Pagination__Item LP-Pagination__Item--number"> <li class="LP-Pagination__Item LP-Pagination__Item--number">
<a href="#" class="LP-Link"><span class="LP-Pagination__Number">4</span></a> <a class="LP-Link" href="#"><span class="LP-Pagination__Number">3</span></a>
</li> </li>
<li class="LP-Pagination__Item LP-Pagination__Item--number LP-Pagination__Item--current"> <li class="LP-Pagination__Item LP-Pagination__Item--number">
<a href="#" class="LP-Link"><span class="LP-Pagination__Number">5</span></a> <a href="#" class="LP-Link"><span class="LP-Pagination__Number">4</span></a>
</li> </li>
<li class="LP-Pagination__Item LP-Pagination__Item--number"> <li class="LP-Pagination__Item LP-Pagination__Item--number LP-Pagination__Item--current">
<a href="#" class="LP-Link"><span class="LP-Pagination__Number">6</span></a> <a href="#" class="LP-Link"><span class="LP-Pagination__Number">5</span></a>
</li> </li>
<li class="LP-Pagination__Item LP-Pagination__Item--number"> <li class="LP-Pagination__Item LP-Pagination__Item--number">
<a href="#" class="LP-Link"><span class="LP-Pagination__Number">7</span></a> <a href="#" class="LP-Link"><span class="LP-Pagination__Number">6</span></a>
</li> </li>
<li class="LP-Pagination__Item LP-Pagination__Item--number"> <li class="LP-Pagination__Item LP-Pagination__Item--number">
<a href="#" class="LP-Link"><span class="LP-Pagination__Number">8</span></a> <a href="#" class="LP-Link"><span class="LP-Pagination__Number">7</span></a>
</li> </li>
<li class="LP-Pagination__Item LP-Pagination__Item--number"> <li class="LP-Pagination__Item LP-Pagination__Item--number">
<a href="#" class="LP-Link"><span class="LP-Pagination__Number">9</span></a> <a href="#" class="LP-Link"><span class="LP-Pagination__Number">8</span></a>
</li> </li>
<li class="LP-Pagination__Item LP-Pagination__Item--next"> <li class="LP-Pagination__Item LP-Pagination__Item--number">
<a href="#" class="LP-Link"><span class="LP-Pagination__Next"></span></a> <a href="#" class="LP-Link"><span class="LP-Pagination__Number">9</span></a>
</li> </li>
</ul> <li class="LP-Pagination__Item LP-Pagination__Item--next">
<a href="#" class="LP-Link"><span class="LP-Pagination__Next"></span></a>
</li>
<li class="LP-Pagination__Item LP-Pagination__Item--last">
<a href="#" class="LP-Link"><span class="LP-Pagination__Last"></span></a>
</li>
</ul>
</div> </div>