diff --git a/cmd/tailscale/cli/web.html b/cmd/tailscale/cli/web.html index 39375758d..2789d1e68 100644 --- a/cmd/tailscale/cli/web.html +++ b/cmd/tailscale/cli/web.html @@ -11,140 +11,133 @@ -
-
- - - - - - - - - - - -
- {{ with .Profile.LoginName }} -
-

{{.}}

- Switch account -
- {{ end }} -
- {{ with .Profile.ProfilePicURL }} -
- {{ else }} -
- {{ end }} -
+
+
+ + + + + + + + + + + +
+ {{ with .Profile.LoginName }} +
+

{{.}}

+ Switch account
-
- {{ if .IP }} -
-
- - - - - - -

{{.DeviceName}}

+ {{ end }} +
+ {{ with .Profile.ProfilePicURL }} +
+ {{ else }} +
+ {{ end }}
-
{{.IP}}
-
- {{ end }} - {{ if or (eq .Status "NeedsLogin") (eq .Status "NoState") }} - {{ if .IP }} -
-

Your device's key has expired. Reauthenticate this device by logging in again, or learn more.

- - - - {{ else }} -
-

Log in

-

Get started by logging in to your Tailscale network. Or, learn more at tailscale.com.

-
- - - - {{ end }} - {{ else if eq .Status "NeedsMachineAuth" }} -
- This device is authorized, but needs approval from a network admin before it can connect to the network. -
- {{ else }} -
-

You are connected! Access this device over Tailscale using the device name or IP address above.

+
+ {{ if .IP }} +
+
+ + + + + + +

{{.DeviceName}}

- Reauthenticate - {{ end }} -
- +Array.from(loginButtons).forEach(el => { + el.addEventListener("click", handleClick); +}) +})();