Sha256: 95a7061d951b84ac51135f7d4011a7f3cd2fae7ebc6731a1b511096b8de8da71
Contents?: true
Size: 1 KB
Versions: 2
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 {% if (!o.options.autoUpload) { %} %button.btn.btn-primary.start %i.icon-upload.icon-white %span Start {% } %} {% } else { %} %td{:colspan => "2"} {% } %} %td {% if (!i) { %} %button.btn.btn-warning.cancel %i.icon-ban-circle.icon-white %span Cancel {% } %} {% } %}
Version data entries
2 entries across 2 versions & 1 rubygems