summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/templates/my/cakes/thumbnail.jst.ejs
blob: 7ae1bef36f2d9d7d8d02dfb94e58f26b4b163b36 (plain)
1
2
3
4
5
6
7
8
<% if (uploading()) { %>
  <div class="progress">
    <div class="progress-bar progress-bar-striped progress-bar-animated bg-success" role="progressbar" style="width: <%= percentComplete %>%" aria-valuenow="<%= percentComplete %>" aria-valuemin="<%= percentComplete %>" aria-valuemax="100"><%= percentComplete %>%</div>
  </div>
<% } %>
<a href="#cakes/<%= cake_id %>/photos/<%= id %>">
  <img src="<%= thumb_url %>" class="card-img-top" />
</a>