mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
New spinner for cluster connect status page (#3324)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
1 parent
77f8ea67bd
commit
ad8dc8a7c9
2 files changed
+7
-2
No files matched your search
@@ -35,6 +35,11 @@
|
||||
white-space: pre-line;
|
||||
}
|
||||
|
||||
.Spinner {
|
||||
--spinner-size: 48px;
|
||||
--spinner-border: calc(var(--spinner-size) / 10);
|
||||
}
|
||||
|
||||
.Icon {
|
||||
--size: 70px;
|
||||
margin: auto;
|
||||
|
||||
@@ -32,7 +32,7 @@ import type { Cluster } from "../../../main/cluster";
|
||||
import { cssNames, IClassName } from "../../utils";
|
||||
import { Button } from "../button";
|
||||
import { Icon } from "../icon";
|
||||
import { CubeSpinner } from "../spinner";
|
||||
import { Spinner } from "../spinner";
|
||||
import type { KubeAuthProxyLog } from "../../../main/kube-auth-proxy";
|
||||
import { navigate } from "../../navigation";
|
||||
import { entitySettingsURL } from "../../../common/routes";
|
||||
@@ -100,7 +100,7 @@ export class ClusterStatus extends React.Component<Props> {
|
||||
if (!hasErrors || this.isReconnecting) {
|
||||
return (
|
||||
<>
|
||||
<CubeSpinner />
|
||||
<Spinner singleColor={false} />
|
||||
<pre className="kube-auth-out">
|
||||
<p>{this.isReconnecting ? "Reconnecting..." : "Connecting..."}</p>
|
||||
{authOutput.map(({ data, error }, index) => {
|
||||
|
||||
Reference in new issue
Block a user