Add header navbar to static pages

This commit is contained in:
Jan Eitzinger 2022-03-02 08:37:30 +01:00
parent e017954187
commit 2d9070ec02
3 changed files with 33 additions and 3 deletions

View File

@ -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"}}

View File

@ -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"}}

View File

@ -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"}}