Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Metagenomics
metagenedb
Commits
b474d6dc
Commit
b474d6dc
authored
Jun 24, 2020
by
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
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
frontend/src/views/genes/genes.html
View file @
b474d6dc
<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
...
...
frontend/src/views/genes/genes.js
View file @
b474d6dc
...
...
@@ -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
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment