You are here

draggable-dashboard-view.html.twig in Draggable dashboard 8.2

Same filename and directory in other branches
  1. 8 templates/draggable-dashboard-view.html.twig
<div{{ attributes.addClass('draggable-dashboard').setAttribute('data-id', dashboard.id) }}>
  {% set column_num = columns|length %}
  {% for column in columns %}
      <div class="draggable-dashboard-column col-{{ 12 / column_num }}" id="column-{{ loop.index }}" data-id="{{ loop.index }}">
          {% for block in column %}
              {{ block }}
          {% endfor %}
      </div>
  {% endfor %}
</div>

File

templates/draggable-dashboard-view.html.twig
View source
  1. <div{{ attributes.addClass('draggable-dashboard').setAttribute('data-id', dashboard.id) }}>
  2. {% set column_num = columns|length %}
  3. {% for column in columns %}
  4. <div class="draggable-dashboard-column col-{{ 12 / column_num }}" id="column-{{ loop.index }}" data-id="{{ loop.index }}">
  5. {% for block in column %}
  6. {{ block }}
  7. {% endfor %}
  8. </div>
  9. {% endfor %}
  10. </div>