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} {/await}
</div> </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 <div
class="min-h-16 flex w-full items-center justify-between space-x-3 p-0 text-xl font-medium" 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 /> <Spinner />
{:then nothing} {:then nothing}
<div class="relative w-full overflow-visible"> <div class="relative w-full overflow-visible">
{#if !$page.data.features.security || $user.admin}
<button <button
class="btn btn-primary text-primary-content btn-md absolute -top-14 right-16" class="btn btn-primary text-primary-content btn-md absolute -top-14 right-16"
on:click={() => { on:click={() => {
@@ -485,7 +485,6 @@
> >
<Scan class="h-6 w-6" /></button <Scan class="h-6 w-6" /></button
> >
{/if}
<div <div
class="overflow-x-auto space-y-1" class="overflow-x-auto space-y-1"
@@ -533,7 +532,6 @@
</div> </div>
</div> </div>
{#if !$page.data.features.security || $user.admin}
<div class="divider mb-0" /> <div class="divider mb-0" />
<div <div
class="flex flex-col gap-2 p-0" class="flex flex-col gap-2 p-0"
@@ -754,7 +752,7 @@
</div> </div>
</form> </form>
</div> </div>
{/if}
{/await} {/await}
</div> </div>
{/if}
</SettingsCard> </SettingsCard>