Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
Website
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
MDM Lab
Website
Commits
a8ac66e6
Commit
a8ac66e6
authored
11 months ago
by
Remi PLANEL
Browse files
Options
Downloads
Patches
Plain Diff
Work a bit ui
parent
39e22456
No related branches found
No related tags found
1 merge request
!24
Anti defense systems
Pipeline
#135897
passed
11 months ago
Stage: delete-release
Stage: build
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
frontend/components/SubmitAnalysis.vue
+15
-7
15 additions, 7 deletions
frontend/components/SubmitAnalysis.vue
frontend/components/UppyGenomeUpload.vue
+20
-16
20 additions, 16 deletions
frontend/components/UppyGenomeUpload.vue
with
35 additions
and
23 deletions
frontend/components/SubmitAnalysis.vue
+
15
−
7
View file @
a8ac66e6
...
@@ -86,19 +86,27 @@ const submit = handleSubmit(async (values) => {
...
@@ -86,19 +86,27 @@ const submit = handleSubmit(async (values) => {
<UppyGenomeUpload
v-model=
"files.value.value"
ref=
"uppyComponentRef"
class=
"mb-2"
/>
<UppyGenomeUpload
v-model=
"files.value.value"
ref=
"uppyComponentRef"
class=
"mb-2"
/>
</v-window-item>
</v-window-item>
<v-window-item
value=
"paste"
>
<v-window-item
value=
"paste"
>
<v-form
@
submit.prevent=
"submit"
>
<v-card
flat
>
<v-switch
v-model=
"antiDefenseSystem"
color=
"primary"
inset
label=
"anti defense system"
></v-switch>
<v-card-text>
<v-textarea
v-model=
"sequence"
:error-messages=
"sequenceErrorMessage"
:count=
"maxSequenceLength"
<v-form
@
submit.prevent=
"submit"
>
label=
"Fasta sequences"
variant=
"filled"
auto-grow
></v-textarea>
<v-switch
v-model=
"antiDefenseSystem"
color=
"primary"
label=
"anti defense system"
<v-btn
type=
"submit"
:loading=
"loading"
>
Submit
</v-btn>
hide-details=
"auto"
class=
"mx-0"
></v-switch>
</v-form>
<v-textarea
v-model=
"sequence"
:error-messages=
"sequenceErrorMessage"
:count=
"maxSequenceLength"
label=
"Fasta sequences"
variant=
"filled"
auto-grow
></v-textarea>
<v-btn
type=
"submit"
:loading=
"loading"
>
Submit
</v-btn>
</v-form>
</v-card-text>
</v-card>
</v-window-item>
</v-window-item>
<v-window-item
value=
"example"
>
<v-window-item
value=
"example"
>
<v-card
flat
color=
"transparent"
>
<v-card
flat
color=
"transparent"
>
<v-card-text>
<v-card-text>
You can try an example with Escherichia coli str. K-12 substr. MG1655 proteins (
<a
target=
"_blank"
You can try an example with Escherichia coli str. K-12 substr. MG1655 proteins (
<a
target=
"_blank"
href=
"https://www.ncbi.nlm.nih.gov/datasets/genome/GCF_000005845.2"
>
GCF_000005845.2
</a>
)
href=
"https://www.ncbi.nlm.nih.gov/datasets/genome/GCF_000005845.2"
>
GCF_000005845.2
</a>
)
<v-switch
v-model=
"antiDefenseSystem"
color=
"primary"
inset
label=
"anti defense system"
></v-switch>
</v-card-text>
<v-card-text>
<v-switch
v-model=
"antiDefenseSystem"
color=
"primary"
label=
"anti defense system"
hide-details=
"auto"
></v-switch>
</v-card-text>
</v-card-text>
<v-card-actions>
<v-card-actions>
<v-btn
variant=
"elevated"
density=
"default"
size=
"default"
:slim=
"false"
rounded=
"xl"
<v-btn
variant=
"elevated"
density=
"default"
size=
"default"
:slim=
"false"
rounded=
"xl"
...
...
This diff is collapsed.
Click to expand it.
frontend/components/UppyGenomeUpload.vue
+
20
−
16
View file @
a8ac66e6
...
@@ -95,23 +95,27 @@ defineExpose({
...
@@ -95,23 +95,27 @@ defineExpose({
</
script
>
</
script
>
<
template
>
<
template
>
<v-card
flat
>
<v-card
flat
>
<v-
form
@
submit.prevent=
"runAnalysis"
>
<v-
card-text
>
<v-
switch
v-model=
"antiDefenseSystem"
color=
"primary"
inset
label=
"anti defense system"
></v-switch
>
<v-
form
@
submit.prevent=
"runAnalysis"
>
<Dashboard
:uppy=
"uppyCovar"
:props=
"
{
<v-switch
v-model=
"antiDefenseSystem"
color=
"primary"
label=
"anti defense system"
inline: true,
hide-details=
"auto"
class=
"ml-1"
></v-switch>
hideUploadButton: true,
theme: themeUppy,
width,
height: 300,
metaFields: [{
id: 'uppy-genome-upload',
name: 'genome',
placeholder: 'Genomes'
}],
}" />
<v-btn
type=
"submit"
:disabled=
"!hasAddFiles"
:loading=
"uploading"
>
Submit
</v-btn>
</v-form>
<Dashboard
:uppy=
"uppyCovar"
:props=
"
{
inline: true,
hideUploadButton: true,
theme: themeUppy,
width,
height: 300,
metaFields: [{
id: 'uppy-genome-upload',
name: 'genome',
placeholder: 'Genomes'
}],
}" />
<v-btn
type=
"submit"
:disabled=
"!hasAddFiles"
:loading=
"uploading"
>
Submit
</v-btn>
</v-form>
</v-card-text>
</v-card>
</v-card>
</
template
>
</
template
>
\ No newline at end of file
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