mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
Add web interface with admin functionality (#167)
This commit is contained in:
parent
79dea504b0
commit
a779c3803c
76 changed files with 8252 additions and 87 deletions
17
web/src/lib/components/shared/full-screen-modal.svelte
Normal file
17
web/src/lib/components/shared/full-screen-modal.svelte
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
<script lang="ts">
|
||||
import { clickOutside } from './click-outside';
|
||||
import { createEventDispatcher } from 'svelte';
|
||||
import { fade } from 'svelte/transition';
|
||||
|
||||
const dispatch = createEventDispatcher();
|
||||
</script>
|
||||
|
||||
<section
|
||||
in:fade={{ duration: 100 }}
|
||||
out:fade={{ duration: 100 }}
|
||||
class="absolute w-full h-full bg-black/40 z-[100] flex place-items-center place-content-center "
|
||||
>
|
||||
<div class="bg-immich-bg z-[9999] rounded-md" use:clickOutside on:outclick={() => dispatch('clickOutside')}>
|
||||
<slot />
|
||||
</div>
|
||||
</section>
|
||||
Loading…
Add table
Add a link
Reference in a new issue