Skip to content
Snippets Groups Projects
Commit 23b2a8f3 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

pure

parent bcd6e73a
No related branches found
No related tags found
No related merge requests found
......@@ -12,6 +12,7 @@
@import 'gdpr/cookie_consent'
@import '../commons/*'
@import 'commons/*'
@import 'pure/style'
@import 'pure/blocks'
@import 'pure/buttons'
@import 'pure/navigation'
@import 'pure/style'
.blocks
&__list
&__handle
width: 20px
&__image
width: 150px
&__buttons
width: 170px
\ No newline at end of file
......@@ -127,7 +127,8 @@ a
font-weight: normal
.handle
margin-right: $spacing0
margin-right: 10px
margin-top: 5px
footer
min-height: 300px
......
......@@ -12,18 +12,18 @@ action += link_to t('add'),
<% about.blocks.ordered.each do |block| %>
<tr data-id="<%= block.id %>" class="<%= 'draft' unless block.published? %>">
<% if can? :reorder, Communication::Block %>
<td class="ps-0"><i class="fa fa-bars handle"></i></td>
<td class="ps-0 blocks__list__handle"><i class="fa fa-bars handle"></i></td>
<% end %>
<td>
<td class="blocks__list__name">
<%= block.to_s.truncate(50) %><br>
<span class="small"><%= block.template_kind_i18n %></span>
<%= render 'admin/application/a11y/status', about: block %>
</td>
<td class="p-0">
<td class="p-0 blocks__list__image">
<%= image_tag "communication/blocks/templates/#{block.template_kind}.jpg",
height: "100px", alt: '', style:"max-height: 75px" %>
</td>
<td>
<td class="blocks__list__buttons">
<div class="btn-group">
<%= duplicate_link block %>
<%= edit_link block %>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment