aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/forms/reactive-file.component.html
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-05-17 10:45:53 +0200
committerChocobozzz <me@florianbigard.com>2019-05-17 10:45:53 +0200
commit7b992a86b107fc2917b993127df8e95a66ae94db (patch)
treeebbd6ded7c855a233a917786e2a15d763de86338 /client/src/app/shared/forms/reactive-file.component.html
parent536598cfafab1c5e24e881db1c528489f804fb6b (diff)
downloadPeerTube-7b992a86b107fc2917b993127df8e95a66ae94db.tar.gz
PeerTube-7b992a86b107fc2917b993127df8e95a66ae94db.tar.zst
PeerTube-7b992a86b107fc2917b993127df8e95a66ae94db.zip
Support audio upload in client
Diffstat (limited to 'client/src/app/shared/forms/reactive-file.component.html')
-rw-r--r--client/src/app/shared/forms/reactive-file.component.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/client/src/app/shared/forms/reactive-file.component.html b/client/src/app/shared/forms/reactive-file.component.html
index 7d691059d..f6bf5f9ae 100644
--- a/client/src/app/shared/forms/reactive-file.component.html
+++ b/client/src/app/shared/forms/reactive-file.component.html
@@ -1,6 +1,9 @@
1<div class="root"> 1<div class="root">
2 <div class="button-file"> 2 <div class="button-file" [ngClass]="{ 'with-icon': !!icon }">
3 <my-global-icon *ngIf="icon" [iconName]="icon"></my-global-icon>
4
3 <span>{{ inputLabel }}</span> 5 <span>{{ inputLabel }}</span>
6
4 <input 7 <input
5 type="file" 8 type="file"
6 [name]="inputName" [id]="inputName" [accept]="extensions" 9 [name]="inputName" [id]="inputName" [accept]="extensions"
@@ -8,7 +11,5 @@
8 /> 11 />
9 </div> 12 </div>
10 13
11 <div i18n class="file-constraints">(extensions: {{ allowedExtensionsMessage }}, max size: {{ maxFileSize | bytes }})</div>
12
13 <div class="filename" *ngIf="displayFilename === true && filename">{{ filename }}</div> 14 <div class="filename" *ngIf="displayFilename === true && filename">{{ filename }}</div>
14</div> 15</div>