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>
pull/1622/head
David Crawshaw 3 years ago
parent 7f03c0f8fe
commit ea714c6054

File diff suppressed because it is too large Load Diff

@ -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
Loading…
Cancel
Save