From d3c94ce841b972eeab4e9764a05166acb6c44f8b Mon Sep 17 00:00:00 2001 From: miaawong Date: Tue, 8 Oct 2024 11:38:27 -0400 Subject: [PATCH] copy changes, styling updates, feedback improvements --- kurl_proxy/assets/images/down_arrow.svg | 3 + kurl_proxy/assets/images/up_arrow.svg | 3 + kurl_proxy/assets/insecure.html | 78 ++++---- kurl_proxy/assets/output.css | 176 ++++++++++-------- kurl_proxy/assets/tls-custom.css | 9 +- kurl_proxy/assets/tls.html | 37 ++-- kurl_proxy/assets/welcome.html | 16 +- kurl_proxy/cmd/main.go | 9 +- web/src/Root.tsx | 152 ++++++++------- web/src/components/PreflightResultPage.tsx | 18 +- .../apps/EmbeddedClusterManagement.tsx | 10 +- .../upgrade_service/PreflightChecks.tsx | 2 +- .../AppConfig/components/AppConfig.tsx | 44 +++-- .../Auth/components/SecureAdminConsole.tsx | 2 +- 14 files changed, 307 insertions(+), 252 deletions(-) create mode 100644 kurl_proxy/assets/images/down_arrow.svg create mode 100644 kurl_proxy/assets/images/up_arrow.svg diff --git a/kurl_proxy/assets/images/down_arrow.svg b/kurl_proxy/assets/images/down_arrow.svg new file mode 100644 index 0000000000..ca6a25da80 --- /dev/null +++ b/kurl_proxy/assets/images/down_arrow.svg @@ -0,0 +1,3 @@ + + + diff --git a/kurl_proxy/assets/images/up_arrow.svg b/kurl_proxy/assets/images/up_arrow.svg new file mode 100644 index 0000000000..963d69edde --- /dev/null +++ b/kurl_proxy/assets/images/up_arrow.svg @@ -0,0 +1,3 @@ + + + diff --git a/kurl_proxy/assets/insecure.html b/kurl_proxy/assets/insecure.html index 3c94a671ad..c3b2088ac7 100644 --- a/kurl_proxy/assets/insecure.html +++ b/kurl_proxy/assets/insecure.html @@ -49,9 +49,7 @@ .replace(/\/$/, ""); var httpsLink = "https:" + rawLink; var opensslLink = rawLink.substring(2).replace("/insecure", ""); - console.log(opensslLink, "hello"); var tlsManagementLink = "/tls"; - console.log(tlsManagementLink, "link"); @@ -71,7 +69,7 @@
- {{if .IsEmbeddedCluster}} + {{if .IsEmbeddedCluster }}
@@ -103,7 +101,7 @@ > check - Validate the environment & Install {{.AppTitle}} + Validate the environment & install {{.AppTitle}}
@@ -113,7 +111,6 @@
-

Bypass browser TLS warning

We use a self-signed SSL/TLS Certificate to secure the communication between your local machine and the Admin Console @@ -124,7 +121,12 @@

-

+

+ +

+

@@ -132,7 +134,7 @@

-
-

- Click here to verify the - certificate's authenticity (optional) +