8c144c0e8b2d2bb94ea6b699eec9f0bc72a2d25e
[motion2.git] /
1 <div
2   class="sortable-container"
3   layout="column"
4   sv-root
5   sv-part="Upload.item.options"
6 >
7   <md-input-container class="md-block">
8     <label>Upload Button label</label>
9     <input ng-model="Upload.item.config.uploadFileButtonLabel" />
10   </md-input-container>
11
12   <md-switch
13     ng-model="Upload.item.config.multipleUpload"
14     ng-true-value="true"
15     ng-false-value="false"
16   >
17     Multiple
18   </md-switch>
19
20   <md-input-container class="md-block">
21     <span>Max File size: {{Upload.item.config.size}} Mb</span>
22     <input
23       type="number"
24       id="size"
25       name="size"
26       min="0.1"
27       max="999"
28       step="0.1"
29       aria-label="size"
30       ng-model="Upload.item.config.size"
31     />
32   </md-input-container>
33
34   <md-input-container class="md-block">
35     <label>Max file size error message</label>
36     <textarea
37       ng-model="Upload.item.config.sizeErrMessage"
38       md-maxlength="150"
39       rows="2"
40     ></textarea>
41   </md-input-container>
42
43   <md-switch
44     ng-model="Upload.item.config.showAccept"
45     ng-true-value="true"
46     ng-false-value="false"
47   >
48     Configure allowed file types
49   </md-switch>
50
51   <md-input-container class="md-block" ng-if="Upload.item.config.showAccept">
52     <label>Allowed Types</label>
53     <textarea
54       ng-model="Upload.item.config.accept"
55       md-maxlength="150"
56       rows="2"
57     ></textarea>
58   </md-input-container>
59 </div>