Skip to content

Commit

Permalink
add clarifiations
Browse files Browse the repository at this point in the history
  • Loading branch information
ildyria committed Nov 29, 2024
1 parent 33d9384 commit 34c814a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion resources/js/components/maintenance/FixTreeLine.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
>{{ props.album.title }}</span
>
</div>
<div class="flex w-1/4">
<div class="flex w-1/4 gap-4">
<div class="flex">
<InputNumber
class="border-0 w-full px-2"
Expand Down
14 changes: 14 additions & 0 deletions resources/js/views/FixTree.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
</Toolbar>
<div class="text-muted-color text-center mt-2 p-2">
This page allows you to re-order and fix your albums manually.<br />
Before any modifications, we strongly recommend you to read about Nested Set tree structures.<br />
<span class="text-danger-700 text-lg font-bold"
><i class="pi text-danger-700 pi-exclamation-triangle mr-2" />You can really break your Lychee installation here, modify values at your
own risks.</span
Expand All @@ -25,6 +26,19 @@
<Button severity="warn" class="border-none px-8 font-bold" @click="check">Check</Button>
<Button severity="danger" class="border-none px-8 font-bold" @click="apply">Apply</Button>
</div>
<div
class="mt-8 pb-2 flex justify-between hover:bg-primary-emphasis/5 gap-8 items-center font-bold text-lg text-color-emphasis border-b border-b-white/50"
>
<div class="w-1/2">Title</div>
<div class="flex w-1/4 gap-4">
<div class="w-full pl-4">Left</div>
<div class="w-full pl-4">Right</div>
</div>
<div class="flex w-1/4 justify-between">
<div class="w-full">Id</div>
<div class="w-full text-right">Parent Id</div>
</div>
</div>
<FixTreeLine
v-for="album in albums"
v-model:lft="album._lft"
Expand Down

0 comments on commit 34c814a

Please sign in to comment.