seaweedfs/weed/server/master_ui/templates.go

16 lines
323 B
Go
Raw Normal View History

2015-03-20 01:39:22 +08:00
package master_ui
import (
_ "embed"
2015-03-20 01:39:22 +08:00
"html/template"
)
//go:embed master.html
var masterHtml string
2015-03-20 01:39:22 +08:00
2022-04-07 22:37:40 +08:00
//go:embed masterNewRaft.html
var masterNewRaftHtml string
var StatusTpl = template.Must(template.New("status").Parse(masterHtml))
2022-04-07 22:37:40 +08:00
var StatusNewRaftTpl = template.Must(template.New("status").Parse(masterNewRaftHtml))