Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
metagenedb
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Metagenomics
metagenedb
Commits
b474d6dc
Commit
b474d6dc
authored
4 years ago
by
Kenzo-Hugo Hillion
♻️
Browse files
Options
Downloads
Patches
Plain Diff
add component to display downloading for fasta and csv
parent
3e81ad68
No related branches found
No related tags found
2 merge requests
!64
Update prod with new features
,
!61
Resolve "Improve download of csv and fasta"
Pipeline
#32847
passed
4 years ago
Stage: build
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
frontend/src/views/genes/genes.html
+22
-0
22 additions, 0 deletions
frontend/src/views/genes/genes.html
frontend/src/views/genes/genes.js
+12
-0
12 additions, 0 deletions
frontend/src/views/genes/genes.js
with
34 additions
and
0 deletions
frontend/src/views/genes/genes.html
+
22
−
0
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
...
...
This diff is collapsed.
Click to expand it.
frontend/src/views/genes/genes.js
+
12
−
0
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
()
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment