diff --git a/res/static/style/layout.css b/res/static/style/layout.css index 272d59e..80f1372 100644 --- a/res/static/style/layout.css +++ b/res/static/style/layout.css @@ -287,17 +287,17 @@ section { } .highlight_green { - background-color: rgba(0, 255, 0, 0.05); + background-color: rgba(0, 255, 0, 0.1); border-color: #00D000; } .highlight_blue { - background-color: rgba(32, 32, 255, 0.2); + background-color: rgba(0, 0, 255, 0.1); border-color: #3636FF; } .highlight_yellow { - background-color: rgba(255, 255, 0, 0.05); + background-color: rgba(255, 255, 0, 0.1); border-color: #A0A000; } diff --git a/svelte/src/admin_panel/PeerTable.svelte b/svelte/src/admin_panel/PeerTable.svelte index 381ce2f..e9e8a2a 100644 --- a/svelte/src/admin_panel/PeerTable.svelte +++ b/svelte/src/admin_panel/PeerTable.svelte @@ -69,8 +69,9 @@ let sort = (field) => { {#each peers as peer (peer.address)} diff --git a/svelte/src/filesystem/FileStats.svelte b/svelte/src/filesystem/FileStats.svelte index cd66165..1c91c97 100644 --- a/svelte/src/filesystem/FileStats.svelte +++ b/svelte/src/filesystem/FileStats.svelte @@ -60,6 +60,10 @@ const update_base = async base => { } const close_socket = () => { + // Clear this path so the update_base function does not instantly return + // with the next retry + connected_to = "" + if (socket !== null) { // Disable the error handler so it doesn't start retrying the connection socket.onerror = null diff --git a/svelte/src/filesystem/viewers/Audio.svelte b/svelte/src/filesystem/viewers/Audio.svelte index 2f1b2c1..554a23c 100644 --- a/svelte/src/filesystem/viewers/Audio.svelte +++ b/svelte/src/filesystem/viewers/Audio.svelte @@ -41,7 +41,7 @@ onMount(() => { - +