seaweedfs/weed/server/master_ui/templates.go
Konstantin Lebedev a2fdb3e277 fix master ui
2022-04-07 19:37:40 +05:00

16 lines
323 B
Go

package master_ui
import (
_ "embed"
"html/template"
)
//go:embed master.html
var masterHtml string
//go:embed masterNewRaft.html
var masterNewRaftHtml string
var StatusTpl = template.Must(template.New("status").Parse(masterHtml))
var StatusNewRaftTpl = template.Must(template.New("status").Parse(masterNewRaftHtml))