mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-10-21 15:28:13 +00:00
13 lines
758 B
HTML
13 lines
758 B
HTML
<pngx-widget-frame *pngxIfPermissions="{ action: PermissionAction.Add, type: PermissionType.Document }" [cardless]="true">
|
|
<div content tourAnchor="tour.upload-widget">
|
|
<form class="justify-content-center d-flex flex-column align-items-center">
|
|
<button type="button" class="btn btn-outline-dark bg-light shadow-sm w-100 h-100 pt-3 pb-3" (click)="fileUpload.click()">
|
|
<i-bs class="text-primary me-1" name="plus-circle"></i-bs>
|
|
<span class="text-primary" i18n>Upload documents</span>
|
|
<div class="text-muted smaller fst-italic" i18n>or drop files anywhere</div>
|
|
</button>
|
|
<input type="file" class="visually-hidden" (change)="onFileSelected($event)" multiple #fileUpload>
|
|
</form>
|
|
</div>
|
|
</pngx-widget-frame>
|