Admin: Added filter / search panel to nodes list.
This commit is contained in:
parent
ac7f8c98b0
commit
f95829adc6
13 changed files with 568 additions and 45 deletions
|
|
@ -17,7 +17,9 @@ const linkTarget = computed(() => {
|
|||
if (props.filter) {
|
||||
return {
|
||||
path: props.link,
|
||||
query: props.filter,
|
||||
query: {
|
||||
filter: JSON.stringify(props.filter),
|
||||
},
|
||||
}
|
||||
} else {
|
||||
return props.link;
|
||||
|
|
@ -47,11 +49,19 @@ const linkTarget = computed(() => {
|
|||
padding: $statistics-card-padding;
|
||||
|
||||
border-radius: $statistics-card-border-radius;
|
||||
border-width: 0.2em;
|
||||
border-style: solid;
|
||||
|
||||
@each $variant, $color in $variant-colors {
|
||||
&.statistics-card-#{$variant} {
|
||||
background-color: $color;
|
||||
color: map-get($variant-text-colors, $variant);
|
||||
border-color: $color;
|
||||
|
||||
&:focus {
|
||||
border-color: $page-background-color;
|
||||
outline: 0.2em solid $color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue