General improvements and minor fixes
This commit is contained in:
@@ -6,7 +6,8 @@ let { data, children } = $props();
|
|||||||
|
|
||||||
import { goto } from '$app/navigation';
|
import { goto } from '$app/navigation';
|
||||||
import {
|
import {
|
||||||
BookHeart, Check,
|
BookHeart, BookImage, Bookmark, BookOpenText,
|
||||||
|
Check,
|
||||||
FilePlus, Library,
|
FilePlus, Library,
|
||||||
Minus, Notebook, Pencil, Plus,
|
Minus, Notebook, Pencil, Plus,
|
||||||
X
|
X
|
||||||
@@ -122,7 +123,7 @@ async function handle_update_journal() {
|
|||||||
<a href="/journals"
|
<a href="/journals"
|
||||||
class="
|
class="
|
||||||
btn btn-sm
|
btn btn-sm
|
||||||
variant-ghost-tertiary
|
variant-outline-tertiary
|
||||||
hover:variant-filled-tertiary
|
hover:variant-filled-tertiary
|
||||||
transition
|
transition
|
||||||
"
|
"
|
||||||
@@ -147,7 +148,11 @@ async function handle_update_journal() {
|
|||||||
"
|
"
|
||||||
>
|
>
|
||||||
<Notebook />
|
<Notebook />
|
||||||
<span class="hidden md:inline">Back to</span>
|
<!-- <Bookmark /> -->
|
||||||
|
<!-- <BookHeart class="m-1" /> -->
|
||||||
|
<!-- <BookImage class="m-1" /> -->
|
||||||
|
<!-- <BookOpenText class="m-1" /> -->
|
||||||
|
<span class="hidden md:inline">Back:</span>
|
||||||
<span class="font-bold">
|
<span class="font-bold">
|
||||||
{$lq__journal_obj?.name || 'Journal'}
|
{$lq__journal_obj?.name || 'Journal'}
|
||||||
</span>
|
</span>
|
||||||
@@ -219,8 +224,8 @@ async function handle_update_journal() {
|
|||||||
}}
|
}}
|
||||||
class="
|
class="
|
||||||
btn btn-sm
|
btn btn-sm
|
||||||
variant-ghost-success
|
variant-ghost-secondary
|
||||||
hover:variant-filled-success
|
hover:variant-filled-secondary
|
||||||
transition
|
transition
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -440,7 +440,7 @@ $effect(() => {
|
|||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
class="btn-icon-sm"
|
class="btn-icon-sm"
|
||||||
title="Save changes to this journal entry"
|
title="Toggle private visibility of this journal entry"
|
||||||
>
|
>
|
||||||
{#if $lq__journal_entry_obj?.private}
|
{#if $lq__journal_entry_obj?.private}
|
||||||
<Fingerprint strokeWidth="2.5" color="green" />
|
<Fingerprint strokeWidth="2.5" color="green" />
|
||||||
|
|||||||
Reference in New Issue
Block a user