Sha256: 11bd35e7c9f5ab9ff233fff65bc29f44655cb1bfb9fd34a32051d3e79ce4fb71

Contents?: true

Size: 1.13 KB

Versions: 6

Compression:

Stored size: 1.13 KB

Contents

<div data-controller="cloudinary-browse-media" id="yarii-cloudinary--modal" class="modal is-active">
  <div class="modal-background"></div>
  <div class="modal-card">
    <header class="modal-card-head">
      <p class="modal-card-title">Browse Cloudinary</p>
      <button data-action="cloudinary-browse-media#closeModal" class="delete" aria-label="close"></button>
    </header>
    <section class="modal-card-body">
      <div class="columns is-multiline is-mobile">
        <% @images.each do |image| %>
          <div data-action="click->cloudinary-browse-media#selectMedia" data-cloudinary-id="<%= image[:id] %>" role="button" class="yarii-cloudinary--browse-cell column is-one-third-tablet is-one-third-desktop is-half-mobile has-text-centered">
            <%= render 'browse_thumbnail', public_id: image[:path] %>
            <div class="image-name"><strong><%= image[:id] %></strong>.<%= image[:format] %></div>
          </div>
        <% end %>
      </div>
    </section>
    <footer class="modal-card-foot">
      <button data-action="cloudinary-browse-media#closeModal" class="button is-success">Done</button>
    </footer>
  </div>
</div>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
yarii-cloudinary-0.2.6 app/views/yarii_cloudinary/media/index.html.erb
yarii-cloudinary-0.2.5 app/views/yarii_cloudinary/media/index.html.erb
yarii-cloudinary-0.2.3 app/views/yarii_cloudinary/media/index.html.erb
yarii-cloudinary-0.2.2 app/views/yarii_cloudinary/media/index.html.erb
yarii-cloudinary-0.2.1 app/views/yarii_cloudinary/media/index.html.erb
yarii-cloudinary-0.2.0 app/views/yarii_cloudinary/media/index.html.erb