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,45 +1,30 @@
<span class="flag-content">
<% if show_flag_action? comment %>
<span class="divider">&nbsp;|&nbsp;</span>
<a class="button" id="flag-expand-comment-<%= comment.id %>"
data-dropdown="flag-drop-comment-<%= comment.id %>"
aria-controls="flag-drop-comment-<%= comment.id %>"
aria-expanded="false"
title="<%= t('shared.flag') %>">
&nbsp;
<i class="icon-flag flag-disable"></i>&nbsp;&nbsp;
<a id="flag-expand-comment-<%= comment.id %>"
data-toggle="flag-drop-comment-<%= comment.id %>"
title="<%= t('shared.flag') %>">
<i class="icon-flag flag-disable"></i>
</a>
<ul id="flag-drop-comment-<%= comment.id %>"
class="f-dropdown"
data-dropdown-content
aria-hidden="true"
tabindex="-1">
<li>
<%= link_to t("shared.flag"), flag_comment_path(comment), method: :put,
remote: true, id: "flag-comment-#{comment.id}" %>
</li>
</ul>
<div id="flag-drop-comment-<%= comment.id %>"
class="dropdown-pane"
data-dropdown
data-auto-focus="true">
<%= link_to t("shared.flag"), flag_comment_path(comment), method: :put,
remote: true, id: "flag-comment-#{comment.id}" %>
</div>
<% end %>
<% if show_unflag_action? comment %>
<span class="divider">&nbsp;|&nbsp;</span>
<a class="button" id="unflag-expand-comment-<%= comment.id %>"
data-dropdown="unflag-drop-comment-<%= comment.id %>"
aria-controls="unflag-drop-comment-<%= comment.id %>"
aria-expanded="false"
<a id="unflag-expand-comment-<%= comment.id %>"
data-toggle="unflag-drop-comment-<%= comment.id %>"
title="<%= t('shared.unflag') %>">
&nbsp;
<i class="icon-flag flag-active"></i>&nbsp;&nbsp;
<i class="icon-flag flag-active"></i>
</a>
<ul id="unflag-drop-comment-<%= comment.id %>"
class="f-dropdown"
data-dropdown-content
aria-hidden="true"
tabindex="-1">
<li>
<%= link_to t("shared.unflag"), unflag_comment_path(comment), method: :put,
remote: true, id: "unflag-comment-#{comment.id}" %>
</li>
</ul>
<div class="dropdown-pane" id="unflag-drop-comment-<%= comment.id %>" data-dropdown data-auto-focus="true">
<%= link_to t("shared.unflag"), unflag_comment_path(comment), method: :put,
remote: true, id: "unflag-comment-#{comment.id}" %>
</div>
<% end %>
</span>