1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 | <div class="bx--form-item">
|
9 | <strong class="bx--file--label">Account
|
10 | photo</strong>
|
11 | <p class="bx--label-description">Only .jpg and .png files. 500kb max file size.</p>
|
12 | <div class="bx--file" data-file>
|
13 | <label for="your-file-importer-id-here"
|
14 | class="bx--file-btn bx--btn bx--btn--primary"
|
15 | role="button" tabindex="0">Add file</label>
|
16 | <input type="file" class="bx--file-input" id="your-file-importer-id-here" data-file-uploader
|
17 | data-target="[data-file-container]" multiple />
|
18 | <div data-file-container class="bx--file-container">
|
19 | <div class="bx--file__selected-file">
|
20 | <p class="bx--file-filename">Lorem ipsum dolor sit amet consectetur adipisicing elit. Libero vero
|
21 | sapiente illum reprehenderit molestiae perferendis voluptatem temporibus laudantium ducimus magni voluptatum
|
22 | veniam, odit nesciunt corporis numquam maxime sunt excepturi sint!</p>
|
23 | <span data-for="your-file-importer-id-here" class="bx--file__state-container">
|
24 | <svg focusable="false" preserveAspectRatio="xMidYMid meet" style="will-change: transform;" xmlns="http://www.w3.org/2000/svg" class="bx--file-complete" width="16" height="16" viewBox="0 0 16 16" aria-hidden="true"><path d="M8 1C4.1 1 1 4.1 1 8s3.1 7 7 7 7-3.1 7-7-3.1-7-7-7zM7 11L4.3 8.3l.9-.8L7 9.3l4-3.9.9.8L7 11z"></path><path d="M7 11L4.3 8.3l.9-.8L7 9.3l4-3.9.9.8L7 11z" opacity="0"></path></svg>
|
25 | </span>
|
26 | </div>
|
27 | <div class="bx--file__selected-file--invalid__wrapper">
|
28 | <div class="bx--file__selected-file bx--file__selected-file--invalid" data-invalid>
|
29 | <p class="bx--file-filename">color.jpeg</p>
|
30 | <span data-for="your-file-importer-id-here" class="bx--file__state-container">
|
31 | <svg focusable="false" preserveAspectRatio="xMidYMid meet" style="will-change: transform;" xmlns="http://www.w3.org/2000/svg" class="bx--file--invalid" width="16" height="16" viewBox="0 0 16 16" aria-hidden="true"><path d="M8 1C4.2 1 1 4.2 1 8s3.2 7 7 7 7-3.1 7-7-3.1-7-7-7zm-.5 3h1v5h-1V4zm.5 8.2c-.4 0-.8-.4-.8-.8s.3-.8.8-.8c.4 0 .8.4.8.8s-.4.8-.8.8z"></path><path d="M7.5 4h1v5h-1V4zm.5 8.2c-.4 0-.8-.4-.8-.8s.3-.8.8-.8c.4 0 .8.4.8.8s-.4.8-.8.8z" data-icon-path="inner-path" opacity="0"></path></svg>
|
32 | <svg focusable="false" preserveAspectRatio="xMidYMid meet" style="will-change: transform;" xmlns="http://www.w3.org/2000/svg" class="bx--file--close" width="16" height="16" viewBox="0 0 16 16" aria-hidden="true"><path d="M12 4.7l-.7-.7L8 7.3 4.7 4l-.7.7L7.3 8 4 11.3l.7.7L8 8.7l3.3 3.3.7-.7L8.7 8z"></path></svg>
|
33 | </span>
|
34 | </div>
|
35 | <div class="bx--form-requirement">
|
36 | File size exceeds limit
|
37 | </div>
|
38 | </div>
|
39 | <div class="bx--file__selected-file">
|
40 | <p class="bx--file-filename">color.jpeg</p>
|
41 | <span data-for="your-file-importer-id-here" class="bx--file__state-container">
|
42 | <div class="bx--inline-loading__animation">
|
43 | <div data-inline-loading-spinner="" class="bx--loading bx--loading--small">
|
44 | <svg class="bx--loading__svg" viewBox="-75 -75 150 150">
|
45 | <circle class="bx--loading__background" cx="0" cy="0" r="37.5"></circle>
|
46 | <circle class="bx--loading__stroke" cx="0" cy="0" r="37.5"></circle>
|
47 | </svg>
|
48 | </div>
|
49 | </div>
|
50 | </span>
|
51 | </div>
|
52 | </div>
|
53 | </div>
|
54 | </div>
|