Port the web to bootstrap5

So it is responsive in phones.
This commit is contained in:
Las Zenow 2017-06-08 00:44:35 +00:00
parent 8af2ad3758
commit 6a3da59c75
40 changed files with 1131 additions and 849 deletions

View file

@ -23,6 +23,7 @@ var tmpl_funcs = map[string]interface{}{
"strings_join": stringsJoin,
"download_url": downloadUrl,
"size2mb": size2mb,
"mul": mul,
}
type Status struct {
@ -114,6 +115,10 @@ func size2mb(size int) float32 {
return float32(size) / (1024.0 * 1024.0)
}
func mul(a, b int) int {
return a * b
}
type DevTemplateExecutor struct {
assetsPath string
tpe string