client/web: copy existing UI to basic react components

This copies the existing go template frontend into very crude react
components that will be driven by a simple JSON api for fetching and
updating data.  For now, this returns a static set of test data.

This just implements the simple existing UI, so I've put these all in a
"legacy" component, with the expectation that we will rebuild this with
more properly defined components, some pulled from corp.

Updates tailscale/corp#13775

Signed-off-by: Will Norris <will@tailscale.com>
This commit is contained in:
Will Norris
2023-08-15 08:24:32 -07:00
committed by Will Norris
parent ddba4824c4
commit 9c4364e0b7
6 changed files with 488 additions and 2 deletions

1
.gitignore vendored
View File

@@ -38,6 +38,7 @@ cmd/tailscaled/tailscaled
# Ignore web client node modules
.vite/
client/web/node_modules
client/web/build
/gocross
/dist