remove search bar until properly implemented
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
package routes
|
package routes
|
||||||
|
|
||||||
import "github.com/LazyBachelor/LazyPM/pkg/web/components"
|
import "github.com/LazyBachelor/LazyPM/pkg/web/components"
|
||||||
import "github.com/LazyBachelor/LazyPM/pkg/web/components/base"
|
|
||||||
|
|
||||||
var baseLayout = components.LayoutProps{
|
var baseLayout = components.LayoutProps{
|
||||||
Title: "Beads Test Application",
|
Title: "Beads Test Application",
|
||||||
@@ -18,7 +17,7 @@ var baseLayout = components.LayoutProps{
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
Routes: []components.NavRoutes{
|
Routes: []components.NavRoutes{
|
||||||
{Name: "Dashboard", Path: "/", Icon: components.IconDashboard()},
|
{Name: "Dashboard", Path: "/", Icon: components.IconDashboard()},
|
||||||
{Name: "Issues", Path: "/", Icon: components.IconIssues()},
|
{Name: "Issues", Path: "/", Icon: components.IconIssues()},
|
||||||
{Name: "Agile Board", Path: "/board", Icon: components.IconAgileBoard()},
|
{Name: "Agile Board", Path: "/board", Icon: components.IconAgileBoard()},
|
||||||
@@ -26,9 +25,10 @@ var baseLayout = components.LayoutProps{
|
|||||||
{Name: "Reports", Path: "/reports", Icon: components.IconReports()},
|
{Name: "Reports", Path: "/reports", Icon: components.IconReports()},
|
||||||
{Name: "Settings", Path: "/settings", Icon: components.IconSettings()},
|
{Name: "Settings", Path: "/settings", Icon: components.IconSettings()},
|
||||||
},
|
},
|
||||||
|
|
||||||
Header: components.HeaderProps{
|
Header: components.HeaderProps{
|
||||||
Title: "LazyPM Dashboard",
|
Title: "LazyPM Dashboard",
|
||||||
|
/* Removed until properly implemented
|
||||||
NavbarCenter: base.Input(base.InputProps{
|
NavbarCenter: base.Input(base.InputProps{
|
||||||
Name: "search-issue",
|
Name: "search-issue",
|
||||||
Type: "search",
|
Type: "search",
|
||||||
@@ -37,7 +37,7 @@ var baseLayout = components.LayoutProps{
|
|||||||
Attrs: templ.Attributes{
|
Attrs: templ.Attributes{
|
||||||
"class": "text-base-content",
|
"class": "text-base-content",
|
||||||
},
|
},
|
||||||
}),
|
}),*/
|
||||||
NavbarEnd: components.Status(),
|
NavbarEnd: components.Status(),
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,7 +9,6 @@ import "github.com/a-h/templ"
|
|||||||
import templruntime "github.com/a-h/templ/runtime"
|
import templruntime "github.com/a-h/templ/runtime"
|
||||||
|
|
||||||
import "github.com/LazyBachelor/LazyPM/pkg/web/components"
|
import "github.com/LazyBachelor/LazyPM/pkg/web/components"
|
||||||
import "github.com/LazyBachelor/LazyPM/pkg/web/components/base"
|
|
||||||
|
|
||||||
var baseLayout = components.LayoutProps{
|
var baseLayout = components.LayoutProps{
|
||||||
Title: "Beads Test Application",
|
Title: "Beads Test Application",
|
||||||
@@ -37,6 +36,7 @@ var baseLayout = components.LayoutProps{
|
|||||||
|
|
||||||
Header: components.HeaderProps{
|
Header: components.HeaderProps{
|
||||||
Title: "LazyPM Dashboard",
|
Title: "LazyPM Dashboard",
|
||||||
|
/* Removed until properly implemented
|
||||||
NavbarCenter: base.Input(base.InputProps{
|
NavbarCenter: base.Input(base.InputProps{
|
||||||
Name: "search-issue",
|
Name: "search-issue",
|
||||||
Type: "search",
|
Type: "search",
|
||||||
@@ -45,7 +45,7 @@ var baseLayout = components.LayoutProps{
|
|||||||
Attrs: templ.Attributes{
|
Attrs: templ.Attributes{
|
||||||
"class": "text-base-content",
|
"class": "text-base-content",
|
||||||
},
|
},
|
||||||
}),
|
}),*/
|
||||||
NavbarEnd: components.Status(),
|
NavbarEnd: components.Status(),
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user