mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-26 03:25:35 +00:00
f9066ac1f4
move the tailscale web client out of the cmd/tailscale/cli package, into a new client/web package. The remaining cli/web.go file is still responsible for parsing CLI flags and such, and then calls into client/web. This will allow the web client to be hooked into from other contexts (for example, from a tsnet server), and provide a dedicated space to add more functionality to this client. Updates tailscale/corp#13775 Signed-off-by: Will Norris <will@tailscale.com>
57 lines
1.2 KiB
HTML
57 lines
1.2 KiB
HTML
<html>
|
|
<head>
|
|
<title>Redirecting...</title>
|
|
<style>
|
|
html,
|
|
body {
|
|
height: 100%;
|
|
}
|
|
|
|
html {
|
|
background-color: rgb(249, 247, 246);
|
|
font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
|
line-height: 1.5;
|
|
-webkit-text-size-adjust: 100%;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|
|
|
|
body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.spinner {
|
|
margin-bottom: 2rem;
|
|
border: 4px rgba(112, 110, 109, 0.5) solid;
|
|
border-left-color: transparent;
|
|
border-radius: 9999px;
|
|
width: 4rem;
|
|
height: 4rem;
|
|
-webkit-animation: spin 700ms linear infinite;
|
|
animation: spin 800ms linear infinite;
|
|
}
|
|
|
|
.label {
|
|
color: rgb(112, 110, 109);
|
|
padding-left: 0.4rem;
|
|
}
|
|
|
|
@-webkit-keyframes spin {
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
@keyframes spin {
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
</style>
|
|
</head> <body>
|
|
<div class="spinner"></div>
|
|
<div class="label">Redirecting...</div>
|
|
</body> |