summaryrefslogtreecommitdiff
path: root/web-ui/app
diff options
context:
space:
mode:
authorGiovane <giovaneliberato@gmail.com>2016-01-25 16:57:53 -0200
committerGiovane <giovaneliberato@gmail.com>2016-01-25 16:57:53 -0200
commit74ab33d3b59ca42f760d86e5486f82302041c998 (patch)
treedcdf5f6529ced75f1fe099d8face429dc8489987 /web-ui/app
parent685760ed085d3144511b4a56e2b23dadc6e62c1c (diff)
Include forgotten template file
Diffstat (limited to 'web-ui/app')
-rw-r--r--web-ui/app/templates/compose/attachments_list.hbs27
1 files changed, 27 insertions, 0 deletions
diff --git a/web-ui/app/templates/compose/attachments_list.hbs b/web-ui/app/templates/compose/attachments_list.hbs
new file mode 100644
index 00000000..e21e311f
--- /dev/null
+++ b/web-ui/app/templates/compose/attachments_list.hbs
@@ -0,0 +1,27 @@
+<div id="attachment-list" class="buttons-group columns">
+ <span class="btn btn-success fileinput-button">
+ <!-- The file input field used as target for the file upload widget -->
+ <input id="fileupload" type="file" name="attachment">
+ </span>
+ <!-- The global progress bar -->
+ <div id="progress" class="progress">
+ <div class="progress-bar progress-bar-success"></div>
+ </div>
+
+ <!-- The container for the uploaded files -->
+ <div class="attachmentsAreaWrap {{#unless attachments}}hide{{/unless}}">
+ <div class="attachmentsArea column large-12">
+ <ul id="attachment-list-item">
+ {{#each attachments }}
+ <li>
+ <a href="/attachment/{{ this.ident }}?encoding={{ this.encoding }}&filename={{ this.name }}">{{ this.name }} <span class="attachment-size">({{ formatSize this.size}})</span>
+ <i class="fa fa-arrow-down download-icon"></i></a>
+ </li>
+ {{/each }}
+ </ul>
+ </div>
+ </div>
+
+ <br>
+</div>
+