From b16ad7635e77b965f19bca3bb5eba4a3335cd44a Mon Sep 17 00:00:00 2001 From: Simon Murray Date: Mon, 4 Mar 2024 13:43:54 +0000 Subject: [PATCH] Remove Legacy Stuff --- src/lib/Alert.svelte | 24 - src/lib/ApplicationView.svelte | 112 --- src/lib/Button.svelte | 44 - src/lib/CheckBoxField.svelte | 33 - src/lib/ClusterCreateModal.svelte | 914 ------------------ src/lib/ClusterDeleteModal.svelte | 84 -- src/lib/ClusterUpdateModal.svelte | 874 ----------------- src/lib/ClusterView.svelte | 375 ------- src/lib/ControlPlaneCreateModal.svelte | 281 ------ src/lib/ControlPlaneDeleteModal.svelte | 82 -- src/lib/ControlPlaneUpdateModal.svelte | 266 ----- src/lib/ControlPlaneView.svelte | 217 ----- src/lib/Details.svelte | 55 -- src/lib/Errors.svelte | 66 -- src/lib/Hint.svelte | 18 - src/lib/IconSelectField.svelte | 64 -- src/lib/Item.svelte | 30 - src/lib/ItemDetail.svelte | 13 - src/lib/ItemHeader.svelte | 32 - src/lib/ItemView.svelte | 66 -- src/lib/LabeledInput.svelte | 30 - src/lib/Menu.svelte | 70 -- src/lib/Modal.svelte | 65 -- src/lib/ModalHeader.svelte | 22 - src/lib/ModalLoader.svelte | 24 - src/lib/PasswordField.svelte | 40 - src/lib/Ribbon.svelte | 18 - src/lib/SelectField.svelte | 36 - src/lib/SliderField.svelte | 45 - src/lib/TextField.svelte | 40 - src/lib/TimeWindowField.svelte | 52 - src/lib/Version.svelte | 24 - src/lib/View.svelte | 14 - src/lib/WorkloadPoolUpdate.svelte | 242 ----- src/lib/clickout.js | 15 - src/lib/errors.js | 25 - src/lib/layouts/ShellPage.svelte | 2 +- src/lib/localStorage.js | 35 - src/lib/menu.js | 32 - src/lib/shell/ShellAppBar.svelte | 3 +- src/lib/shell/ShellSideBar.svelte | 2 +- src/lib/time.js | 40 - src/routes/+layout.svelte | 1 - src/routes/+page.svelte | 660 +------------ src/routes/applications/catalog/+page.svelte | 4 +- src/routes/identity/groups/+page.svelte | 2 +- src/routes/identity/organization/+page.svelte | 2 +- src/routes/identity/projects/+page.svelte | 5 +- .../identity/projects/create/+page.svelte | 2 +- .../infrastructure/clusters/+page.svelte | 5 +- .../clusters/create/+page.svelte | 2 +- .../infrastructure/controlplanes/+page.svelte | 5 +- 52 files changed, 20 insertions(+), 5194 deletions(-) delete mode 100644 src/lib/Alert.svelte delete mode 100644 src/lib/ApplicationView.svelte delete mode 100644 src/lib/Button.svelte delete mode 100644 src/lib/CheckBoxField.svelte delete mode 100644 src/lib/ClusterCreateModal.svelte delete mode 100644 src/lib/ClusterDeleteModal.svelte delete mode 100644 src/lib/ClusterUpdateModal.svelte delete mode 100644 src/lib/ClusterView.svelte delete mode 100644 src/lib/ControlPlaneCreateModal.svelte delete mode 100644 src/lib/ControlPlaneDeleteModal.svelte delete mode 100644 src/lib/ControlPlaneUpdateModal.svelte delete mode 100644 src/lib/ControlPlaneView.svelte delete mode 100644 src/lib/Details.svelte delete mode 100644 src/lib/Errors.svelte delete mode 100644 src/lib/Hint.svelte delete mode 100644 src/lib/IconSelectField.svelte delete mode 100644 src/lib/Item.svelte delete mode 100644 src/lib/ItemDetail.svelte delete mode 100644 src/lib/ItemHeader.svelte delete mode 100644 src/lib/ItemView.svelte delete mode 100644 src/lib/LabeledInput.svelte delete mode 100644 src/lib/Menu.svelte delete mode 100644 src/lib/Modal.svelte delete mode 100644 src/lib/ModalHeader.svelte delete mode 100644 src/lib/ModalLoader.svelte delete mode 100644 src/lib/PasswordField.svelte delete mode 100644 src/lib/Ribbon.svelte delete mode 100644 src/lib/SelectField.svelte delete mode 100644 src/lib/SliderField.svelte delete mode 100644 src/lib/TextField.svelte delete mode 100644 src/lib/TimeWindowField.svelte delete mode 100644 src/lib/Version.svelte delete mode 100644 src/lib/View.svelte delete mode 100644 src/lib/WorkloadPoolUpdate.svelte delete mode 100644 src/lib/clickout.js delete mode 100644 src/lib/errors.js delete mode 100644 src/lib/localStorage.js delete mode 100644 src/lib/menu.js delete mode 100644 src/lib/time.js diff --git a/src/lib/Alert.svelte b/src/lib/Alert.svelte deleted file mode 100644 index cbbf11f..0000000 --- a/src/lib/Alert.svelte +++ /dev/null @@ -1,24 +0,0 @@ - - -
- - {content} -
- - diff --git a/src/lib/ApplicationView.svelte b/src/lib/ApplicationView.svelte deleted file mode 100644 index 60bdc5d..0000000 --- a/src/lib/ApplicationView.svelte +++ /dev/null @@ -1,112 +0,0 @@ - - - -

