Adds foundation 6 🎉

This commit is contained in:
Alberto Garcia Cabeza
2016-02-15 17:29:03 +01:00
parent 319fe27150
commit 3752f3a53b
139 changed files with 1829 additions and 3342 deletions

View File

@@ -1,3 +1,3 @@
<li>
<li class="ellipsis" aria-hidden="true">
<%= t("views.pagination.truncate").html_safe %>
</li>

View File

@@ -1,3 +1,3 @@
<li>
<li class="pagination-next">
<%= link_to t("views.pagination.next").html_safe, url, :rel => "next", :remote => remote %>
</li>

View File

@@ -1,3 +1,10 @@
<li class="<%= 'current' if page.current? %>">
<%= link_to page, url, {:remote => remote, :rel => page.next? ? "next" : page.prev? ? "prev" : nil} %>
</li>
<% if page.current? %>
<li class="current">
<span class="show-for-sr"><%= t("views.pagination.current") %></span>
<%= page %>
</li>
<% else %>
<li>
<%= link_to page, url, {:remote => remote, :rel => page.next? ? "next" : page.prev? ? "prev" : nil} %>
</li>
<% end %>

View File

@@ -1,7 +1,7 @@
<%= paginator.render do -%>
<div class="pagination-centered">
<nav>
<ul class="pagination">
<ul class="pagination text-center margin-top" role="navigation" aria-label="Pagination">
<%= first_page_tag unless current_page.first? %>
<%= prev_page_tag unless current_page.first? %>

View File

@@ -1,3 +1,3 @@
<li>
<li class="pagination-previous">
<%= link_to t("views.pagination.previous").html_safe, url, :rel => "prev", :remote => remote %>
</li>