add file input

This commit is contained in:
Sébastien Thuret 2021-10-24 13:22:44 +02:00
parent f906a39f66
commit 6f63bab8a1
No known key found for this signature in database
GPG key ID: 4742E2D66933BB08
2 changed files with 32 additions and 2 deletions

View file

@ -173,8 +173,21 @@
</div>
</div>
<div class="row" v-if="translationType === 'files'">
<div class="input-field textarea-container col s12">
<div class="file-dropzone">
<div class="dropzone-content">
<span>Supported file format: </span>
<form action="#">
<div class="file-field input-field">
<div class="btn">
<span>File</span>
<input type="file">
</div>
<div class="file-path-wrapper hidden">
<input class="file-path validate" type="text">
</div>
</div>
</form>
</div>
</div>
</div>
</form>