|
26 | 26 | a(ng-href="https://help.{{DOMAIN}}/hc/en-us/articles/219122667-Formatting-Your-Submission-for-Design-Challenges") Learn more about formatting your submission file |
27 | 27 |
|
28 | 28 | .form-block__fields |
29 | | - .fieldset |
30 | | - tc-fp-file-input( |
31 | | - label-text="Submission", |
32 | | - field-id="SUBMISSION_ZIP", |
33 | | - file-type="zip", |
34 | | - button-text="Add File", |
35 | | - services="COMPUTER,GOOGLE_DRIVE,BOX,DROPBOX", |
36 | | - show-file-type="true", |
37 | | - placeholder="Attach all visible files as a single .zip file", |
38 | | - mandatory="true", |
39 | | - ng-model="vm.submissionForm.submissionZip", |
40 | | - set-file-reference="vm.setFileReference(file, fieldId)" |
41 | | - ) |
42 | | - |
43 | | - .tc-error-messages( |
44 | | - ng-show="submissionForm['SUBMISSION_ZIP'].$touched && submissionForm['SUBMISSION_ZIP'].$invalid", |
45 | | - ng-messages="submissionForm['SUBMISSION_ZIP'].$error" |
46 | | - ) |
47 | | - p(ng-message="filesize") File size may not exceed 500MB. |
48 | | - |
49 | | - p(ng-message="required") This is not the correct file format. Please select a .zip file. |
50 | | - |
51 | | - tc-fp-file-input.tc-file-field( |
52 | | - label-text="Source", |
53 | | - field-id="SOURCE_ZIP", |
54 | | - file-type="zip", |
55 | | - button-text="Add File", |
56 | | - services="COMPUTER,GOOGLE_DRIVE,BOX,DROPBOX", |
57 | | - show-file-type="true", |
58 | | - placeholder="Attach all visible files as a single .zip file", |
59 | | - mandatory="true", |
60 | | - set-file-reference="vm.setFileReference(file, fieldId)", |
61 | | - ng-model="vm.submissionForm.sourceZip" |
62 | | - ) |
63 | | - |
64 | | - .tc-error-messages( |
65 | | - ng-show="submissionForm['SOURCE_ZIP'].$touched && submissionForm['SOURCE_ZIP'].$invalid", |
66 | | - ng-messages="submissionForm['SOURCE_ZIP'].$error" |
67 | | - ) |
68 | | - p(ng-message="filesize") File size may not exceed 500MB. |
69 | | - |
70 | | - p(ng-message="required") This is not the correct file format. Please select a .zip file. |
71 | | - |
72 | | - tc-fp-file-input.tc-file-field( |
73 | | - label-text="Preview Image", |
74 | | - field-id="DESIGN_COVER", |
75 | | - file-type=".jpg,.jpeg,.png", |
76 | | - button-text="Add File", |
77 | | - services="COMPUTER,GOOGLE_DRIVE,BOX,DROPBOX", |
78 | | - placeholder="Image file as .jpg or .png", |
79 | | - mandatory="true", |
80 | | - set-file-reference="vm.setFileReference(file, fieldId)", |
81 | | - ng-model="vm.submissionForm.designCover" |
82 | | - ) |
83 | | - |
84 | | - .tc-error-messages( |
85 | | - ng-show="submissionForm['DESIGN_COVER'].$touched && submissionForm['DESIGN_COVER'].$invalid", |
86 | | - ng-messages="submissionForm['DESIGN_COVER'].$error" |
87 | | - ) |
88 | | - p(ng-message="filesize") File size may not exceed 500MB. |
89 | | - |
90 | | - p(ng-message="required") This is not the correct file format. Please select a .jpg or .png file. |
| 29 | + .fieldset.files |
| 30 | + .upload |
| 31 | + .file-picker |
| 32 | + tc-fp-file-input( |
| 33 | + label-text="Submission", |
| 34 | + field-id="SUBMISSION_ZIP", |
| 35 | + file-type="zip", |
| 36 | + button-text="Add File", |
| 37 | + services="COMPUTER,GOOGLE_DRIVE,BOX,DROPBOX", |
| 38 | + show-file-type="true", |
| 39 | + placeholder="Attach all visible files as a single .zip file", |
| 40 | + mandatory="true", |
| 41 | + ng-model="vm.submissionForm.submissionZip", |
| 42 | + set-file-reference="vm.setFileReference(file, fieldId)" |
| 43 | + ) |
| 44 | + |
| 45 | + .tc-error-messages( |
| 46 | + ng-show="submissionForm['SUBMISSION_ZIP'].$touched && submissionForm['SUBMISSION_ZIP'].$invalid", |
| 47 | + ng-messages="submissionForm['SUBMISSION_ZIP'].$error" |
| 48 | + ) |
| 49 | + p(ng-message="filesize") File size may not exceed 500MB. |
| 50 | + |
| 51 | + p(ng-message="required") This is not the correct file format. Please select a .zip file. |
| 52 | + |
| 53 | + .file-picker |
| 54 | + tc-fp-file-input.tc-file-field( |
| 55 | + label-text="Source", |
| 56 | + field-id="SOURCE_ZIP", |
| 57 | + file-type="zip", |
| 58 | + button-text="Add File", |
| 59 | + services="COMPUTER,GOOGLE_DRIVE,BOX,DROPBOX", |
| 60 | + show-file-type="true", |
| 61 | + placeholder="Attach all visible files as a single .zip file", |
| 62 | + mandatory="true", |
| 63 | + set-file-reference="vm.setFileReference(file, fieldId)", |
| 64 | + ng-model="vm.submissionForm.sourceZip" |
| 65 | + ) |
| 66 | + |
| 67 | + .tc-error-messages( |
| 68 | + ng-show="submissionForm['SOURCE_ZIP'].$touched && submissionForm['SOURCE_ZIP'].$invalid", |
| 69 | + ng-messages="submissionForm['SOURCE_ZIP'].$error" |
| 70 | + ) |
| 71 | + p(ng-message="filesize") File size may not exceed 500MB. |
| 72 | + |
| 73 | + p(ng-message="required") This is not the correct file format. Please select a .zip file. |
| 74 | + .file-picker |
| 75 | + tc-fp-file-input.tc-file-field( |
| 76 | + label-text="Preview Image", |
| 77 | + field-id="DESIGN_COVER", |
| 78 | + file-type=".jpg,.jpeg,.png", |
| 79 | + button-text="Add File", |
| 80 | + services="COMPUTER,GOOGLE_DRIVE,BOX,DROPBOX", |
| 81 | + placeholder="Image file as .jpg or .png", |
| 82 | + mandatory="true", |
| 83 | + set-file-reference="vm.setFileReference(file, fieldId)", |
| 84 | + ng-model="vm.submissionForm.designCover" |
| 85 | + ) |
| 86 | + |
| 87 | + .tc-error-messages( |
| 88 | + ng-show="submissionForm['DESIGN_COVER'].$touched && submissionForm['DESIGN_COVER'].$invalid", |
| 89 | + ng-messages="submissionForm['DESIGN_COVER'].$error" |
| 90 | + ) |
| 91 | + p(ng-message="filesize") File size may not exceed 500MB. |
| 92 | + |
| 93 | + p(ng-message="required") This is not the correct file format. Please select a .jpg or .png file. |
91 | 94 |
|
92 | 95 | tc-input.fieldset__input.submitterRank( |
93 | 96 | label-text="Rank #", |
|
0 commit comments