diff --git a/ng-app/src/routes/AccountInfo.svelte b/ng-app/src/routes/AccountInfo.svelte index 23365ff..122c088 100644 --- a/ng-app/src/routes/AccountInfo.svelte +++ b/ng-app/src/routes/AccountInfo.svelte @@ -59,9 +59,9 @@ server_type: Object { Domain Localhost: 1440 // if domain not exist - BoxPrivate // What are they for? rs type Vec - Public // What are they for? rs type Vec - BoxPublicDyn // What are they for? rs type Vec + BoxPrivate // one IPv4 and optionally one IPv6 to connect to an NGbox on private LAN rs type Vec + Public // one IPv4 and optionally one IPv6 to connect to an NGbox on public (edge) internet. rs type Vec + BoxPublicDyn // same but with dynamic IPs that can be retrieved with a special API. rs type Vec } ] */ @@ -128,6 +128,7 @@ $: display_brokers = Object.entries(wallet_unlocked?.brokers || {}).map( // @ts-ignore ([broker_id, [broker]]) => { + //TODO: there can be several broker definitions for the same broker_id (if the broker can be reached by different means) return { id: broker_id, can_forward: broker.ServerV0.can_forward, @@ -140,22 +141,22 @@ } ); - $: console.info(JSON.stringify(device_info)); + // $: console.info(JSON.stringify(device_info)); - $: console.debug( - "info", - device_info, - "walletSites", - walletSites, - "wallet", - $active_wallet, - "connections", - $connections, - "display_brokers", - display_brokers, - "display_sites", - display_sites - ); + // $: console.debug( + // "info", + // device_info, + // "walletSites", + // walletSites, + // "wallet", + // $active_wallet, + // "connections", + // $connections, + // "display_brokers", + // display_brokers, + // "display_sites", + // display_sites + // ); onMount(async () => { ng.client_info().then((res) => { @@ -172,13 +173,13 @@ divClass="bg-gray-60 overflow-y-auto py-4 px-3 rounded dark:bg-gray-800" > - +
  • Account Info

  • -
  • -

    - {site.name} +

    + {site.name} account

  • @@ -226,19 +225,19 @@ class="flex flex-col ml-3 items-start text-left overflow-auto" >
    - - {device.name} + Name + {device.name}
    - - {device.peer_id} + ID + {device.peer_id}
    - + Version {device.version}
    - + System {device.device_name}
    @@ -274,29 +273,27 @@ /> -
    +
    - - {broker.address} + Address
    + {broker.address}
    - - {broker.last_connected} + Last Connected
    + {broker.last_connected}
    - - {broker.id} + ID + {broker.id}
    -
    - +
    {/each} @@ -364,7 +361,4 @@ li.clickable { cursor: pointer; } - .site-cnx-details { - @apply mt-0 !important; - } diff --git a/ng-app/src/routes/User.svelte b/ng-app/src/routes/User.svelte index 05233e9..3d91fe1 100644 --- a/ng-app/src/routes/User.svelte +++ b/ng-app/src/routes/User.svelte @@ -123,13 +123,13 @@ - +
  • User panel

  • - -
  • Wallet Info

  • -
    Remove Wallet from Device - -

    - Are you sure you want to remove this wallet from your device? -

    -
    - - - -
    -
    + +

    + Are you sure you want to remove this wallet from your device? +

    +
    + + + +
    +
    {#if false} + Use this QR-Code to log in with your wallet on new devices. + {/if} {#if false}