From ae57abc2e511b06748dd2e4194b3891f754e0ca0 Mon Sep 17 00:00:00 2001 From: MrMelon54 Date: Mon, 13 Nov 2023 02:35:01 +0000 Subject: [PATCH] Add target management view patch --- src/views/TargetManagementView.svelte | 292 ++++++++++++++++++++++++++ 1 file changed, 292 insertions(+) create mode 100644 src/views/TargetManagementView.svelte diff --git a/src/views/TargetManagementView.svelte b/src/views/TargetManagementView.svelte new file mode 100644 index 0000000..26166e9 --- /dev/null +++ b/src/views/TargetManagementView.svelte @@ -0,0 +1,292 @@ + + +
+
+<<<<<<< TargetManagement.svelte + Warning: This is currently still under development, however it DOES update the real server redirects +======= + Warning: This is currently still under development, however it DOES update the real server routes +>>>>>>> ../views/RoutesView.svelte +
+ +
+ {#await promiseForTable} +
+
Loading...
+
+ {:then} + + + + + + +<<<<<<< TargetManagement.svelte + +======= +>>>>>>> ../views/RoutesView.svelte + + + + +<<<<<<< TargetManagement.svelte + { + const x = e.detail; + $redirectsTable[x.src] = {client: x, server: $redirectsTable[x.src]?.server, p: Promise.resolve()}; +======= + { + const x = e.detail; + $routesTable[x.src] = {client: x, server: $routesTable[x.src]?.server, p: Promise.resolve()}; +>>>>>>> ../views/RoutesView.svelte + tableKeys.push(x.src); + tableKeys = tableKeys; + }} + /> + + + {#each tableKeys as src (src)} +<<<<<<< TargetManagement.svelte + {#await $redirectsTable[src].p} + + {:then _} + +======= + {#await $routesTable[src].p} + + {:then _} + +>>>>>>> ../views/RoutesView.svelte + {:catch err} + + {/await} + {/each} + +
SourceDestinationFlagsCodeDescriptionActiveOption
Loading...
Loading...
Error loading row for {src}: {err}
+ {:catch err} +
+
Administrator... I hardly know her?
+
{err}
+
+ {/await} +
+ + +
+ +