Matthew Stobbs
223496075a
- Starting on main manager page - Manager layout will be included in the manager page - Manager page will use htmx to load different components via api
24 lines
492 B
Plaintext
24 lines
492 B
Plaintext
package layouts
|
|
|
|
import "git.staur.ca/stobbsm/clustvirt/view/components"
|
|
|
|
templ Manager(title string, subtitle string, navBarItem []components.NavItem) {
|
|
<!DOCTYPE html>
|
|
<html class={ "text-slate-50", "bg-slate-900" }>
|
|
<head>
|
|
<title>ClustVirt</title>
|
|
<link href="/static/css/style.css" type="text/css" rel="stylesheet" />
|
|
</head>
|
|
|
|
<body>
|
|
<header class={"mx-4"}>
|
|
@header(title, subtitle, navBarItem)
|
|
</header>
|
|
|
|
<footer class={"mx-4"}>
|
|
@footer()
|
|
</footer>
|
|
</body>
|
|
</html>
|
|
}
|