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
b9809ba2
Commit
b9809ba2
authored
Jun 11, 2020
by
Kenzo-Hugo Hillion
♻
Browse files
improve colors for expandable items by default
finish polishing frontend
parent
6ea59860
Pipeline
#32108
passed with stages
in 3 minutes and 7 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
frontend/src/components/eggnogcard/eggnogcard.html
View file @
b9809ba2
...
...
@@ -18,6 +18,6 @@
<!-- Simple information -->
<SimpleListing
v-else
:listData=
"eggnogDetails"
:color=
"color"
/>
<!-- Expanded information -->
<SimpleExpand
:expandData=
"eggnogExpandDetails"
color=
"color"
/>
<SimpleExpand
:expandData=
"eggnogExpandDetails"
:
color=
"color"
/>
</v-card>
</v-flex>
\ No newline at end of file
frontend/src/components/listing/simpleexpand/simpleexpand.html
View file @
b9809ba2
...
...
@@ -4,7 +4,7 @@
<v-divider
:key=
"expanditem.title"
></v-divider>
<v-expansion-panel-content
:class=
"colors.lighten_
5
"
>
<v-expansion-panel-content
:class=
"colors.lighten_
4
"
>
<template
v-slot:header
>
<div>
<v-icon
small
color=
"primary"
>
{{ expanditem.icon }}
</v-icon>
...
...
@@ -12,10 +12,10 @@
</div>
</template>
<v-card>
<v-list
:class=
"colors.lighten_
4
"
>
<v-list
:class=
"colors.lighten_
5
"
>
<template
v-for=
"(item, index) in expanditem.content"
>
<v-divider
v-if=
"index > 0"
:key=
"index"
/>
<v-list-tile
:key=
"item.id"
:class=
"colors.lighten_
4
"
>
<v-list-tile
:key=
"item.id"
:class=
"colors.lighten_
5
"
>
<v-list-tile-content>
<v-tooltip
top
>
<template
v-slot:activator=
"{ on }"
>
...
...
frontend/src/components/listing/simpleexpand/simpleexpand.js
View file @
b9809ba2
...
...
@@ -6,10 +6,20 @@ export default {
},
computed
:
{
colors
()
{
var
lighten4
=
`
${
this
.
color
}
lighten-4`
;
if
(
this
.
color
)
{
var
lighten5
=
`
${
this
.
color
}
lighten-5`
;
}
else
{
var
lighten5
=
`
${
this
.
defaultColor
}
lighten-5`
;
}
return
{
lighten_4
:
`
${
this
.
color
}
lighten
-4`
,
lighten_5
:
`
${
this
.
color
}
lighten
-5`
,
lighten_4
:
lighten
4
,
lighten_5
:
lighten
5
,
}
},
defaultColor
()
{
return
"
blue-grey
"
}
}
};
\ No newline at end of file
frontend/src/views/genedetail/genedetail.html
View file @
b9809ba2
...
...
@@ -47,7 +47,7 @@
<div>
<v-textarea
readonly
background-color=
"blue-grey lighten-
4
"
background-color=
"blue-grey lighten-
5
"
hide-details
:value=
"sequence"
id=
"fastaseq"
...
...
Write
Preview
Supports
Markdown
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