mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
ed485e47e4
* Unminify rickshaw graph CSS so we can maintain it * Initial BiDi support for the Web UI BiDi means the web app can serve both LTR and RTL languages at the same time. 1. Bootstrap-RTL overrides Bootstrap 3.3 styles for RTL clients 2. Application CSS was preprocessed thru rtlcss and then hand-trimmed to contain only RTL-specific directives. 3. Dashboard was tweaked to hardcode LTR for footer and polling gadget * Vendor bootstrap-rtl.css * Various RTL style fixes, need to flip all pull-* elements * Upgrade Rickshaw to latest, remove dupe CSS * Add Arabic language (credit to Milena Novakova) Add Hebrew placeholder Added dir attribute to html tag * changes * Clean up HTTP header generation, add Content-Language response header * Use correct locale for hebrew
23 lines
858 B
Text
23 lines
858 B
Text
<% if @total_size > @count %>
|
|
<ul class="pagination pull-right flip">
|
|
<li class="<%= 'disabled' if @current_page == 1 %>">
|
|
<a href="<%= url %>?page=1">«</a>
|
|
</li>
|
|
<% if @current_page > 1 %>
|
|
<li>
|
|
<a href="<%= url %>?<%= qparams(page: @current_page - 1) %>"><%= @current_page - 1 %></a>
|
|
</li>
|
|
<% end %>
|
|
<li class="disabled">
|
|
<a href="<%= url %>?<%= qparams(page: @current_page) %>"><%= @current_page %></a>
|
|
</li>
|
|
<% if @total_size > @current_page * @count %>
|
|
<li>
|
|
<a href="<%= url %>?<%= qparams(page: @current_page + 1) %>"><%= @current_page + 1 %></a>
|
|
</li>
|
|
<% end %>
|
|
<li class="<%= 'disabled' if @total_size <= @current_page * @count %>">
|
|
<a href="<%= url %>?<%= qparams(page: (@total_size.to_f / @count).ceil) %>">»</a>
|
|
</li>
|
|
</ul>
|
|
<% end %>
|