client/web: extract web client from cli package

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>
This commit is contained in:
Will Norris
2023-08-08 16:58:45 -07:00
committed by Will Norris
parent 69f1324c9e
commit f9066ac1f4
8 changed files with 521 additions and 488 deletions

1380
client/web/web.css Normal file

File diff suppressed because it is too large Load Diff