Revize 946058e4
Přidáno uživatelem Ondřej Váně před téměř 5 roky(ů)
fe/fulltextsearch/src/app/components/pages/upload/upload.component.html | ||
---|---|---|
4 | 4 |
<h1 class="card-header">Upload files</h1> |
5 | 5 |
<div class="card-body"> |
6 | 6 |
<div class="row justify-content-center align-items-center"> |
7 |
<input type="file" (change)="onFilesSelected($event)" multiple #fileInput accept="image/jpeg, image/png, application/xml"> |
|
7 |
<input type="file" (change)="onFilesSelected($event)" multiple #fileInput accept="image/jpeg, image/png, application/xml, text/xml">
|
|
8 | 8 |
<button class="btn btn-outline-secondary" type="button" (click)="fileInput.click()">Pick files</button> |
9 | 9 |
<button class="btn btn-outline-secondary" type="button" (click)="onUpload()">Upload</button> |
10 | 10 |
</div> |
Také k dispozici: Unified diff
Re #7821: Kontrola uploadu souborů na FE
- povolení uploadu souborů typu text/xml