mirror of
https://github.com/tailscale/tailscale.git
synced 2026-09-19 18:18:24 -04:00
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:
1 parent
7f03c0f8fe
commit
ea714c6054
3 files changed
+1347
-1340
No files matched your search
File diff suppressed because it is too large.
Load diff
@@ -30,7 +30,15 @@
|
||||
//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
|
||||
|
||||
+1
-1339
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user