mirror of
https://github.com/LukeHagar/idn-admin-console.git
synced 2025-12-09 20:47:46 +00:00
Add Progress component to inactive identities report page
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
|
import Progress from '$lib/Components/Progress.svelte';
|
||||||
import { TriggerCodeModal } from '$lib/Utils.js';
|
import { TriggerCodeModal } from '$lib/Utils.js';
|
||||||
import type { TableSource } from '@skeletonlabs/skeleton';
|
import type { TableSource } from '@skeletonlabs/skeleton';
|
||||||
import { ProgressRadial, Table, getModalStore, tableMapperValues } from '@skeletonlabs/skeleton';
|
import { ProgressRadial, Table, getModalStore, tableMapperValues } from '@skeletonlabs/skeleton';
|
||||||
@@ -85,13 +86,8 @@
|
|||||||
{#if tableSimple}
|
{#if tableSimple}
|
||||||
<Table class="w-full" source={tableSimple} interactive={true} on:selected={onTableclick} />
|
<Table class="w-full" source={tableSimple} interactive={true} on:selected={onTableclick} />
|
||||||
{:else}
|
{:else}
|
||||||
<div class="progress-bar">
|
<div class="grid h-full place-content-center p-8">
|
||||||
<ProgressRadial
|
<Progress width="w-[100px]" />
|
||||||
stroke={100}
|
|
||||||
meter="stroke-primary-500"
|
|
||||||
track="stroke-primary-500/30"
|
|
||||||
class="progress-bar"
|
|
||||||
/>
|
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user