feat: proper space overview page
All checks were successful
Deploy / build-and-deploy (push) Successful in 2m21s
All checks were successful
Deploy / build-and-deploy (push) Successful in 2m21s
This commit is contained in:
parent
03217ac69f
commit
f012766ec7
4 changed files with 459 additions and 5 deletions
|
|
@ -44,6 +44,16 @@ templ Space(title string, space *model.Space) {
|
|||
@sidebar.MenuButton(sidebar.MenuButtonProps{
|
||||
Href: "/app/spaces/" + space.ID,
|
||||
IsActive: ctxkeys.URLPath(ctx) == "/app/spaces/"+space.ID,
|
||||
Tooltip: "Overview",
|
||||
}) {
|
||||
@icon.House(icon.Props{Class: "size-4"})
|
||||
<span>Overview</span>
|
||||
}
|
||||
}
|
||||
@sidebar.MenuItem() {
|
||||
@sidebar.MenuButton(sidebar.MenuButtonProps{
|
||||
Href: "/app/spaces/" + space.ID + "/reports",
|
||||
IsActive: ctxkeys.URLPath(ctx) == "/app/spaces/"+space.ID+"/reports",
|
||||
Tooltip: "Reports",
|
||||
}) {
|
||||
@icon.ChartPie(icon.Props{Class: "size-4"})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue