Browse Source

Fill all 12 columns

master
Perception 4 months ago
parent
commit
81530aa496
1 changed files with 5 additions and 12 deletions
  1. +5
    -12
      templates/_pagination.ejs

+ 5
- 12
templates/_pagination.ejs View File

@ -1,23 +1,16 @@
<section class="pagination" >
<section id="pagination" >
<div class="container" >
<div class="row" style="padding-bottom: 2rem" >
<div class="one column" >
</div>
<div class="ten columns" >
<div class="twelve columns" >
<% for (let i = 1; i <= totalPages; i++) { %>
<% if (i == p) { %>
<span><%- i %></span>&nbsp;
<span><%- i %></span>&nbsp;
<% } else { %>
<a href="<%- path %>p=<%= i %>"><%- i %></a>&nbsp;
<a href="<%- path %>p=<%= i %>"><%- i %></a>&nbsp;
<% } %>
<% } %>
<h5>Results: <%- count %></h4>
</div>
<div class="one column" >
</div>
</div>
<div class="row" >
<h4>Results: <%- count %></h4>
<h4>Pages: <%- totalPages %></h4>
</div>
</div>
</section>

Loading…
Cancel
Save