three60/src/lib/components/InlineWarning.svelte
Markus Brueckner 309dc1c7df Implement shared survey access.
This revamps the whole access control system to use a separate ACL instead
of relying on the "owner" field of the survey, allowing more granular
definitions of access to surveys (cloning, editing, viewing results etc.)

Closes #17
2025-01-26 17:56:25 +01:00

12 lines
318 B
Svelte

<script lang="ts">
import type { HTMLAttributes } from 'svelte/elements';
const { children, class: cls, ...rest }: HTMLAttributes<HTMLDivElement> = $props();
</script>
<div
class="bold mx-auto max-w-xl border-2 border-red-700 bg-red-100 text-center text-red-500 {cls}"
{...rest}
>
{@render children?.()}
</div>