finish manage ui for ssh keys

This commit is contained in:
jfmonty2 committed 2024-07-02 09:57:02 -04:00
1 parent a3a11897c2
commit 6711ce2c43
11 files changed
+336 -224

No files matched your search

+4 -1
View File
@@ -2,6 +2,9 @@
import { onMount } from 'svelte';
import { slide } from 'svelte/transition';
import { fullMessage } from '../lib/errors.js';
let extraClasses = "";
export {extraClasses as class};
export let slideDuration = 150;
@@ -78,7 +81,7 @@
<div transition:slide="{{duration: slideDuration}}" class="alert alert-error shadow-lg {animationClass} {extraClasses}">
<svg xmlns="http://www.w3.org/2000/svg" class="stroke-current flex-shrink-0 h-6 w-6" fill="none" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 14l2-2m0 0l2-2m-2 2l-2-2m2 2l2 2m7-2a9 9 0 11-18 0 9 9 0 0118 0z" /></svg>
<span>
<slot {error}>{error.msg || error}</slot>
<slot {error}>{fullMessage(error)}</slot>
</span>
{#if $$slots.buttons}