|
|
|
@ -20,6 +20,7 @@
|
|
|
|
|
} |
|
|
|
|
if (omitLeft) { |
|
|
|
|
%> |
|
|
|
|
<a class="item" href="<%= syzoj.utils.makeUrl(req, Object.assign(req.query, { page: 1 })) %>"><%= 1 %></a> |
|
|
|
|
<div class="disabled item">...</div> |
|
|
|
|
<% |
|
|
|
|
} |
|
|
|
@ -36,6 +37,7 @@
|
|
|
|
|
if (omitRight) { |
|
|
|
|
%> |
|
|
|
|
<div class="disabled item">...</div> |
|
|
|
|
<a class="item" href="<%= syzoj.utils.makeUrl(req, Object.assign(req.query, { page: paginate.pageCnt })) %>"><%= paginate.pageCnt %></a> |
|
|
|
|
<% } %> |
|
|
|
|
<a class="<% if (paginate.currPage === paginate.pageCnt) { %> disabled<% } %> icon item" <% if (paginate.currPage !== paginate.pageCnt) { %>href="<%= syzoj.utils.makeUrl(req, Object.assign(req.query, { page: paginate.currPage + 1 })) %>" <% } %>id="page_next"> |
|
|
|
|
<i class="right chevron icon"></i> |
|
|
|
|