diff options
| author | Horus3 | 2014-12-01 02:09:10 +0100 |
|---|---|---|
| committer | Horus3 | 2014-12-01 02:09:10 +0100 |
| commit | b435ec462e0f39457e14d81750f07781db97cb91 (patch) | |
| tree | 6923f685c0ca9d6fef80d3496c02e12318e68fdc /uploaded/upload-templ.html | |
| parent | 33affa31742f0bc9d735349763f639087ea4e7ff (diff) | |
| download | tools.iamfabulous.de-b435ec462e0f39457e14d81750f07781db97cb91.tar.gz | |
File Uploaded added
Diffstat (limited to 'uploaded/upload-templ.html')
| -rw-r--r-- | uploaded/upload-templ.html | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/uploaded/upload-templ.html b/uploaded/upload-templ.html new file mode 100644 index 0000000..4800f91 --- /dev/null +++ b/uploaded/upload-templ.html @@ -0,0 +1,33 @@ +<!-- The template to display files available for upload --> +<script id="template-upload" type="text/x-tmpl"> +{% for (var i=0, file; file=o.files[i]; i++) { %} + <tr class="template-upload fade"> + <td> + <span class="preview"></span> + </td> + <td> + <p class="name">{%=file.name%}</p> + <strong class="error text-danger"></strong> + </td> + <td> + <p class="size">Processing...</p> + <div class="progress progress-striped active" role="progressbar" aria-valuemin="0" aria-valuemax="100" aria-valuenow="0"><div class="progress-bar progress-bar-success" style="width:0%;"></div></div> + </td> + <td> + {% if (!i && !o.options.autoUpload) { %} + <button class="btn btn-primary start" disabled> + <i class="glyphicon glyphicon-upload"></i> + <span>Start</span> + </button> + {% } %} + {% if (!i) { %} + <button class="btn btn-warning cancel"> + <i class="glyphicon glyphicon-ban-circle"></i> + <span>Cancel</span> + </button> + {% } %} + </td> + </tr> +{% } %} +</script> + |
