Needed to wrap in a div, second div will get lost (jquery issue).
This commit is contained in:
parent
82538bb7ed
commit
92be13cb30
1 changed files with 37 additions and 35 deletions
|
@ -1,37 +1,39 @@
|
|||
<div class="page-header horizontal">
|
||||
<div class="page-header-title">
|
||||
<h2 class="can-move"><%- @T( @overview.name ) %> <small><a href="#" data-type="settings" class="glyphicon glyphicon-edit"></a></small></h2>
|
||||
</div>
|
||||
<div class="page-header-meta horizontal">
|
||||
<div class="pagination-counter">
|
||||
<span class="pagination-items-range"><%- @tickets_from %>-<%- @tickets_till %></span> <%- @T("of") %> <span class="pagination-total-items"><%- @tickets_count %></span>
|
||||
<div>
|
||||
<div class="page-header horizontal">
|
||||
<div class="page-header-title">
|
||||
<h2 class="can-move"><%- @T( @overview.name ) %> <small><a href="#" data-type="settings" class="glyphicon glyphicon-edit"></a></small></h2>
|
||||
</div>
|
||||
<div class="page-header-meta horizontal">
|
||||
<div class="pagination-counter">
|
||||
<span class="pagination-items-range"><%- @tickets_from %>-<%- @tickets_till %></span> <%- @T("of") %> <span class="pagination-total-items"><%- @tickets_count %></span>
|
||||
</div>
|
||||
<ul class="pagination">
|
||||
<li>
|
||||
<% if @start_page != 1: %>
|
||||
<a class="centered" href="#" data-id="<%= @start_page - 1 %>" data-type="page">
|
||||
<span class="left arrow icon"></span>
|
||||
</a>
|
||||
<% else: %>
|
||||
<a class="disabled centered" href="#" data-id="<%= @start_page %>" data-type="page">
|
||||
<span class="disabled left arrow icon"></span>
|
||||
</a>
|
||||
<% end %>
|
||||
</li>
|
||||
<% for item in [1..@pages_total]: %>
|
||||
<% end %>
|
||||
<li>
|
||||
<% if @start_page != @pages_total: %>
|
||||
<a class="centered" href="#" data-id="<%= @start_page + 1 %>" data-type="page">
|
||||
<span class="right arrow icon"></span>
|
||||
</a>
|
||||
<% else: %>
|
||||
<a class="disabled centered" href="#" data-id="<%= @start_page %>" data-type="page">
|
||||
<span class="disabled right arrow icon"></span>
|
||||
</a>
|
||||
</li>
|
||||
<% end %>
|
||||
</ul>
|
||||
</div>
|
||||
<ul class="pagination">
|
||||
<li>
|
||||
<% if @start_page != 1: %>
|
||||
<a class="centered" href="#" data-id="<%= @start_page - 1 %>" data-type="page">
|
||||
<span class="left arrow icon"></span>
|
||||
</a>
|
||||
<% else: %>
|
||||
<a class="disabled centered" href="#" data-id="<%= @start_page %>" data-type="page">
|
||||
<span class="disabled left arrow icon"></span>
|
||||
</a>
|
||||
<% end %>
|
||||
</li>
|
||||
<% for item in [1..@pages_total]: %>
|
||||
<% end %>
|
||||
<li>
|
||||
<% if @start_page != @pages_total: %>
|
||||
<a class="centered" href="#" data-id="<%= @start_page + 1 %>" data-type="page">
|
||||
<span class="right arrow icon"></span>
|
||||
</a>
|
||||
<% else: %>
|
||||
<a class="disabled centered" href="#" data-id="<%= @start_page %>" data-type="page">
|
||||
<span class="disabled right arrow icon"></span>
|
||||
</a>
|
||||
</li>
|
||||
<% end %>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="table-overview"></div>
|
||||
</div>
|
||||
<div class="table-overview"></div>
|
Loading…
Reference in a new issue