You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
631 B
HTML
13 lines
631 B
HTML
|
7 years ago
|
<input [id]="attachmentname" type="file" name="attachment" style="display:none" (change)='loadAttachment($event)'
|
||
|
|
accept="image/*,video/*,audio/*">
|
||
|
|
<ion-button (click)="openFile()" slot="end" expand="block" fill="outline">
|
||
|
|
<ion-icon name="attach" slot="start"></ion-icon>
|
||
|
|
{{'general,select-attachment' | translate}}
|
||
|
|
</ion-button>
|
||
|
|
|
||
|
|
<div *ngIf="inputFiles.length>0" class="uploader-icons">
|
||
|
|
<ion-item *ngFor="let file of inputFiles; let i = index" lines="none">
|
||
|
|
<p slot="start"> <img [src]="attachmentImg" /> {{file.name}}</p>
|
||
|
|
<p slot="end"><img [src]="deleteImg" (click)="deleteFiles(i)"></p>
|
||
|
|
</ion-item>
|
||
|
|
</div>
|