Extract extensions from the button
This commit is contained in:
parent
b81eb8fdc6
commit
84455f2b94
|
@ -9,9 +9,10 @@
|
|||
<div class="icon icon-upload"></div>
|
||||
|
||||
<div class="button-file">
|
||||
<span i18n>Select the file to upload (.mp4, .webm, .ogv)</span>
|
||||
<span i18n>Select the file to upload</span>
|
||||
<input #videofileInput type="file" name="videofile" id="videofile" [accept]="videoExtensions" (change)="fileChange()" />
|
||||
</div>
|
||||
<span class="button-file-extension">(.mp4, .webm, .ogv)</span>
|
||||
|
||||
<div class="form-group form-group-channel">
|
||||
<label i18n for="first-step-channel">Channel</label>
|
||||
|
|
|
@ -37,8 +37,17 @@
|
|||
@include peertube-button-file(auto);
|
||||
|
||||
min-width: 190px;
|
||||
margin-bottom: 45px;
|
||||
}
|
||||
|
||||
.button-file-extension {
|
||||
display: block;
|
||||
font-size: 12px;
|
||||
margin-top: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
.form-group-channel {
|
||||
margin-top: 35px;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue