mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Port pagination styling to BS3, fixes #1225
This commit is contained in:
parent
875d9d7391
commit
fc2191cd68
1 changed files with 19 additions and 21 deletions
|
@ -1,6 +1,5 @@
|
||||||
<% if @total_size > @count %>
|
<% if @total_size > @count %>
|
||||||
<div class="pagination pagination-right">
|
<ul class="pagination pull-right">
|
||||||
<ul>
|
|
||||||
<li class="<%= 'disabled' if @current_page == 1 %>">
|
<li class="<%= 'disabled' if @current_page == 1 %>">
|
||||||
<a href="<%= url %>?page=1">«</a>
|
<a href="<%= url %>?page=1">«</a>
|
||||||
</li>
|
</li>
|
||||||
|
@ -21,5 +20,4 @@
|
||||||
<a href="<%= url %>?page=<%= (@total_size.to_f / @count).ceil %>">»</a>
|
<a href="<%= url %>?page=<%= (@total_size.to_f / @count).ceil %>">»</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
Loading…
Add table
Reference in a new issue