diff --git a/src/components/date/datepickerWithRange.vue b/src/components/date/datepickerWithRange.vue
index b160435f..b9996919 100644
--- a/src/components/date/datepickerWithRange.vue
+++ b/src/components/date/datepickerWithRange.vue
@@ -2,11 +2,7 @@
-
-
- {{ buttonText }}
-
-
+
@@ -62,7 +58,8 @@
:overflow="true"
variant="hint-modal"
>
-
+
{{ $t('input.datepickerRange.math.intro') }}
@@ -74,10 +71,12 @@
-
+
Grafana
-
+
Elasticsearch
@@ -125,7 +124,7 @@
-
+
{{ $t('input.datepickerRange.math.someExamples') }}
@@ -187,13 +186,6 @@ const {t} = useI18n()
const emit = defineEmits(['dateChanged'])
-const props = defineProps({
- showSelectedOnButton: {
- type: Boolean,
- default: false,
- },
-})
-
// FIXME: This seems to always contain the default value - that breaks the picker
const weekStart = computed(() => store.state.auth.settings.weekStart ?? 0)
const flatPickerConfig = computed(() => ({
@@ -209,7 +201,7 @@ const flatPickerConfig = computed(() => ({
}))
const showHowItWorks = ref(false)
-const exampleDate = format(new Date(), 'yyyy-MM-dd')
+const exampleDate = format(new Date(), 'yyyy-MM-dd')
const flatpickrRange = ref('')
@@ -268,7 +260,7 @@ const customRangeActive = computed(() => {
})
const buttonText = computed(() => {
- if(props.showSelectedOnButton && from.value !== '' && to.value !== '') {
+ if(from.value !== '' && to.value !== '') {
return t('input.datepickerRange.fromto', {
from: from.value,
to: to.value,
@@ -366,9 +358,9 @@ const buttonText = computed(() => {
}
}
-.how-it-works-modal{
+.how-it-works-modal {
font-size: 1rem;
-
+
p {
display: inline-block !important;
}
diff --git a/src/components/list/partials/filters.vue b/src/components/list/partials/filters.vue
index c216e558..a3dc6f5c 100644
--- a/src/components/list/partials/filters.vue
+++ b/src/components/list/partials/filters.vue
@@ -67,25 +67,49 @@
-
+
+
+
+ {{ buttonText }}
+
+
+
-
+
+
+
+ {{ buttonText }}
+
+
+
-
+
+
+
+ {{ buttonText }}
+
+
+
-
+
+
+
+ {{ buttonText }}
+
+
+
@@ -308,7 +332,7 @@ export default {
setDateFilter(filterName, {dateFrom, dateTo}) {
dateFrom = parseDateOrString(dateFrom, null)
dateTo = parseDateOrString(dateTo, null)
-
+
// Only filter if we have a date
if (dateFrom !== null && dateTo !== null) {
diff --git a/src/views/tasks/ShowTasks.vue b/src/views/tasks/ShowTasks.vue
index 01db546f..bf621f68 100644
--- a/src/views/tasks/ShowTasks.vue
+++ b/src/views/tasks/ShowTasks.vue
@@ -4,7 +4,13 @@
{{ pageTitle }}
-
+
+
+
+ {{ $t('task.show.select') }}
+
+
+
{{ $t('task.show.noDates') }}