add select and deselect all on time and detailed reporting view

This commit is contained in:
Gregor Vostrak
2024-10-09 01:47:55 +02:00
parent 09586de2d5
commit a374a52474
7 changed files with 49 additions and 12 deletions

View File

@@ -35,5 +35,5 @@ const proxyChecked = computed({
type="checkbox"
:id="id"
:value="value"
class="rounded bg-input-background border-input-border text-indigo-600 shadow-sm focus:ring-indigo-500" />
class="h-4 w-4 rounded bg-card-background border-input-border text-accent-500/80 focus:ring-accent-500/80" />
</template>

View File

@@ -1,11 +1,15 @@
<script setup lang="ts">
defineProps({
value: String,
});
import { twMerge } from 'tailwind-merge';
const props = defineProps<{
value?: string;
class?: string;
}>();
</script>
<template>
<label class="block font-medium text-sm text-white">
<label
:class="twMerge('block font-medium text-sm text-white', props.class)">
<span v-if="value">{{ value }}</span>
<span v-else><slot /></span>
</label>