feat: logout route and button
This commit is contained in:
@@ -207,15 +207,15 @@ func roomPageRoute(
|
||||
for gesture := rooms.ChangeTopic; gesture <= rooms.Meta; gesture++ {
|
||||
gesturesData = append(gesturesData, GestureData{
|
||||
Name: gesture.String(),
|
||||
Url: fmt.Sprintf("%s%d", raiseHandPath, gesture),
|
||||
Url: fmt.Sprintf("%s%d", raiseHandPath, gesture),
|
||||
})
|
||||
}
|
||||
|
||||
contentData := struct {
|
||||
Room rooms.Room
|
||||
Room rooms.Room
|
||||
Gestures []GestureData
|
||||
}{
|
||||
Room: room,
|
||||
Room: room,
|
||||
Gestures: gesturesData,
|
||||
}
|
||||
data := pageData{
|
||||
@@ -223,6 +223,9 @@ func roomPageRoute(
|
||||
Title: "room-lala-from-base",
|
||||
},
|
||||
Content: contentData,
|
||||
Header: headerData{
|
||||
Title: room.Name,
|
||||
},
|
||||
}
|
||||
|
||||
err = tmpl.ExecuteTemplate(w, "full-page", data)
|
||||
|
||||
Reference in New Issue
Block a user