Teil Merge
This commit is contained in:
@@ -10,22 +10,6 @@
|
|||||||
export { classNames as class };
|
export { classNames as class };
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
{#if href}
|
|
||||||
<a on:click {href} class:w-full={fullWidth} class="button {variant} {size} {classNames} {align}">
|
|
||||||
{@render children()}
|
|
||||||
</a>
|
|
||||||
{:else}
|
|
||||||
<button
|
|
||||||
on:click
|
|
||||||
{type}
|
|
||||||
{disabled}
|
|
||||||
class:w-full={fullWidth}
|
|
||||||
class="button {variant} {size} {classNames} {align}"
|
|
||||||
>
|
|
||||||
{@render children()}
|
|
||||||
</button>
|
|
||||||
{/if}
|
|
||||||
|
|
||||||
{#if href}
|
{#if href}
|
||||||
<a on:click {href} class:w-full={fullWidth} class="button {variant} {size} {classNames} {align}"
|
<a on:click {href} class:w-full={fullWidth} class="button {variant} {size} {classNames} {align}"
|
||||||
><slot />
|
><slot />
|
||||||
|
|||||||
@@ -3,12 +3,8 @@
|
|||||||
import FileRect from '$lib/icons/File-rect.svelte';
|
import FileRect from '$lib/icons/File-rect.svelte';
|
||||||
import ListIcon from '$lib/icons/List-icon.svelte';
|
import ListIcon from '$lib/icons/List-icon.svelte';
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
|
|
||||||
export let data;
|
export let data;
|
||||||
export let outline = true;
|
export let outline = true;
|
||||||
=======
|
|
||||||
>>>>>>> temp_f03-Frontend
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
@@ -30,9 +26,7 @@
|
|||||||
Verschaffe Dir einen Überblick über alle gespeicherten Tatorte.
|
Verschaffe Dir einen Überblick über alle gespeicherten Tatorte.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
>>>>>>> temp_f03-Frontend
|
|
||||||
<div class="group relative rounded-lg p-6 text-sm leading-6 hover:bg-gray-50 w-1/4">
|
<div class="group relative rounded-lg p-6 text-sm leading-6 hover:bg-gray-50 w-1/4">
|
||||||
<div
|
<div
|
||||||
class="flex h-11 w-11 items-center justify-center rounded-lg bg-gray-50 group-hover:bg-white"
|
class="flex h-11 w-11 items-center justify-center rounded-lg bg-gray-50 group-hover:bg-white"
|
||||||
|
|||||||
@@ -51,7 +51,7 @@
|
|||||||
<!-- Ordner -->
|
<!-- Ordner -->
|
||||||
<Folder />
|
<Folder />
|
||||||
<div class="min-w-0 flex-auto">
|
<div class="min-w-0 flex-auto">
|
||||||
<span class="text-sm font-semibold leading-6 text-gray-900">{item.name}</span>
|
<span class=" text-sm font-semibold leading-6 text-gray-900">{item.name}</span>
|
||||||
<!-- Delete button -->
|
<!-- Delete button -->
|
||||||
<button
|
<button
|
||||||
style="padding: 2px"
|
style="padding: 2px"
|
||||||
|
|||||||
@@ -163,7 +163,6 @@
|
|||||||
}}>{item.name}</span
|
}}>{item.name}</span
|
||||||
>
|
>
|
||||||
|
|
||||||
|
|
||||||
{#if item.show_button}
|
{#if item.show_button}
|
||||||
<button
|
<button
|
||||||
style="padding: 2px"
|
style="padding: 2px"
|
||||||
@@ -265,11 +264,14 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{#if data.error}
|
{#if data.error}
|
||||||
<div class="max-w-xl mx-auto bg-red-100 border border-red-400 text-red-700 px-4 py-3 rounded relative mt-4">
|
<div
|
||||||
|
class="max-w-xl mx-auto bg-red-100 border border-red-400 text-red-700 px-4 py-3 rounded relative mt-4"
|
||||||
|
>
|
||||||
<strong class="font-bold">Fehler: </strong>
|
<strong class="font-bold">Fehler: </strong>
|
||||||
<span class="block sm:inline">{data.error}</span>
|
<span class="block sm:inline">{data.error}</span>
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
ul {
|
ul {
|
||||||
min-width: 24rem;
|
min-width: 24rem;
|
||||||
|
|||||||
Reference in New Issue
Block a user