- {{ with .Profile.LoginName }}
-
+
+
+
-
+{{.}}
- Switch account -
+ {{ with .Profile.LoginName }}
+
+
+ {{ end }}
+ {{.}}
+ Switch account +
+ {{ with .Profile.ProfilePicURL }}
+
+ {{ else }}
+
{{ end }}
-
-
- {{ if .IP }}
-
- {{ with .Profile.ProfilePicURL }}
-
- {{ else }}
-
- {{ end }}
-
-
- {{ end }}
- {{ if or (eq .Status "NeedsLogin") (eq .Status "NoState") }}
- {{ if .IP }}
-
-
-
- {{.DeviceName}}
-{{.IP}}
-
Your device's key has expired. Reauthenticate this device by logging in again, or learn more.
+ + {{ if .IP }} +
+
+
+
-
-
-
- {{ else }}
- {{.DeviceName}}
-
-
-
-
- {{ end }}
- {{ else if eq .Status "NeedsMachineAuth" }}
- Log in
-Get started by logging in to your Tailscale network. Or, learn more at tailscale.com.
-
- This device is authorized, but needs approval from a network admin before it can connect to the network.
-
- {{ else }}
-
-
- Reauthenticate
- {{ end }}
-
-
+Array.from(loginButtons).forEach(el => {
+ el.addEventListener("click", handleClick);
+})
+})();
You are connected! Access this device over Tailscale using the device name or IP address above.
-