Updates wifi.svelte

This commit is contained in:
Rune Harlyk
2024-04-25 18:26:18 +02:00
committed by Rune Harlyk
parent dc6e5daf65
commit 0b4fe8a0ef
+3 -5
View File
@@ -452,7 +452,8 @@
{/await}
</div>
<div class="bg-base-200 relative grid w-full max-w-2xl self-center overflow-hidden">
{#if !$page.data.features.security || $user.admin}
<div class="bg-base-200 shadow-lg relative grid w-full max-w-2xl self-center overflow-hidden">
<div
class="min-h-16 flex w-full items-center justify-between space-x-3 p-0 text-xl font-medium"
>
@@ -462,7 +463,6 @@
<Spinner />
{:then nothing}
<div class="relative w-full overflow-visible">
{#if !$page.data.features.security || $user.admin}
<button
class="btn btn-primary text-primary-content btn-md absolute -top-14 right-16"
on:click={() => {
@@ -485,7 +485,6 @@
>
<Scan class="h-6 w-6" /></button
>
{/if}
<div
class="overflow-x-auto space-y-1"
@@ -533,7 +532,6 @@
</div>
</div>
{#if !$page.data.features.security || $user.admin}
<div class="divider mb-0" />
<div
class="flex flex-col gap-2 p-0"
@@ -754,7 +752,7 @@
</div>
</form>
</div>
{/if}
{/await}
</div>
{/if}
</SettingsCard>