Applications

-

Deploy applications on exiting or dynamically provisioned clusters.

- - Select an application for more details. - - - -
{item.humanReadableName}
-
- - -
- {@html atob(item.icon)} -
-
- - -
-
Description
-
{item.description}
-
Documentation
-
{item.documentation}
-
License
-
{item.license}
-
Tags
-
{item.tags.join(', ')}
-
Versions
-
- {#each item.versions as version} -
-
- {#if version.dependencies} -
Dependencies
-
{version.dependencies.map((x) => x.name).join(', ')}
- {/if} - {#if version.recommends} -
Recommends
-
{version.recommends.map((x) => x.name).join(', ')}
- {/if} -
-
- {/each} -
-
-
-
-
- - diff --git a/src/lib/Button.svelte b/src/lib/Button.svelte deleted file mode 100644 index 2a7053d..0000000 --- a/src/lib/Button.svelte +++ /dev/null @@ -1,44 +0,0 @@ - - - - - diff --git a/src/lib/CheckBoxField.svelte b/src/lib/CheckBoxField.svelte deleted file mode 100644 index 696d010..0000000 --- a/src/lib/CheckBoxField.svelte +++ /dev/null @@ -1,33 +0,0 @@ - - - -
- - {label} -
-
- - diff --git a/src/lib/ClusterCreateModal.svelte b/src/lib/ClusterCreateModal.svelte deleted file mode 100644 index eb9fa47..0000000 --- a/src/lib/ClusterCreateModal.svelte +++ /dev/null @@ -1,914 +0,0 @@ - - - - {#if loaded} - - -
- validateName(x, clusters)} - invalidtext={nameValidMessage} - bind:value={name} - bind:valid={nameValid} - /> - - - - - - {#if advanced} -
-

- The platform will automatically upgrade clusters to provide confidence in security, and - periodically enable new features. This section describes those defaults and, where - applicable, allows you to fine tune those settings. -

- - - - - - {#if autoUpgrade} -
- - - {#if autoUpgradeDaysOfWeek} - {#each Object.keys(daysOfTheWeekWindows) as day} - - {/each} - {/if} -
- {/if} -
- -
-

- Cluster topology defines top-level scheduling/placement, and allows you to explicitly - define availability zones in which to provision infrastructure for high-availability. -

-

By default the platform will schedule across any availabilty zone.

- - -
- -
-

- Network settings are optional, and if not specified will yield stable and scalable - defaults. -

-

- It is possible to connect Kubernetes clusters together with virtual private networks - (VPNs). While this is discouraged, you must ensure that network CIDRs are globally - unique and do not overlap. -

- - - - - - - - - - - - - - -
- {/if} - -
-

- Add-on features allow the management of typical Kubernetes componenents that are not - included by default, but are considered standard. -

-

- They are not enabled by default to improve baseline security and resource utilisation. -

- - - - - - - - - - -
- - {#if advanced} -

Control Plane

- - - - - -
-

Number of virtual machines.

- - - - - {#if controlPlanePersistentStorage} - `${x}GiB`} - bind:value={disk} - /> - {/if} -
- {/if} - -

Workload Pools

- - {#if !hasWorkloadPools} -

At least one workload pool is required.

- {/if} - - {#each workloadPools as pool, index} -
- -
- {/each} - -