forked from ndbroadbent/alpaca
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontrol-upload.html
More file actions
52 lines (49 loc) · 2.28 KB
/
control-upload.html
File metadata and controls
52 lines (49 loc) · 2.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<script type="text/x-handlebars-template">
<div class="alpaca-fileupload-container {{#if cssClasses}}{{cssClasses}}{{/if}}">
<div class="container-fluid">
<div class="row alpaca-fileupload-well">
<div class="col-md-12 fileupload-active-zone">
<table class="table table-striped">
{{#if options.showHeaders}}
<thead>
<tr>
{{#if options.showUploadPreview}}
<td>Thumbnail</td>
{{else}}
<td></td>
{{/if}}
<td>Name</td>
<td>Size</td>
<td colspan="2"></td><!-- error or start or progress indicator -->
<td class="text-center">Actions</td>
</tr>
</thead>
{{/if}}
<tbody class="files">
</tbody>
</table>
<!--<p align="center" class="dropzone-message">{{dropZoneMessage}}</p>-->
</div>
</div>
<div class="row">
<div class="col-md-12">
<div id="progress" class="progress">
<div class="progress-bar progress-bar-success"></div>
</div>
</div>
</div>
<div class="row alpaca-fileupload-chooserow">
<div class="col-md-12 text-right">
<div class="btn-group">
<span class="{{view.styles.button}} fileinput-button">
<i class="glyphicon glyphicon-upload"></i>
<span class="fileupload-add-button">{{chooseButtonLabel}}</span>
<input class="alpaca-fileupload-input" type="file" name="{{name}}_files">
<input class="alpaca-fileupload-input-hidden" type="hidden" name="{{name}}_files_hidden">
</span>
</div>
</div>
</div>
</div>
</div>
</script>