31 lines
538 B
Plaintext
Raw Normal View History

2017-06-18 15:44:18 +00:00
component Admin(user *arn.User, types []string)
h2.page-title Admin Panel
h3 Server
2017-06-18 15:16:40 +00:00
table
2017-06-18 15:44:18 +00:00
//- thead
//- tr
//- th Metric
//- th Value
tbody
tr
td CPU count:
td= runtime.NumCPU()
tr
td Goroutines:
td= runtime.NumGoroutine()
tr
td Go version:
td= runtime.Version()
h3 Types
table
//- thead
//- tr
//- th Table
tbody
each typeName in types
tr
td= typeName
td
a(href="/api/" + strings.ToLower(typeName) + "/")= "/api/" + strings.ToLower(typeName) + "/"