feat(webui): bootstrap a proper UI
This commit is contained in:
parent
09885ef1e4
commit
4e029fb83a
11 changed files with 127 additions and 75 deletions
|
@ -5,6 +5,11 @@ import (
|
|||
"net/http"
|
||||
)
|
||||
|
||||
type Page struct {
|
||||
Section string
|
||||
Title string
|
||||
}
|
||||
|
||||
func handleIndexGET() http.Handler {
|
||||
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
||||
if r.URL.Path == "/" {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue