Commit b474d6dc authored by Kenzo-Hugo Hillion's avatar Kenzo-Hugo Hillion
Browse files

add component to display downloading for fasta and csv

parent 3e81ad68
Pipeline #32847 passed with stages
in 3 minutes and 23 seconds
<div class="genes">
<template v-for="(item, index) in downloadAlerts">
<v-alert
:value="item.value"
type="info"
icon="fas fa-download"
transition="slide-y-transition"
>
<v-layout align-center>
<v-spacer/>
{{ item.text }}
<v-spacer/>
<v-flex md8>
<v-progress-linear
indeterminate
height="2"
color="primary"
></v-progress-linear>
</v-flex>
<v-spacer/>
</v-layout>
</v-alert>
</template>
<v-layout row wrap>
<v-flex xs12>
<v-toolbar
......
......@@ -162,6 +162,18 @@ export default {
basename = `${basename}_${this.taxLevel}-${taxName}`;
}
return basename;
},
downloadAlerts() {
return [
{
value: this.loadingFastaDownload,
text: "Downloading sequences (.fasta)..."
},
{
value: this.loadingCSVDownload,
text: "Downloading metadata (.csv)..."
},
]
}
},
mounted() {
......
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