Sha256: 68cc937d58e16a50f601aeb0ec85439cce9105dbd974e904045360708aefbaca
Contents?: true
Size: 1 KB
Versions: 1
Compression:
Stored size: 1 KB
Contents
/ To be used with Javascript-Templates (see: https://github.com/blueimp/JavaScript-Templates) / The template to display files available for upload %script#template-upload{:type => "text/x-tmpl"} {% for (var i=0, file; file=o.files[i]; i++) { %} %tr.template-upload.fade %td.preview %span.fade %td.name %span {%=file.name%} %td.size %span {%=o.formatFileSize(file.size)%} {% if (file.error) { %} %td.error{:colspan => "2"} %span.label.label-important Error {%=file.error%} {% } else if (o.files.valid && !i) { %} %td .progress.progress-success.progress-striped.active .bar{:style => "width:0%;"} %td.start {% if (!o.options.autoUpload) { %} %button.btn.btn-primary %i.icon-upload.icon-white %span Start {% } %} {% } else { %} %td{:colspan => "2"} {% } %} %td.cancel {% if (!i) { %} %button.btn.btn-warning %i.icon-ban-circle.icon-white %span Cancel {% } %} {% } %}
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
s3_cors_fileupload-0.1.5 | lib/generators/s3_cors_fileupload/install/templates/views/haml/_template_upload.html.haml |