diff --git a/ui/public/rengoku1.jpg b/ui/public/rengoku1.jpg new file mode 100644 index 0000000..78c6f9b Binary files /dev/null and b/ui/public/rengoku1.jpg differ diff --git a/ui/public/tanjiro2.jpg b/ui/public/tanjiro2.jpg new file mode 100644 index 0000000..c629efe Binary files /dev/null and b/ui/public/tanjiro2.jpg differ diff --git a/ui/src/App.svelte b/ui/src/App.svelte index 98c1c25..2cdf3ce 100644 --- a/ui/src/App.svelte +++ b/ui/src/App.svelte @@ -20,7 +20,7 @@ }); -
+
{#if snap.data} @@ -28,7 +28,7 @@ {/if} {#if !snap.data} -
+
Status
Connecting to kamado-api…
{#if snap.error} @@ -36,18 +36,34 @@ {/if}
{:else if selection.page === "accelerator"} - + {#key 'accelerator'} +
+ +
+ {/key} {:else if selection.worker} - + {#key selection.worker} +
+ +
+ {/key} {:else if selection.user} - + {#key selection.user} +
+ +
+ {/key} {:else} - - - - - - + {#key 'dashboard'} +
+ + + + + + +
+ {/key} {/if}
@@ -55,6 +71,7 @@ diff --git a/ui/src/lib/AcceleratorPage.svelte b/ui/src/lib/AcceleratorPage.svelte index bae79d2..362950a 100644 --- a/ui/src/lib/AcceleratorPage.svelte +++ b/ui/src/lib/AcceleratorPage.svelte @@ -21,6 +21,7 @@ let boostedList = $state([]); let loadingMax = $state(false); + const feerate = $derived(parseFloat(feerateInput) || 0); const validTxid = $derived(/^[0-9a-fA-F]{64}$/.test(txid.trim())); const overCap = $derived(feerate > 2000); @@ -310,8 +311,10 @@ +