Skip to content
Snippets Groups Projects
Unverified Commit 6f63bab8 authored by Sébastien Thuret's avatar Sébastien Thuret
Browse files

add file input

parent f906a39f
No related branches found
No related tags found
No related merge requests found
......@@ -137,6 +137,23 @@ h3.header {
color: #fff;
}
.file-dropzone {
font-size: 1.1rem;
border: 1px solid #ccc;
background: #f3f3f3;
padding: 1rem 2rem 1rem 1.5rem;
height: 220px;
position: relative;
}
.dropzone-content {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.btn-action {
display: flex;
align-items: center;
......
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment