mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-17 12:42:15 +01:00
add dashboard frontend
This commit is contained in:
@@ -21,7 +21,7 @@ const hasActions = computed(() => !!useSlots().actions);
|
||||
<div class="mt-5 md:mt-0 md:col-span-2">
|
||||
<form @submit.prevent="$emit('submitted')">
|
||||
<div
|
||||
class="px-4 py-5 bg-white dark:bg-gray-800 sm:p-6 shadow"
|
||||
class="px-4 py-5 bg-card-background sm:p-6 shadow"
|
||||
:class="
|
||||
hasActions
|
||||
? 'sm:rounded-tl-md sm:rounded-tr-md'
|
||||
@@ -34,7 +34,7 @@ const hasActions = computed(() => !!useSlots().actions);
|
||||
|
||||
<div
|
||||
v-if="hasActions"
|
||||
class="flex items-center justify-end px-4 py-3 bg-gray-50 dark:bg-gray-800 text-end sm:px-6 shadow sm:rounded-bl-md sm:rounded-br-md">
|
||||
class="flex items-center justify-end px-4 py-3 bg-card-background border-t border-card-background-seperator text-end sm:px-6 shadow sm:rounded-bl-md sm:rounded-br-md">
|
||||
<slot name="actions" />
|
||||
</div>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user