add modal titles
This commit is contained in:
@@ -21,6 +21,7 @@ const emit = defineEmits<{
|
|||||||
<i class="fas fa-fw fa-trash" />
|
<i class="fas fa-fw fa-trash" />
|
||||||
</button>
|
</button>
|
||||||
</template>
|
</template>
|
||||||
|
<template #title>Delete note</template>
|
||||||
<template #default>Are you sure you want to delete this note?</template>
|
<template #default>Are you sure you want to delete this note?</template>
|
||||||
<template #actions="{ close }">
|
<template #actions="{ close }">
|
||||||
<button class="btn-primary btn-sm btn" @click="emit('delete', close)">Delete note</button>
|
<button class="btn-primary btn-sm btn" @click="emit('delete', close)">Delete note</button>
|
||||||
@@ -33,6 +34,7 @@ const emit = defineEmits<{
|
|||||||
<i class="fas fa-fw fa-sitemap" />
|
<i class="fas fa-fw fa-sitemap" />
|
||||||
</button>
|
</button>
|
||||||
</template>
|
</template>
|
||||||
|
<template #title>Set root note</template>
|
||||||
<template #default>Are you sure you want to set this note as root note?</template>
|
<template #default>Are you sure you want to set this note as root note?</template>
|
||||||
<template #actions="{ close }">
|
<template #actions="{ close }">
|
||||||
<button class="btn-sm btn" @click="close">Close</button>
|
<button class="btn-sm btn" @click="close">Close</button>
|
||||||
|
|||||||
@@ -51,6 +51,7 @@ const authModalInitialStateOpen = ref(
|
|||||||
<template #activator="{ open }">
|
<template #activator="{ open }">
|
||||||
<button class="btn-outline btn-sm btn py-1 text-white" @click="open">Sign in</button>
|
<button class="btn-outline btn-sm btn py-1 text-white" @click="open">Sign in</button>
|
||||||
</template>
|
</template>
|
||||||
|
<template #title>Sign in</template>
|
||||||
<template #default="{ close }">
|
<template #default="{ close }">
|
||||||
<Auth @signedIn="close" />
|
<Auth @signedIn="close" />
|
||||||
</template>
|
</template>
|
||||||
@@ -70,8 +71,14 @@ const authModalInitialStateOpen = ref(
|
|||||||
>
|
>
|
||||||
<Modal>
|
<Modal>
|
||||||
<template #activator="{ open }">
|
<template #activator="{ open }">
|
||||||
<li @click="open" class="text-base"><a><i class="fa-fw fa-solid fa-right-from-bracket" />Sign out</a></li>
|
<li @click="open" class="text-base">
|
||||||
|
<a>
|
||||||
|
<i class="fa-fw fa-solid fa-right-from-bracket" />
|
||||||
|
Sign out
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
</template>
|
</template>
|
||||||
|
<template #title>Sign out</template>
|
||||||
<template #default>Are you sure want to signout?</template>
|
<template #default>Are you sure want to signout?</template>
|
||||||
<template #actions="{ close }">
|
<template #actions="{ close }">
|
||||||
<button class="btn-sm btn" @click="close">Close</button>
|
<button class="btn-sm btn" @click="close">Close</button>
|
||||||
|
|||||||
Reference in New Issue
Block a user