mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-12-27 05:49:04 +01:00
Add header navbar to static pages
This commit is contained in:
parent
e017954187
commit
2d9070ec02
@ -1,5 +1,15 @@
|
|||||||
{{define "navigation"}}
|
{{define "navigation"}}
|
||||||
{{""}}
|
<header>
|
||||||
|
<nav class="navbar navbar-expand-lg navbar-light fixed-top bg-light">
|
||||||
|
<div class="container-fluid">
|
||||||
|
<a class="navbar-brand" href="/">
|
||||||
|
{{block "brand" .}}
|
||||||
|
<img style="height: 30px;" alt="ClusterCockpit Logo" src="/img/logo.png" class="d-inline-block align-top">
|
||||||
|
{{end}}
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
||||||
{{define "content"}}
|
{{define "content"}}
|
||||||
|
@ -1,5 +1,15 @@
|
|||||||
{{define "navigation"}}
|
{{define "navigation"}}
|
||||||
{{""}}
|
<header>
|
||||||
|
<nav class="navbar navbar-expand-lg navbar-light fixed-top bg-light">
|
||||||
|
<div class="container-fluid">
|
||||||
|
<a class="navbar-brand" href="/">
|
||||||
|
{{block "brand" .}}
|
||||||
|
<img style="height: 30px;" alt="ClusterCockpit Logo" src="/img/logo.png" class="d-inline-block align-top">
|
||||||
|
{{end}}
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
||||||
{{define "content"}}
|
{{define "content"}}
|
||||||
|
@ -1,5 +1,15 @@
|
|||||||
{{define "navigation"}}
|
{{define "navigation"}}
|
||||||
{{""}}
|
<header>
|
||||||
|
<nav class="navbar navbar-expand-lg navbar-light fixed-top bg-light">
|
||||||
|
<div class="container-fluid">
|
||||||
|
<a class="navbar-brand" href="/">
|
||||||
|
{{block "brand" .}}
|
||||||
|
<img style="height: 30px;" alt="ClusterCockpit Logo" src="/img/logo.png" class="d-inline-block align-top">
|
||||||
|
{{end}}
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
||||||
{{define "content"}}
|
{{define "content"}}
|
||||||
|
Loading…
Reference in New Issue
Block a user