cmd/tailscale/cli: split out web.css file

CSS formatted with:

	npx prettier --use-tabs --write cmd/tailscale/cli/web.css

Signed-off-by: David Crawshaw <crawshaw@tailscale.com>
This commit is contained in:
David Crawshaw 2021-03-31 09:17:37 -07:00
parent 7f03c0f8fe
commit ea714c6054
3 changed files with 1347 additions and 1340 deletions

1337
cmd/tailscale/cli/web.css Normal file

File diff suppressed because it is too large Load Diff

View File

@ -30,7 +30,15 @@ import (
//go:embed web.html
var webHTML string
var tmpl = template.Must(template.New("html").Parse(webHTML))
//go:embed web.css
var webCSS string
var tmpl *template.Template
func init() {
tmpl = template.Must(template.New("web.html").Parse(webHTML))
template.Must(tmpl.New("web.css").Parse(webCSS))
}
type tmplData struct {
Profile tailcfg.UserProfile

File diff suppressed because it is too large Load Diff