Sha256: bcc24d43028aa1d5a85d925f9cd50d6499a6d5cc151bda30d28c054533477966
Contents?: true
Size: 1.1 KB
Versions: 2
Compression:
Stored size: 1.1 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%}" data-confirmation="Are you sure?"> <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