diff options
author | Chocobozzz <me@florianbigard.com> | 2022-03-22 17:41:39 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-03-22 17:41:39 +0100 |
commit | a2c5cd4a03cfe792a5f7341b33115002c448d3e4 (patch) | |
tree | 77ef3de463504659850cf1fd55148710a56cbe21 /client/src/app/shared/shared-forms/preview-upload.component.html | |
parent | 92e66e04f7f51d37b465cff442ce47f6d6d7cadd (diff) | |
download | PeerTube-a2c5cd4a03cfe792a5f7341b33115002c448d3e4.tar.gz PeerTube-a2c5cd4a03cfe792a5f7341b33115002c448d3e4.tar.zst PeerTube-a2c5cd4a03cfe792a5f7341b33115002c448d3e4.zip |
Add reset button for file inputs in studio page
Diffstat (limited to 'client/src/app/shared/shared-forms/preview-upload.component.html')
-rw-r--r-- | client/src/app/shared/shared-forms/preview-upload.component.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/shared/shared-forms/preview-upload.component.html b/client/src/app/shared/shared-forms/preview-upload.component.html index 7c3a2b588..11e7bdf7f 100644 --- a/client/src/app/shared/shared-forms/preview-upload.component.html +++ b/client/src/app/shared/shared-forms/preview-upload.component.html | |||
@@ -2,7 +2,7 @@ | |||
2 | <div class="preview-container"> | 2 | <div class="preview-container"> |
3 | <my-reactive-file | 3 | <my-reactive-file |
4 | [inputName]="inputName" [inputLabel]="inputLabel" [extensions]="videoImageExtensions" [maxFileSize]="maxVideoImageSize" placement="right" | 4 | [inputName]="inputName" [inputLabel]="inputLabel" [extensions]="videoImageExtensions" [maxFileSize]="maxVideoImageSize" placement="right" |
5 | icon="edit" (fileChanged)="onFileChanged($event)" [ngbTooltip]="'(extensions: '+ videoImageExtensions +', '+ maxSizeText +': '+ maxVideoImageSizeInBytes +')'" | 5 | icon="edit" (fileChanged)="onFileChanged($event)" [buttonTooltip]="getReactiveFileButtonTooltip()" |
6 | ></my-reactive-file> | 6 | ></my-reactive-file> |
7 | 7 | ||
8 | <img *ngIf="imageSrc" [ngStyle]="{ width: previewWidth, height: previewHeight }" [src]="imageSrc" class="preview" /> | 8 | <img *ngIf="imageSrc" [ngStyle]="{ width: previewWidth, height: previewHeight }" [src]="imageSrc" class="preview" /> |