From e7058cf3c82cc00683b89e6b4ee3db042c661be8 Mon Sep 17 00:00:00 2001 From: Azalea <22280294+hykilpikonna@users.noreply.github.com> Date: Wed, 21 Feb 2024 14:14:38 -0500 Subject: [PATCH] [+] Show existing cards --- AquaNet/src/components/BindCard.svelte | 43 ++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/AquaNet/src/components/BindCard.svelte b/AquaNet/src/components/BindCard.svelte index 72985c99..f5df912c 100644 --- a/AquaNet/src/components/BindCard.svelte +++ b/AquaNet/src/components/BindCard.svelte @@ -3,7 +3,17 @@
+

Your Cards

+

Here are the cards you have linked to your account:

+ + {#if me} + {#each me.cards as card} +
+ Registered: {moment(card.registerTime).format("YYYY MMM DD")} + Last used: {moment(card.accessTime).format("YYYY MMM DD")} + ID: {formatLUID(card.luid)} +
+ {/each} + {:else if error} +

{error}

+ {:else} +

Loading...

+ {/if} +

Link Card

Please enter the following information:

1. The 20-digit access code on the back of your card.