Verified Commit 7561f4dd authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Prettier file upload form

parent 799cc019
<div v-if="batch" class="ui two buttons">
<div v-if="batch" class="ui container">
class="ui icon button"
:class="['ui', 'icon', 'left', 'floated', 'button']"
:size="1024 * 1024 * 30"
......@@ -19,16 +19,18 @@
<i class="upload icon"></i>
Select files to upload...
<button class="ui icon teal button" v-if="!$refs.upload || !$" @click.prevent="$ = true">
:class="['ui', 'right', 'floated', 'icon', {disabled: files.length === 0}, 'button']"
v-if="!$refs.upload || !$" @click.prevent="$ = true">
<i class="play icon" aria-hidden="true"></i>
Start Upload
<button type="button" class="ui icon yellow button" v-else @click.prevent="$ = false">
<button type="button" class="ui right floated icon yellow button" v-else @click.prevent="$ = false">
<i class="pause icon" aria-hidden="true"></i>
Stop Upload
<div class="ui hidden divider"></div>
<div class="ui hidden clearing divider"></div>
<p v-if="batch">
Once all your files are uploaded, simply head over <router-link :to="{name: 'library.import.batches.detail', params: {id: }}">import detail page</router-link> to check the import status.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment