Sha256: e34237636e57363ec3cf1686a04dfdd93d3a865d3580f66c3af666b27d34153e

Contents?: true

Size: 1.07 KB

Versions: 2

Compression:

Stored size: 1.07 KB

Contents

<!-- The template to display files that have been uploaded to S3 already -->
<!-- This essentially is a stand-in for the template_download partial for the s3_cors_fileupload gem's purposes -->
<script id="template-uploaded" type="text/x-tmpl">
  <tr class="template-uploaded" id="source_file_{%=o.id%}">
    <td class="preview">
      {% if (o.image == true) { %}
        <a href="{%=o.url%}" title="{%=o.name%}" rel="gallery" download="{%=o.name%}">
          <image src="{%=o.url%}", style='width:80px; height:56px;'></image>
        </a>
      {% } %}
    </td>
    <td class="name">
      <a href="{%=o.url%}" title="{%=o.name%}" rel="{%=o.thumbnail_url&&'gallery'%}" download="{%=o.name%}">{%=o.name%}</a>
    </td>
    <td class="size"><span>{%=formatFileSize(o.size)%}</span></td>
    <td colspan="2"></td>
    <td class="delete">
      <button class="btn btn-danger" data-type="DELETE" data-url="{%=o.delete_url%}">
        <i class="icon-trash icon-white"></i>
        <span>Delete</span>
      </button>
      <input type="checkbox" name="delete" value="1">
    </td>
  </tr>
</script>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
s3_cors_fileupload-0.1.2 lib/generators/s3_cors_fileupload/install/templates/views/_template_uploaded.html.erb
s3_cors_fileupload-0.1.1 lib/generators/s3_cors_fileupload/install/templates/views/_template_uploaded.html.erb